zq97_0 发表于 2003-7-9 20:42:07

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

我在公社下的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: *** Error 1
----------------------------------------------------------------------
望高手赐教.谢谢

1860ly 发表于 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 退出重启
页: [1]
查看完整版本: 求教高手,编译NVIDIA...4119-src出错???