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

nVidia kernel drivers not working



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

Reply to: