QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 431|回复: 1

求教高手,编译NVIDIA...4119-src出错???

[复制链接]
发表于 2003-7-9 20:42:07 | 显示全部楼层 |阅读模式
我在公社下的nvidia_drivers.zip用make或者rpmbuild都报告nv.c有语法错误:
------------------------------------------------------------------

In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
                 from nv-linux.h:64,
                 from nv.c:14:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1282: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1301: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1387: too few arguments to function `remap_page_range_R2baf18f2'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** [nv.o] Error 1
----------------------------------------------------------------------
望高手赐教.谢谢
发表于 2003-7-10 01:09:14 | 显示全部楼层
还是装nvidia-4363.run吧~~~~~~~
先修改/etc/X11/xfree86.conf的有关地方!!!注意一定要先修改!!1
要在字符模式下装啊 按ctrl+alt+f2 进入 输入root 然后密码
再输入init 3
输入nvidia-xxxxx。4363.run         装的时候是很快的
按ctrl+alt+f7 回到x-windows 退出重启
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-18 11:31 , Processed in 0.054197 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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