QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 572|回复: 4

make NVIDIA包是出错!!

[复制链接]
发表于 2003-12-17 09:45:47 | 显示全部楼层 |阅读模式
小弟是RH7.3系统,TNT2卡,下载了个NVIDIA_kernel-1.0-3123 \NVIDIA_GLX-1.0-3123.tar.gz   解包MAKE时出现make :   ***[nv.o] ERROR 1的错误,然后就不能进行下去了。请问这是什么问题?要如何解决?谢谢大家了~~
 楼主| 发表于 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们帮忙了!
回复

使用道具 举报

 楼主| 发表于 2003-12-18 09:20:39 | 显示全部楼层
提一贴~~请DX们帮忙
回复

使用道具 举报

发表于 2003-12-18 12:49:16 | 显示全部楼层
没有安装kernel-source,装一下就可以了,注意和你使用的内核版本对应起来,另外,为什么不用新版本的驱动程序呢?安装更方便。
回复

使用道具 举报

 楼主| 发表于 2003-12-18 15:53:38 | 显示全部楼层
谢谢我回去试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 14:43 , Processed in 0.075022 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表