[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nvidia-kernel & 2.6.0



Hey Folks,

now that there are patches for the nvidia non-free drivers
(http://home.comcast.net/~andrex/nvidia-2.6-Debian/) I'm trying to
upgrade to 2.6.0 on my workstation.  The instructions at the above
link are quite clear and helpful, but  I'm having trouble compiling
the NVIDIA drivers nonetheless. I've apt-getted all the necessary
nvidia-related packages, applied the patches as instructed, and run 

make-kpkg clean && make-kpkg --append-to-version=-nondebian1 kernel-image 

without any evident problems (there are some minor error messages, and
I think there may be some problems with the kernel; until I get the
nvidia drivers to compile, I don't want to try it out, as X won't work
without them).

Anyway, then I run:
make-kpkg --append-to-version=-nondebian1 modules-image

and get the following response:
                                           
You appear to be compiling the NVIDIA kernel module with   
a compiler different from the one that was used to compile 
the running kernel. We are going to use the compiler that  
were used to build the kernel with the specified headers.  
(if specified in KSRC/include/linux/compile.h)
Using compiler gcc 
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
IGNORE_CC_MISMATCH=1 CC=gcc /usr/bin/make -C
/usr/src/modules/nvidia-kernel/nv
SYSINCLUDE=/usr/src/linux-2.6.0/include module
cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
directory
cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
directory
cat: /lib/modules/2.4.18-586-demudi/build/Makefile: No such file or
directory
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
make: *** /lib/modules/2.4.18-586-demudi/build: No such file or
directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown
directorynvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel failed.

2.4.18-586-demudi is my currently-running kernel.  For some reason the
nvidia sources want to access something from the running kernel!  
anyone know how to make them NOT do that?  

Anyway, thanks much for your help.  

best,

matt



Reply to: