|
华硕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内核有关,不过小弟是新手不懂,只有求救于各为大哥大姐了! |
|