2005/11/20, Lorenzo Bettini <[EMAIL PROTECTED]>: > Are you sure you have the right kernel headers? > > what's the result of the following command? > > ls -l /lib/modules/`uname -r` > > Paolo Pantaleo wrote: > > I tried to compile nvidia kernle module using both m-a and the binary > > package from nvidia site. The building always fails in the same way. > > > > I have: > > Kernel 2.6.14-1-k7 > > gcc (GCC) 4.0.2 (Debian 4.0.2-2) > > NVIDIA-Linux-x86-1.0-7667 > > > > I have the right kernel headers installed > > > > I cannot compile kernel modules, i get these errors, and many many more > > > > > > NVIDIA: calling KBUILD... │ > > │ make CC=gcc-4.0 -C /usr/src/linux > > SUBDIRS=/usr/src/modules/nvidia-kernel/n │ > > │ make[3]: Entering directory `/usr/src/linux-headers-2.6.14-1-k7' > > │ > > │ echo \#define NV_COMPILER \"`gcc-4.0 -v 2>&1 | tail -n 1`\" > > > /usr/src/mod │ > > │ CC [M] /usr/src/modules/nvidia-kernel/nv/nv.o > > │ > > │ In file included from include/linux/kernel.h:11, > > │ > > │ from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:45, > > │ > > │ from /usr/src/modules/nvidia-kernel/nv/nv.c:14: > > │ > > │ include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or > > direct │ > > │ In file included from include/linux/posix_types.h:47, > > │ > > │ from include/linux/types.h:13, > > │ > > │ from include/linux/kernel.h:13, > > │ > > │ from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:45, > > │ > > │ from /usr/src/modules/nvidia-kernel/nv/nv.c:14: > > │ > > │ /usr/lib/gcc/i486-linux-gnu/4.0.2/include/asm/posix_types.h:13:22: error: > > │ > > │ /usr/lib/gcc/i486-linux-gnu/4.0.2/include/asm/posix_types.h:14:35: error: > > │ > > │ In file included from include/linux/kernel.h:13, > > │ > > > > > > > > > > Did anyone have the same problem? > > > > Thnx > > Paolo > > > -- > +-----------------------------------------------------+ > | Lorenzo Bettini ICQ# lbetto, 16080134 | > | PhD in Computer Science | > | Dip. Sistemi e Informatica, Univ. di Firenze | > | Florence - Italy (GNU/Linux User # 158233) | > | Home Page : http://www.lorenzobettini.it | > | http://music.dsi.unifi.it XKlaim language | > | http://www.purplesucker.com Deep Purple Cover Band | > | http://www.gnu.org/software/src-highlite | > | http://www.gnu.org/software/gengetopt | > | http://www.lorenzobettini.it/software/gengen | > | http://www.lorenzobettini.it/software/doublecpp | > +-----------------------------------------------------+ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
(sorry for the delay) well yes i am quite sure [EMAIL PROTECTED]:~$ ls -l /lib/modules/`uname -r` totale 1204 lrwxrwxrwx 1 root root 34 2005-11-01 23:47 build -> /usr/src/linux-headers-2.6.14-1-k7 drwxr-xr-x 2 root root 48 2005-10-28 11:15 initrd drwxr-xr-x 10 root root 240 2005-11-01 01:46 kernel -rw-r--r-- 1 root root 267860 2005-11-01 02:09 modules.alias -rw-r--r-- 1 root root 69 2005-11-01 02:09 modules.ccwmap -rw-r--r-- 1 root root 289066 2005-11-01 02:09 modules.dep -rw-r--r-- 1 root root 813 2005-11-01 02:09 modules.ieee1394map -rw-r--r-- 1 root root 394 2005-11-01 02:09 modules.inputmap -rw-r--r-- 1 root root 21410 2005-11-01 02:09 modules.isapnpmap -rw-r--r-- 1 root root 221866 2005-11-01 02:09 modules.pcimap -rw-r--r-- 1 root root 1135 2005-11-01 02:09 modules.seriomap -rw-r--r-- 1 root root 121053 2005-11-01 02:09 modules.symbols -rw-r--r-- 1 root root 282006 2005-11-01 02:09 modules.usbmap -- If you feel is a good idea, pleas correct my poor English if you have a minute to spend pleas visit my photogrphy site: http://mypic.altervista.org