make NVIDIA包是出错!!
小弟是RH7.3系统,TNT2卡,下载了个NVIDIA_kernel-1.0-3123 \NVIDIA_GLX-1.0-3123.tar.gz 解包MAKE时出现make : *** ERROR 1的错误,然后就不能进行下去了。请问这是什么问题?要如何解决?谢谢大家了~~ 这是全部的信息# 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: *** Error 1
#
提示好像是指定的INCELUDE不对吧。README上又给了一条
$ make SYSINCLUDE=/src/kern/my-smp-kernel/include
我加了也不好用呢。这个INCLUDE是在哪个目录下?请DX们帮忙了! 提一贴~~请DX们帮忙 没有安装kernel-source,装一下就可以了,注意和你使用的内核版本对应起来,另外,为什么不用新版本的驱动程序呢?安装更方便。 谢谢我回去试试
页:
[1]