View Single Post
Old 11-26-09, 06:16 AM   #1
vbtalent
Registered User
 
Join Date: Mar 2009
Posts: 6
Default Error building 185.18...

I was trying to build 185.18 and am getting an error that maybe someone could help me solve?

...
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.31-15-generic/arch/x86/incl
ude/asm/mtrr.h:167,
from /tmp/selfgz15340/NVIDIA-Linux-x86_64-185.18.14-pkg2/us
r/src/nv/nv-linux.h:142,
from /tmp/selfgz15340/NVIDIA-Linux-x86_64-185.18.14-pkg2/us
r/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.31-15-generic/arch/x86/include/asm/compat.h: In f
unction ‚compat_alloc_user_space‚:
/usr/src/linux-headers-2.6.31-15-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‚void *‚ used in arithmetic
/tmp/selfgz15340/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/os-agp.c: In
function ‚KernLoadAGPPages‚:
/tmp/selfgz15340/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/os-agp.c:296:
error: ‚agp_memory‚ has no member named ‚memory‚
make[3]: *** [/tmp/selfgz15340/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv
/os-agp.o] Error 1
make[2]: *** [_module_/tmp/selfgz15340/NVIDIA-Linux-x86_64-185.18.14-pkg2/us
r/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
vbtalent is offline   Reply With Quote