"Joris Huizer" <[EMAIL PROTECTED]> writes: > Sorry - because lynx couldn't log in on yahoo.com I > have to reboot in windows to read mail which is why I > didn't add it before. > > > I've got the nvidia-kernel-src and nvidia-glx-src both > in /usr/src. > I've used the following commands (as suggested by > Ochronus somt time ago) > > cd /usr/src/ > tar xvfz nvidia-kernel-src.tar.gz > > export KSRC=/usr/src/ > - or - > export KSRC=kernel-headers-2.4.18-k7/ > > export KVERS=2.4.18 > cd modules/nvidia-kernel-1.0.3123 > debian/rules binary_modules > > Because the kernel is pre-compiled this gives problems > (cc mismatch) - therefor I edited the Makefile in the > NVIDIAxxxx subdir, so it won't stop right away. Then > when I call the 'make' prog I get this error output: > > cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat > -Wchar-subscripts -Wparentheses -Wpointer-arith > -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ > -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE > -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ > -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 > -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX > -DNVCPU_X86 -I. -I/usr/src/linux/include > -Wno-cast-qual nv.c > In file included from nv.c:14: > nv-linux.h:24: linux/modversions.h: No such file or > directory > make: *** [nv.o] Error 1 > > How do I get around this ??
Do you have kernel-headers-2.4.18-k7 installed? I've never built the nVidia stuff for use with a precompiled kernel. I've only done it as part of compiling my own kernel. At a minimum, I'm guessing, you need to install the kernel-headers package that corresponds to your running kernel in order to compile the nVidia drivers. Gary -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]