I've downloaded the latest NVIDIA source rpms, I successfully built the GLX 
rpm, but when I try to build the NVIDIA kernel rpm, I get an error (see the 
full message below); it seems that is looking for some linux/autoconf.h that 
it didn't find. Of course the file I downloaded is OK (same checksum as 
advertised).

Anybody got any idea?


+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
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 -D_LOOSE_KERNEL_NAMES 
-D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 
-DNV_PATCHLEVEL=4191  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       
-I. -I/lib/modules/2.4.19-16mdk/build/include -Wno-cast-qual nv.c
In file included from nv-linux.h:17,
                 from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/linux/config.h:4:28: linux/autoconf.h: 
No such file or directory
In file included from 
/lib/modules/2.4.19-16mdk/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.19-16mdk/build/include/linux/list.h:6,
                 from 
/lib/modules/2.4.19-16mdk/build/include/linux/module.h:12,
                 from nv-linux.h:28,
                 from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/asm/processor.h:56: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/asm/processor.h:56: requested 
alignment is not a constant
In file included from /lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:6,
                 from 
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:45,
                 from nv-linux.h:71,
                 from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/linux/irq.h:65: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/linux/irq.h:65: requested alignment is 
not a constant
In file included from 
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:45,
                 from nv-linux.h:71,
                 from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:16: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:16: requested alignment 
is not a constant
In file included from nv-linux.h:71,
                 from nv.c:14:
/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
make: *** [nv.o] Error 1



-- 
Toshiro

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to