|
楼主 |
发表于 2003-12-17 16:22:58
|
显示全部楼层
这是全部的信息
[root@localhost NVIDIA_kernel-1.0-3123]# make
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
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 -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/vmalloc.h:4,
from nv-linux.h:57,
from nv.c:14:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/vmalloc.h:8,
from nv-linux.h:57,
from nv.c:14:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv-linux.h:60,
from nv.c:14:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nv-linux.h:64,
from nv.c:14:
/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 nv.c:14:
nv-linux.h:68:75: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from nv-linux.h:75,
from nv.c:14:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from nv-linux.h:111,
from nv.c:14:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
make: *** [nv.o] Error 1
[root@localhost NVIDIA_kernel-1.0-3123]#
提示好像是指定的INCELUDE不对吧。README上又给了一条
$ make SYSINCLUDE=/src/kern/my-smp-kernel/include
我加了也不好用呢。这个INCLUDE是在哪个目录下?请DX们帮忙了! |
|