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

Re: NVidia source compiling problems



Sorry - because lynx couldn't log in on yahoo.com I
have to reboot in windows to read mail which is why I
didn't add it before.


I've got the nvidia-kernel-src and nvidia-glx-src both
in /usr/src.
I've used the following commands (as suggested by
Ochronus somt time ago)

cd /usr/src/
tar xvfz nvidia-kernel-src.tar.gz 

export KSRC=/usr/src/
 - or -
export KSRC=kernel-headers-2.4.18-k7/

export KVERS=2.4.18
cd modules/nvidia-kernel-1.0.3123
debian/rules binary_modules

Because the kernel is pre-compiled this gives problems
(cc mismatch) - therefor I edited the Makefile in the
NVIDIAxxxx subdir, so it won't stop right away. Then
when I call the 'make' prog I get this error output:

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 -DNTRM -D_GNU_SOURCE
-DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=3123  -DNV_UNIX   -DNV_LINUX  
-DNVCPU_X86       -I. -I/usr/src/linux/include
-Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:24: linux/modversions.h: No such file or
directory
make: *** [nv.o] Error 1

How do I get around this ??


--- Gary Hennigan <glhenni@sandia.gov> wrote:
> "Joris Huizer" <joris_huizer@yahoo.com> writes:
> > I've been trying to get the packages nvidia
> GeForce 2
> > MX video card working before before christmas but
> I
> > gave up then and temporarily installed the redhad
> 8.0;
> > :-S
> > 
> > Today I installed Debian woody again. And,
> > unfortunately, I still don't see what's going on
> and
> > why it's not working - I installed the kernel
> source
> > and I point to that but the nvidia-kernel-source
> > doesn't compile - still complaining about a
> missing .h
> > file :-(
> 
> I'm sure someone could be of a lot more assistance
> if you posted the
> full error message you're getting.
> 
> Gary
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Reply to: