RE: Compile error.
Hi Adam,
Looks like you have your system defined as a SMP machine, but are using a
single processor kernel. If you edit your autoconf.h file and change the
CONFIG_SMP variable to #undef CONFIG_SMP, then save it, and rebuild the
kernel module everything should be ok.
Jason Lundy
-----Original Message-----
From: Adam Wilson [mailto:adamw@mid-hudson.com]
Sent: Thursday, November 16, 2000 2:43 PM
To: linux-bugs@nvidia.com; Debian Users List
Subject: Compile error.
I am trying to compile the drivers from nVidia's site for the TNT.
I am running Debian Woody with kernel 2.2.17 and this is the error I
recieve when I compile the driver. Any hint to what may be the problem?
rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
cc -c -Wall -Wunknown-pragmas -Wno-multichar -O -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1
-Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -I.
-I/usr/src/linux/include nv.c
cc -c -Wall -Wunknown-pragmas -Wno-multichar -O -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1
-Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -I.
-I/usr/src/linux/include os-interface.c
cc -c -Wall -Wunknown-pragmas -Wno-multichar -O -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1
-Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -I.
-I/usr/src/linux/include os-registry.c
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
387607 26944 40 414591 6537f NVdriver
/lib/modules/2.2.17/video/NVdriver: unresolved symbol tqueue_lock
/lib/modules/2.2.17/video/NVdriver: insmod
/lib/modules/2.2.17/video/NVdriver failed
/lib/modules/2.2.17/video/NVdriver: insmod NVdriver failed
Reply to: