LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: nowhere

NV的驱动的问题

[复制链接]
发表于 2002-10-5 03:18:56 | 显示全部楼层
有点怪,兄弟我和你的显卡是一样的。每次升级都一下成功,还没有失败过呢。
看一下/usr/src中有没有象2。4。18之类的文件夹。如果有就把kernel source已经装上了。
有没有用过tar包make的方法来升级驱动,就是我说的那种方法,make能通过吗?
 楼主| 发表于 2002-10-6 02:51:30 | 显示全部楼层
make的时候提示NVdriver模块错误!
发表于 2002-10-6 04:04:22 | 显示全部楼层
把错误信息发上来,我觉得兄弟少装了什么。多谢。
 楼主| 发表于 2002-10-6 14:13:56 | 显示全部楼层
nv.c: In function `NV_iMSG':
nv.c:183: warning: implicit declaration of function `sprintf_R1d26aa98'
nv.c:193: warning: implicit declaration of function `vsprintf_R954cbb26'
nv.c:194: warning: implicit declaration of function `printk_R1b7d4074'
nv.c: In function `nv_agp_init':
nv.c:2831: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
nv.c:2832: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
make: *** [nv.o] Error 1
 楼主| 发表于 2002-10-6 14:23:55 | 显示全部楼层
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/lib/modules/2.4.18-14/build/include -Wno-cast-qual nv.c
In file included from nv-linux.h:27,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/kernel.h:60: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:60: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:61: `panic_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:67: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:67: `simple_strtoul_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:68: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:68: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:68: `simple_strtol_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:69: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:69: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:69: `simple_strtoull_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:71: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:71: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:72: `sprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:73: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:73: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:73: `vsprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:74: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:74: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:75: `snprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:76: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:76: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:76: `vsnprintf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:78: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:78: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:79: `sscanf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:80: `vsscanf_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:80: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/kernel.h:82: `get_option_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:82: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/kernel.h:83: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:83: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:83: `get_options_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:84: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:84: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:84: `memparse_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:90: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:90: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:91: `printk_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/kernel.h:107: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:108: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/kernel.h:170: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:170: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/kernel.h:170: `__out_of_line_bug_R_ver_str' declared as function returning a function
In file included from /lib/modules/2.4.18-14/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.18-14/build/include/linux/list.h:6,
                 from /lib/modules/2.4.18-14/build/include/linux/module.h:12,
                 from nv-linux.h:28,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/asm/processor.h:51: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/asm/processor.h:51: field `loops_per_jiffy_R_ver_str' declared as a function
/lib/modules/2.4.18-14/build/include/asm/processor.h:73: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:73: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:256: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:256: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:260: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/asm/processor.h:436: invalid suffix on floating constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:436: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/asm/processor.h:436: `kernel_thread_R_ver_str' declared as function returning a function
In file included from nv-linux.h:28,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/module.h:183: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/module.h:183: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:184: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/module.h:184: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:185: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:186: warning: parameter names (without types) in function declaration
/lib/modules/2.4.18-14/build/include/linux/module.h:187: invalid suffix on integer constant
/lib/modules/2.4.18-14/build/include/linux/module.h:187: parse error before numeric constant
/lib/modules/2.4.18-14/build/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function returning a function
/lib/modules/2.4.18-14/build/include/linux/module.h:196: warning: parameter names (without types) in function declaration
In file included from /lib/modules/2.4.18-14/build/include/linux/fs.h:19,
                 from /lib/modules/2.4.18-14/build/include/linux/capability.h:17,
                 from /lib/modules/2.4.18-14/build/include/linux/binfmts.h:5,
                 from /lib/modules/2.4.18-14/build/include/linux/sched.h:9,
                 from /lib/modules/2.4.18-14/build/include/linux/mm.h:4,
                 from /lib/modules/2.4.18-14/build/include/linux/slab.h:14,
                 from nv-linux.h:56,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/dcache.h: In function `dget':
/lib/modules/2.4.18-14/build/include/linux/dcache.h:249: warning: implicit declaration of function `__out_of_line_bug_R8b0fd3c5'
In file included from nv-linux.h:57,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h: In function `vmalloc':
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h:35: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h:35: (Each undeclared identifier is reported only once
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h:35: for each function it appears in.)
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h: In function `vmalloc_dma':
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h:44: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h: In function `vmalloc_32':
/lib/modules/2.4.18-14/build/include/linux/vmalloc.h:53: `boot_cpu_data_R0657d037' undeclared (first use in this function)
In file included from /lib/modules/2.4.18-14/build/include/linux/highmem.h:5,
                 from nv-linux.h:75,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h: In function `get_pgd_fast':
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h:78: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h: In function `free_pgd_fast':
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h:89: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h:127: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h: In function `pte_free_fast':
/lib/modules/2.4.18-14/build/include/asm/pgalloc.h:137: `boot_cpu_data_R0657d037' undeclared (first use in this function)
In file included from nv-linux.h:75,
                 from nv.c:14:
/lib/modules/2.4.18-14/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-14/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `NV_iMSG':
nv.c:183: warning: implicit declaration of function `sprintf_R1d26aa98'
nv.c:193: warning: implicit declaration of function `vsprintf_R954cbb26'
nv.c:194: warning: implicit declaration of function `printk_R1b7d4074'
nv.c: In function `nv_agp_init':
nv.c:2831: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
nv.c:2832: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
make: *** [nv.o] Error 1
发表于 2002-10-6 19:20:29 | 显示全部楼层
兄弟,你没有安装kernel source,在第二盘里找一下。
 楼主| 发表于 2002-10-6 21:39:56 | 显示全部楼层
谢了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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