LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1224|回复: 1

红旗5.0 网卡问题!!!

[复制链接]
发表于 2007-3-1 22:18:26 | 显示全部楼层 |阅读模式
华硕A6JC的笔记本,安装5.0后,提示找到网卡却没有驱动(Realtek8168的网卡)于是到官方下载一个r1000-v1.05版本的驱动...照README安装....结果编译通不过
[root@localhost r1000_v1.05]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a

*.s.*.flags.tmp_versions
make[1]: Leaving directory `/root/r1000_v1.05/src'
make -C src/ modules
make[1]: Entering directory `/root/r1000_v1.05/src'
make -C /lib/modules/2.6.9-5.34DT/build SUBDIRS=/root/r1000_v1.05/src

modules
make[2]: Entering directory `/usr/src/kernels/2.6.9-5.34DT-i686'
CC [M] /root/r1000_v1.05/src/r1000_n.o/root/r1000_v1.05/src/r1000_n.c:55:

warning: `MODULE_PARM_' is deprecated (declared at

include/linux/module.h:552)
/root/r1000_v1.05/src/r1000_n.c:57: warning: `MODULE_PARM_' is deprecated

(declared at include/linux/module.h:552)
/root/r1000_v1.05/src/r1000_n.c:59: warning: `MODULE_PARM_' is deprecated

(declared at include/linux/module.h:552)
/root/r1000_v1.05/src/r1000_n.c:1295: error: conflicting types for

'r1000_tx_action'
/root/r1000_v1.05/src/r1000_n.c:137: error: previous declaration of

'r1000_tx_action' was here
/root/r1000_v1.05/src/r1000_n.c:1295: error: conflicting types for

'r1000_tx_action'
/root/r1000_v1.05/src/r1000_n.c:137: error: previous declaration of

'r1000_tx_action' was here
/root/r1000_v1.05/src/r1000_n.c:1344: error: conflicting types for

'r1000_rx_action'
/root/r1000_v1.05/src/r1000_n.c:136: error: previous declaration of

'r1000_rx_action' was here
/root/r1000_v1.05/src/r1000_n.c:1344: error: conflicting types for

'r1000_rx_action'
/root/r1000_v1.05/src/r1000_n.c:136: error: previous declaration of

'r1000_rx_action' was here
/root/r1000_v1.05/src/r1000_n.c:136: warning: 'r1000_rx_action' declared

`static' but never defined
/root/r1000_v1.05/src/r1000_n.c:137: warning: 'r1000_tx_action' used but

never defined
/root/r1000_v1.05/src/r1000_n.c:1296: warning: 'r1000_tx_action' defined

but not used
/root/r1000_v1.05/src/r1000_n.c:1345: warning: 'r1000_rx_action' defined

but not used
make[3]: *** [/root/r1000_v1.05/src/r1000_n.o] 错误 1
make[2]: *** [_module_/root/r1000_v1.05/src] 错误 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-5.34DT-i686'
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/root/r1000_v1.05/src'
make: *** [modules] 错误 2

而后上网查资料
估计跟kernels内核有关,不过小弟是新手不懂,只有求救于各为大哥大姐了!
发表于 2007-4-4 19:02:44 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则

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