View Single Post
Old 12-29-03, 10:43 PM   #1
Registered User
Join Date: Dec 2003
Posts: 4
Default Error compiling latest nvidia drivers


I am getting en error compiling the latest nvidia kernel drivers, the error is as follows:

-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.22-1.
echo \#define NV_COMPILER \"`gcc32 -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc32 -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -
b/modules/2.4.22-1.2135.nptl/build/include -Wno-cast-qual -Wno-error nv.c
In file included from /lib/modules/2.4.22-1.2135.nptl/build/include/linux/vm
from nv-linux.h:72,
from nv.c:14:
/lib/modules/2.4.22-1.2135.nptl/build/include/linux/highmem.h: In function `
/lib/modules/2.4.22-1.2135.nptl/build/include/linux/highmem.h:20: warning: p
ointer of type `void *' used in arithmetic
In file included from nv.c:14:
nv-linux.h:420:2: #error "Couldn't determine number of arguments expected by
nv.c: In function `nv_kern_mmap':
nv.c:1430: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
make: *** [nv.o] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

NOTE: I am using Fedora Core 1, and I was able to successfully compile and install the drivers before. I attempted to install an old copy of glibc which hosed my system, but I used the Fedora CD to reinstall the latest glibc and fixed my /etc/ file and everything seems to be back to normal now. The only difference was that I uninstalled the nvidia kernel module, and now when I attempt a reinstall, I get this error. Please let me know if you have any idea what might be wrong, or if you need any additional information. Thanks!
XulChris is offline   Reply With Quote