On Tue, Jan 14, 2003 at 01:48:14PM -0800, Joris Huizer wrote:
> 
> 
> > Do you have kernel-headers-2.4.18-k7 installed? I've
> > never built the
> > nVidia stuff for use with a precompiled kernel. I've
> > only done it as
> > part of compiling my own kernel. At a minimum, I'm
> > guessing, you need
> > to install the kernel-headers package that
> > corresponds to your running
> > kernel in order to compile the nVidia drivers.
> > 
> > Gary
> > 
> > 
> 
> I suddenly realised the /usr/src/linux symlink should
> point to kernel-headers-2.4.18-k7/include - as that
> dir has a subdir linux which contains the needed .h
> file.
> I did the following:
> 
>     ln -s kernel-headers-2.4.18-k7/ linux
> ...
>     cd
> modules/nvidia-kernel-1.0.3123/NVIDIA_kernel-1.0-3123
> 
>     make            
>     make > /usr/src/new-error.txt
> 
> ...
> 
> Unfortunately, after some compiling stuff the Makefile
> suddenly stopped again with this as last output before
> the error. 
> Now I really have no idea what this means anymore :-(
> 
> ld -r -o NVdriver Module-linux Module-nvkernel
> size NVdriver
>    text          data     bss     dec     hex filename
>  894496         55476   52396 1002368   f4b80 NVdriver
> depmod: *** Unresolved symbols in
> /lib/modules/2.2.20/video/NVdriver
> make: *** [package-install] Error 1

Hi!

Something seems to be very wrong, because it wants to link against the
2.2.20 modules!!! Set the KVERS=2.4.18-k7! It took me a long time
to figure out why NVIDIA driver didn't work for me. It's very picky
about the kernel headers you use, which have to be exactly the ones that
your kernel is built with.

HTH,
    Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to