View Single Post
Old 09-01-02, 11:53 AM   #1
Marius
Guest
 
Posts: n/a
Question NV kernel compiling problem

Hi,
I'm running Linux 2.4.18, gcc 2.95.3 20010315 and tried to compile NVIDIA_kernel-1.0-2960 from source.
These are the last lines of the make output:

/lib/modules/2.4.18/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.18/build/include/linux/irq.h:65: requested alignment is not a constant
In file included from /lib/modules/2.4.18/build/include/linux/interrupt.h:45,
from nv.c:42:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not
in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv.c:42:
/lib/modules/2.4.18/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.18/build/include/linux/interrupt.h:128: requested alignment is
not a constant
make: *** [nv.o] Error 1

I've searched the web, but couldn't find anyone referring to this error message, I also tried invoking make with SYSINCLUDE=/usr/src/linux, same result.
What do I do wrong here?
Thanks in advance
Marius
  Reply With Quote