Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 02-21-03, 04:16 AM   #1
Registered User
Join Date: Feb 2003
Posts: 2
Default Debian 3.0, nforce, kernel sources, symlink and doesn't work!


I tried to compile the nforce drivers for my
debian linux 3.0 but i have the following
problem :

/usr/include/linux/module.h:21: linux/modversions.h: no such file or
make[1]:leaving directory 'root/nforce/nvnet'
make:***[nvnet=make] Error2

I installed the sources of my kernel (2.4)
and untar them in /usr/src, I did a symlink
/usr/src/linux to /usr/src/kernel-sourceXXX
but it doesn't work as you can see.
How could I do ??

Thanks for your help.
Gnourf is offline   Reply With Quote
Old 02-21-03, 08:03 AM   #2
Registered User
Join Date: Sep 2002
Posts: 2,262

The nvnet driver's Makefile is deciding to look in your /usr/include directory for include files.

This is fine for normal programs, but not for anything that's going to become a kernel module.

You can try a make clean, but I don't think that will help. What I think you'll need to do is go into the appropriate Makefile and find out where it decides which directory to pass to gcc for the -I option (that's capital i, for "add this directory to the include file search path"), and either change it to look for /usr/src/linux, or make sure the first directory it looks for (which, if nvnet is anything like NVIDIA_kernel, is /lib/modules/$(uname -r)/build) exists (by creating it as a symlink to /usr/include/linux-<version>).
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-21-03, 09:26 AM   #3
Registered User
Join Date: Feb 2003
Posts: 2

I make some changes to the makefiles but
I have the following problem for vnaudio :

make -C nvnet
make[1]: Entering directory `/root/nforce/nvnet'
make[1]: Rien faire pour `all'.
make[1]: Leaving directory `/root/nforce/nvnet'
make -C nvaudio
make[1]: Entering directory `/root/nforce/nvaudio'
cp /usr/src/kernel-source-2.4.18/drivers/sound/i810_audio.c i810_audio.c
patch < i810_audio-nforce23.patch
patching file i810_audio.c
Hunk #1 FAILED at 113.
Hunk #2 FAILED at 279.
2 out of 2 hunks FAILED -- saving rejects to file i810_audio.c.rej
make[1]: Leaving directory `/root/nforce/nvaudio'

Could somebody help me ?

Gnourf is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 11:16 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.