|02-21-03, 05:16 AM||#1|
Join Date: Feb 2003
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
/usr/include/linux/module.h:21: linux/modversions.h: no such file or
make:leaving directory 'root/nforce/nvnet'
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.
|02-21-03, 09:03 AM||#2|
Join Date: Sep 2002
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
|02-21-03, 10:26 AM||#3|
Join Date: Feb 2003
I make some changes to the makefiles but
I have the following problem for vnaudio :
make -C nvnet
make: Entering directory `/root/nforce/nvnet'
make: Rien à faire pour `all'.
make: Leaving directory `/root/nforce/nvnet'
make -C nvaudio
make: 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: Leaving directory `/root/nforce/nvaudio'
Could somebody help me ?