[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

nvidia module compile under smp



I have a P4 with hyperthreading, and I was using a non-smp kernel because it conflicted with my SATA drive. I recently got a bios update, so now I can use the 2.4.22-1.2115.nptlsmp kernel. I am, and it works well. But I can't get the NVidia driver module to compile. It gives me this, and yes I sis `export CC=gcc32`:
gcc32 <snip> -c -o nv.o nv.c
In file included from nv-linux.h:23,
from nv.c:14:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:60: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:60: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:61: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:61: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:62: `panic_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:68: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:68: `simple_strtoul_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:69: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:69: syntax error before numeric constant


There's about 12 pages of errors like these. Its almost like its using the wrong kernel sources. Any ideas what to do?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]