Click to See Complete Forum and Search --> : Compiling Nvidia Drivers on Debian Help!!!!


quakeroatz
04-13-2001, 10:20 PM
I'm trying to compile the Nvidia drivers for linux.

My System:
Debian (Sid)
Kernel 2.4.3 SMP
apt-get dist-upgrade
Updated as of today.

So I downloaded the kernel source for kernel 2.4.3 and extracted to /usr/src/
In the same directory I extracted the files from nvidia:
NVIDIA_kernel-0.9-769.tar.gz
NVIDIA_GLX-0.9-769.tar.gz

After repeated failed attempts at
make install
in the NVIDIA_kernel-0.9-769 directory I thought I might need kernel headers. The most recent I could fine were, kernel-headers-2.4.0-test11.. and I extracted these to /usr/src and copied the /kernel-headers/include to /usr/src/linux/include, overwriting the old dir. The reason I did this was I needed a modversions.h file that wasn't in the kernel source I dled.

Now I get the following error when I type:
make SYSINCLUDE=/usr/src/linux/include

I get:
os-interface.c: In function `KernInitAGP':
os-interface.c:1664: `INTEL_I850' undeclared (first use in this function)
os-interface.c:1664: (Each undeclared identifier is reported only once
os-interface.c:1664: for each function it appears in.)
make: *** [os-interface.o] Error 1

Intel_I850??!?!? Ive got a BP6 here with dual 600 celerys, its a BX board... why is this thing worrying about the I850?

BTW the NVIDIA_GLX-0.9-769 thing compiles perfectly.

So obviously I've got some missing source or libraries... and I'm sure that this must be a very common problem, as most everyone has a Nvidia card of some sort...

I must be missing one stupid step as I watched my buddy do this a week ago, and I swear i'm on the right track....

I know I could just switch to redhat and dl those simple rpms... but I wanna stick with Debain..

Thanks!!
:mad: :confused: :confused: :mad:

PLBlaze
04-14-2001, 12:39 AM
Originally posted by quakeroatz:
<STRONG>
So I downloaded the kernel source for kernel 2.4.3 and extracted to /usr/src/
[...]
After repeated failed attempts at
make install
in the NVIDIA_kernel-0.9-769 directory I thought I might need kernel headers. The most recent I could fine were, kernel-headers-2.4.0-test11.. and I extracted these to /usr/src and copied the /kernel-headers/include to /usr/src/linux/include, overwriting the old dir. The reason I did this was I needed a modversions.h file that wasn't in the kernel source I dled.
:mad: :confused: :confused: :mad:</STRONG>

Well, why get the latest kernel source and then use older kernel includes?When you could simply run make config dep on the new kernel you've unpacked...which would create the necessary symlinks to /usr/include/linux and asm and give you the modversions.h file there too :D...maybe after doing that your drivers would compile cleanly,just a thought...