PDA

View Full Version : problems and more problems mdk9 and NVdrivers


Ffelagund
11-23-02, 03:39 PM
Hello i want in install the nvidia drivers for my mdk9, and for my geforce4 mx440, but i have problems, none of them posted in this forum.
I tried to install though rpm and tar files, and i have that error when i do the "make install":

(I only post the end of the compile action of NVIDIA_kernel-1.0-3123)

/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:128: requested alignment is not a constant
In file included from nv.c:14:
nv-linux.h:111:28: linux/autoconf.h: No such file or directory
make: *** [nv.o] Error 1



Can someboy tell me what happens??
thanks

Andy Mecham
11-24-02, 12:09 AM
Do you have your (configured) kernel sources installed?

--andy

Ffelagund
11-24-02, 03:21 AM
I have the kernel sources installed, but the sources need to be configurated?
thanks

Andy Mecham
11-24-02, 05:26 PM
If 'rpm -qa | grep kernel-source' doesn't return something similar to "kernel-source-2.4.19-16", then you don't have the appropriate kernel sources installed. The fact that autoconf.h can't be found leads me to believe that they're not there, or your symlinks in /usr/src are pointing to the wrong place.

To properly rebuild the driver, you must have your kernel sources configured to exactly match your running kernel. Because you're running a distro kernel, the corresponding kernel-source package should be configured to match it (ie: you shouldn't have to do anything), unless you've changed it without recompiling.

--andy