View Single Post
Old 07-28-02, 07:41 PM   #4
noeffort
Guest
 
Posts: n/a
Default

Here is the full message text of errors

root@dogma NVIDIA_kernel-1.0-2960]# make install -i
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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/vmalloc.h:8,
from nv-linux.h:29,
from nv.c:27:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv-linux.h:53,
from nv.c:27:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from nv.c:41:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nv.c:42:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
nv.c:57:53: asm/uaccess.h: No such file or directory
nv.c:59:51: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from nv.c:63:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
make: [nv.o] Error 1 (ignored)
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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960 -I. -I/usr/src/linux/include -Wno-cast-qual os-interface.c
In file included from /usr/include/linux/vmalloc.h:8,
from nv-linux.h:29,
from os-interface.c:39:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv-linux.h:53,
from os-interface.c:39:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from os-interface.c:45:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from os-interface.c:46:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
os-interface.c:58:73: asm/uaccess.h: No such file or directory
make: [os-interface.o] Error 1 (ignored)
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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960 -I. -I/usr/src/linux/include -Wno-cast-qual os-registry.c
In file included from /usr/include/linux/module.h:20,
from os-registry.c:45:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make: [os-registry.o] Error 1 (ignored)
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld: cannot open nv.o: No such file or directory
make: [Module-linux] Error 1 (ignored)
ld -r -o NVdriver Module-linux Module-nvkernel
ld: cannot open Module-linux: No such file or directory
make: [NVdriver] Error 1 (ignored)
size NVdriver
size: NVdriver: No such file or directory
make: [NVdriver] Error 1 (ignored)
/usr/bin/install: cannot stat `NVdriver': No such file or directory
make: [package-install] Error 1 (ignored)
[root@dogma NVIDIA_kernel-1.0-2960]#
  Reply With Quote