In kernel 2.6.5, "make clean" has become more aggressive and now removes some files that you need to build some modules, e.g. nvidia and vmware. If you run "make clean" after you build your kernel-- and this happens by default if, for example, you build the kernel with make-kpkg kernel_image-- then your nvidia module won't compile.
Try rebuilding your kernel and avoiding "make clean" afterwards-- however that is done. I use make-kpkg kernel_image, and the workaround there is to add a line
do_clean := NO
in /etc/kernel-pkg.conf. See http://bugs.debian.org/242163.
I always just `make include/linux/version.h`
That seems to be the only file missing (to build ATI drivers).
-Roberto Sanchez
signature.asc
Description: OpenPGP digital signature