giffordj
03-31-03, 05:22 PM
I am a Linux from Scratch user, I have been using the Nvidia drivers since 39xx. I successfully compileted the 4191 drivers. I noticed the new drivers were out and I tried to compile them the same way I did all the others, but this time it failed.
Here is the errors I receive.
/lib/modules/2.4.20/build/include/asm/rwsem.h: In function `__down_write_trylock':
/lib/modules/2.4.20/build/include/asm/rwsem.h:176: warning: implicit declaration of function `cmpxchg'
In file included from /lib/modules/2.4.20/build/include/asm/hardirq.h:6,
from /lib/modules/2.4.20/build/include/linux/interrupt.h:45,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.4.20/build/include/linux/irq.h: At top level:
/lib/modules/2.4.20/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.20/build/include/linux/irq.h:65: requested alignment is not a constant
In file included from /lib/modules/2.4.20/build/include/linux/interrupt.h:45,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.4.20/build/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.20/build/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.4.20/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.20/build/include/linux/interrupt.h:128: requested alignment is not a constant
nv.c: In function `nvos_proc_remove_all':
nv.c:624: dereferencing pointer to incomplete type
nv.c:625: dereferencing pointer to incomplete type
nv.c:626: dereferencing pointer to incomplete type
nv.c:627: warning: implicit declaration of function `remove_proc_entry'
nv.c:627: dereferencing pointer to incomplete type
nv.c:627: dereferencing pointer to incomplete type
make: *** [nv.o] Error 1
Any suggestions? I have attached a more complete log to view.
Here is the errors I receive.
/lib/modules/2.4.20/build/include/asm/rwsem.h: In function `__down_write_trylock':
/lib/modules/2.4.20/build/include/asm/rwsem.h:176: warning: implicit declaration of function `cmpxchg'
In file included from /lib/modules/2.4.20/build/include/asm/hardirq.h:6,
from /lib/modules/2.4.20/build/include/linux/interrupt.h:45,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.4.20/build/include/linux/irq.h: At top level:
/lib/modules/2.4.20/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.20/build/include/linux/irq.h:65: requested alignment is not a constant
In file included from /lib/modules/2.4.20/build/include/linux/interrupt.h:45,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.4.20/build/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.20/build/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.4.20/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.20/build/include/linux/interrupt.h:128: requested alignment is not a constant
nv.c: In function `nvos_proc_remove_all':
nv.c:624: dereferencing pointer to incomplete type
nv.c:625: dereferencing pointer to incomplete type
nv.c:626: dereferencing pointer to incomplete type
nv.c:627: warning: implicit declaration of function `remove_proc_entry'
nv.c:627: dereferencing pointer to incomplete type
nv.c:627: dereferencing pointer to incomplete type
make: *** [nv.o] Error 1
Any suggestions? I have attached a more complete log to view.