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

make install nvidia drivers



I can't compile nvidia drivers. I tried almost everything.
1. tried to use debian nvidia debs, but they seem to need an entire new
kernel compile to work (I'm not skillfull enough)
2. so I downloaded and extracted nvidia drivers from nvidia.com and
followed README instructions

the problem is GLX did compile but kernel didn't. I get this error:

cervellone:/usr/src/NVIDIA_kernel-1.0-2880# make install
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 -D_X86=1 -Di386=1 -DUNIX
-DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880   -I. -I/usr/src/linux/include
-Wno-cast-qual nv.c
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 -D_X86=1 -Di386=1 -DUNIX
-DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880   -I. -I/usr/src/linux/include
-Wno-cast-qual os-interface.c
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 -D_X86=1 -Di386=1 -DUNIX
-DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880   -I. -I/usr/src/linux/include
-Wno-cast-qual 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
 782946	  52020	  52396	 887362	  d8a42	NVdriver
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-386/kernel/drivers/video/NVdriver
make: *** [package-install] Error 1

I'm running kernel 2.4.18-386 and I have linked /usr/include/asm and
/usr/include/linux to point to
/usr/src/kernel-headers-2.4.18-386/include/linux and
/usr/src/kernel-headers-2.4.18-386/include/asm
to get the scrip to work.

so what's wrong! I've been spending the last 48 hours on that and
probably it's just a silly problem...

plz help!

leonardo


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: