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

Re: nvidia drivers & kernel headers



1. Download and install the kernel-source package that
corresponds to the kernel version you're running. 
2. Unbzip the bzip file that appears in /usr/src
(something like kernel-source-2.4.whatever.tar.bz2). 
3. make a symbolic link to the resulting directory
called /usr/src/linux (eg ln -s
/usr/src/kernel-source-2.4.22 /usr/src/linux). 
4. copy /boot/config-<kernelversion> to
/usr/src/linux/.config 
5. do a make menuconfig or make oldconfig. 
 
This should be enough to generate the headers; if not
you might try compiling the kernel as well: 

I  did 1-4 above. At 'make menu config  the terminal
responded with 'no target specified' I tried adding
the directory with the kernel-sources to the command
without without success. Do I really have to compile
the kernel to get this video card driver installed?   

-> Kernel module compilation complete. 
ERROR: Unable to load the kernel module 'nvidia.o'. 
This is most likely 
       because the kernel module was built using the
wrong kernel header files. 
       Please make sure you have installed the kernel
header files for your 
       kernel; on Red Hat Linux systems, for example,
be sure you have the 
       'kernel-source' rpm installed.  If you know the
correct kernel header 
       files are installed, you may specify the kernel
include path with the 
       '--kernel-include-path' commandline option.
success.   
-> Kernel module compilation complete. 
ERROR: Unable to load the kernel module 'nvidia.o'. 
This is most likely 
       because the kernel module was built using the
wrong kernel header files. 
       Please make sure you have installed the kernel
header files for your 
       kernel; on Red Hat Linux systems, for example,
be sure you have the 
       'kernel-source' rpm installed.  If you know the
correct kernel header 
       files are installed, you may specify the kernel
include path with the 
       '--kernel-include-path' commandline option.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



Reply to: