8
回答
centos6.5安装网卡驱动报错(QCA8171)
注册华为云得mate10,2.9折抢先购!>>>   

centos6.5  64位 desktop安装在pc机上,发现无网络,ipconfig 只能看到lo,看不到网卡,判断网卡驱动未安装。

lspci |grep Ethernet 查看网卡型号 》 Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)

根据https://www.linuxwind.org/html/install-atheros-ar8161-ethernet-driver-on-ubuntu12-04.html  此处教程,下载驱动包,按照说明安装。分别执行  ./scripts/driver-select alx   >  make > make install

在make时报错,错误如下:  求专家指导。

ot@localhost compat-wireless-2012-03-12-p]# ./scripts/driver-select alx
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
Backup exists: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
[root@localhost compat-wireless-2012-03-12-p]# make & make install
[1] 12719
make -C /lib/modules/2.6.32-431.el6.x86_64/build M=/root/compat-wireless-2012-03-12-p modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
  CC [M]  /root/compat-wireless-2012-03-12-p/compat/main.o
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:53 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.33.h:58:1: 警告:“IFF_DONT_BRIDGE”重定义
在包含自 include/linux/netdevice.h:28 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/if.h:83:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:53 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.33.h:62:1: 警告:“NETDEV_POST_INIT”重定义
在包含自 include/linux/memory_hotplug.h:6 的文件中,
                 从 include/linux/mmzone.h:712,
                 从 include/linux/gfp.h:4,
                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/notifier.h:210:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:54,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:162: 错误:‘device_lock’重定义
include/linux/device.h:475: 附注:‘device_lock’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:171: 错误:‘device_trylock’重定义
include/linux/device.h:480: 附注:‘device_trylock’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:180: 错误:‘device_unlock’重定义
include/linux/device.h:485: 附注:‘device_unlock’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:54 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:229:1: 警告:“sysfs_bin_attr_init”重定义
在包含自 include/linux/kobject.h:21 的文件中,
                 从 include/linux/module.h:16,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/sysfs.h:94:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:54 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:273:1: 警告:“rcu_dereference_protected”重定义
在包含自 include/linux/tracepoint.h:18 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/tracepoint.h:7,
                 从 include/linux/module.h:18,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/rcupdate.h:256:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:29: 错误:对‘irq_set_affinity_hint’的静态声明出现在非静态声明之后
include/linux/interrupt.h:220: 附注:‘irq_set_affinity_hint’的上一个声明在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:50: 错误:‘usb_pipe_endpoint’重定义
include/linux/usb.h:1712: 附注:‘usb_pipe_endpoint’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:56 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:14:1: 警告:“kparam_block_sysfs_write”重定义
在包含自 include/linux/module.h:17 的文件中,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/moduleparam.h:133:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:56 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:15:1: 警告:“kparam_unblock_sysfs_write”重定义
在包含自 include/linux/module.h:17 的文件中,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/moduleparam.h:134:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:56,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:43: 错误:‘pcmcia_read_config_byte’重定义
include/pcmcia/ds.h:242: 附注:‘pcmcia_read_config_byte’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:58: 错误:‘pcmcia_write_config_byte’重定义
include/pcmcia/ds.h:259: 附注:‘pcmcia_write_config_byte’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:102: 错误:‘no_printk’重定义
include/linux/kernel.h:464: 附注:‘no_printk’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:136: 错误:‘skb_tx_timestamp’重定义
include/linux/skbuff.h:2180: 附注:‘skb_tx_timestamp’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:57 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.37.h:33:1: 警告:“pcmcia_enable_device”重定义
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.33.h:13 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:53,
                 从 <命令行>:0:
include/pcmcia/ds.h:272:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:57 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.37.h:121:1: 警告:“rtnl_dereference”重定义
在包含自 include/net/dst.h:13 的文件中,
                 从 include/net/sock.h:60,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:8,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55,
                 从 <命令行>:0:
include/linux/rtnetlink.h:799:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:57,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.37.h:133: 错误:‘skb_has_frag_list’重定义
include/linux/skbuff.h:1997: 附注:‘skb_has_frag_list’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:58 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.38.h:43:1: 警告:“create_freezable_workqueue”重定义
在包含自 include/linux/pm.h:25 的文件中,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/apic.h:6,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/smp.h:13,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone_64.h:12,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone.h:4,
                 从 include/linux/mmzone.h:845,
                 从 include/linux/gfp.h:4,
                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/workqueue.h:202:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:58,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.38.h:45: 错误:‘skb_checksum_start_offset’重定义
include/linux/skbuff.h:1424: 附注:‘skb_checksum_start_offset’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.38.h:88: 错误:‘is_unicast_ether_addr’重定义
include/linux/etherdevice.h:128: 附注:‘is_unicast_ether_addr’的上一个定义在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:59,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:36: 错误:对‘set_irq_type’的静态声明出现在非静态声明之后
include/linux/irq.h:438: 附注:‘set_irq_type’的上一个声明在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:112: 错误:‘kstrtoul’重定义
include/linux/kernel.h:251: 附注:‘kstrtoul’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:125: 错误:‘kstrtol’重定义
include/linux/kernel.h:264: 附注:‘kstrtol’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:141: 错误:‘kstrtou64’重定义
include/linux/kernel.h:280: 附注:‘kstrtou64’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:146: 错误:‘kstrtos64’重定义
include/linux/kernel.h:285: 附注:‘kstrtos64’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:151: 错误:‘kstrtou32’重定义
include/linux/kernel.h:290: 附注:‘kstrtou32’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:156: 错误:‘kstrtos32’重定义
include/linux/kernel.h:295: 附注:‘kstrtos32’的上一个定义在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:60,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:64: 错误:‘kstrtou64_from_user’重定义
include/linux/kernel.h:316: 附注:‘kstrtou64_from_user’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:69: 错误:‘kstrtos64_from_user’重定义
include/linux/kernel.h:321: 附注:‘kstrtos64_from_user’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:74: 错误:‘kstrtou32_from_user’重定义
include/linux/kernel.h:326: 附注:‘kstrtou32_from_user’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:79: 错误:‘kstrtos32_from_user’重定义
include/linux/kernel.h:331: 附注:‘kstrtos32_from_user’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:60 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:90:1: 警告:“kfree_rcu”重定义
在包含自 include/linux/tracepoint.h:18 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/tracepoint.h:7,
                 从 include/linux/module.h:18,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/rcupdate.h:389:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:62,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:19: 错误:‘skb_frag_page’重定义
include/linux/skbuff.h:1648: 附注:‘skb_frag_page’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:35: 错误:‘skb_frag_dma_map’重定义
include/linux/skbuff.h:1764: 附注:‘skb_frag_dma_map’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:46: 错误:‘skb_frag_size’重定义
include/linux/skbuff.h:147: 附注:‘skb_frag_size’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:67: 错误:‘dma_zalloc_coherent’重定义
include/linux/dma-mapping.h:171: 附注:‘dma_zalloc_coherent’的上一个定义在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:63,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.3.h:15: 错误:‘skb_complete_wifi_ack’重定义
include/linux/skbuff.h:2185: 附注:‘skb_complete_wifi_ack’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.3.h:21: 错误:与‘netdev_features_t’类型冲突
include/linux/netdevice.h:854: 附注:‘netdev_features_t’的上一个声明在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:64,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.4.h:41: 错误:‘eth_hw_addr_random’重定义
include/linux/etherdevice.h:210: 附注:‘eth_hw_addr_random’的上一个定义在此
在包含自 <命令行>:0 的文件中:
/usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/kconfig.h:30:1: 警告:“IS_ENABLED”重定义
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:61 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.1.h:10:1: 警告:这是先前定义的位置
make[3]: *** [/root/compat-wireless-2012-03-12-p/compat/main.o] 错误 1
make[2]: *** [/root/compat-wireless-2012-03-12-p/compat] 错误 2
make[1]: *** [_module_/root/compat-wireless-2012-03-12-p] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
make: *** [modules] 错误 2

make -C /lib/modules/2.6.32-431.el6.x86_64/build M=/root/compat-wireless-2012-03-12-p modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
  CC [M]  /root/compat-wireless-2012-03-12-p/compat/main.o
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:53 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.33.h:58:1: 警告:“IFF_DONT_BRIDGE”重定义
在包含自 include/linux/netdevice.h:28 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/if.h:83:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:53 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.33.h:62:1: 警告:“NETDEV_POST_INIT”重定义
在包含自 include/linux/memory_hotplug.h:6 的文件中,
                 从 include/linux/mmzone.h:712,
                 从 include/linux/gfp.h:4,
                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/notifier.h:210:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:54,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:162: 错误:‘device_lock’重定义
include/linux/device.h:475: 附注:‘device_lock’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:171: 错误:‘device_trylock’重定义
include/linux/device.h:480: 附注:‘device_trylock’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:180: 错误:‘device_unlock’重定义
include/linux/device.h:485: 附注:‘device_unlock’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:54 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:229:1: 警告:“sysfs_bin_attr_init”重定义
在包含自 include/linux/kobject.h:21 的文件中,
                 从 include/linux/module.h:16,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/sysfs.h:94:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:54 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.34.h:273:1: 警告:“rcu_dereference_protected”重定义
在包含自 include/linux/tracepoint.h:18 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/tracepoint.h:7,
                 从 include/linux/module.h:18,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/rcupdate.h:256:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:29: 错误:对‘irq_set_affinity_hint’的静态声明出现在非静态声明之后
include/linux/interrupt.h:220: 附注:‘irq_set_affinity_hint’的上一个声明在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:50: 错误:‘usb_pipe_endpoint’重定义
include/linux/usb.h:1712: 附注:‘usb_pipe_endpoint’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:56 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:14:1: 警告:“kparam_block_sysfs_write”重定义
在包含自 include/linux/module.h:17 的文件中,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/moduleparam.h:133:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:56 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:15:1: 警告:“kparam_unblock_sysfs_write”重定义
在包含自 include/linux/module.h:17 的文件中,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/moduleparam.h:134:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:56,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:43: 错误:‘pcmcia_read_config_byte’重定义
include/pcmcia/ds.h:242: 附注:‘pcmcia_read_config_byte’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:58: 错误:‘pcmcia_write_config_byte’重定义
include/pcmcia/ds.h:259: 附注:‘pcmcia_write_config_byte’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:102: 错误:‘no_printk’重定义
include/linux/kernel.h:464: 附注:‘no_printk’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.36.h:136: 错误:‘skb_tx_timestamp’重定义
include/linux/skbuff.h:2180: 附注:‘skb_tx_timestamp’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:57 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.37.h:33:1: 警告:“pcmcia_enable_device”重定义
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.33.h:13 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:53,
                 从 <命令行>:0:
include/pcmcia/ds.h:272:1: 警告:这是先前定义的位置
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:57 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.37.h:121:1: 警告:“rtnl_dereference”重定义
在包含自 include/net/dst.h:13 的文件中,
                 从 include/net/sock.h:60,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:8,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55,
                 从 <命令行>:0:
include/linux/rtnetlink.h:799:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:57,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.37.h:133: 错误:‘skb_has_frag_list’重定义
include/linux/skbuff.h:1997: 附注:‘skb_has_frag_list’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:58 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.38.h:43:1: 警告:“create_freezable_workqueue”重定义
在包含自 include/linux/pm.h:25 的文件中,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/apic.h:6,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/smp.h:13,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone_64.h:12,
                 从 /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone.h:4,
                 从 include/linux/mmzone.h:845,
                 从 include/linux/gfp.h:4,
                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/workqueue.h:202:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:58,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.38.h:45: 错误:‘skb_checksum_start_offset’重定义
include/linux/skbuff.h:1424: 附注:‘skb_checksum_start_offset’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.38.h:88: 错误:‘is_unicast_ether_addr’重定义
include/linux/etherdevice.h:128: 附注:‘is_unicast_ether_addr’的上一个定义在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:59,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:36: 错误:对‘set_irq_type’的静态声明出现在非静态声明之后
include/linux/irq.h:438: 附注:‘set_irq_type’的上一个声明在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:112: 错误:‘kstrtoul’重定义
include/linux/kernel.h:251: 附注:‘kstrtoul’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:125: 错误:‘kstrtol’重定义
include/linux/kernel.h:264: 附注:‘kstrtol’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:141: 错误:‘kstrtou64’重定义
include/linux/kernel.h:280: 附注:‘kstrtou64’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:146: 错误:‘kstrtos64’重定义
include/linux/kernel.h:285: 附注:‘kstrtos64’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:151: 错误:‘kstrtou32’重定义
include/linux/kernel.h:290: 附注:‘kstrtou32’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.39.h:156: 错误:‘kstrtos32’重定义
include/linux/kernel.h:295: 附注:‘kstrtos32’的上一个定义在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:60,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:64: 错误:‘kstrtou64_from_user’重定义
include/linux/kernel.h:316: 附注:‘kstrtou64_from_user’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:69: 错误:‘kstrtos64_from_user’重定义
include/linux/kernel.h:321: 附注:‘kstrtos64_from_user’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:74: 错误:‘kstrtou32_from_user’重定义
include/linux/kernel.h:326: 附注:‘kstrtou32_from_user’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:79: 错误:‘kstrtos32_from_user’重定义
include/linux/kernel.h:331: 附注:‘kstrtos32_from_user’的上一个定义在此
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:60 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.0.h:90:1: 警告:“kfree_rcu”重定义
在包含自 include/linux/tracepoint.h:18 的文件中,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/tracepoint.h:7,
                 从 include/linux/module.h:18,
                 从 include/linux/textsearch.h:7,
                 从 include/linux/skbuff.h:27,
                 从 include/linux/if_ether.h:129,
                 从 include/linux/netdevice.h:29,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.29.h:5,
                 从 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:49,
                 从 <命令行>:0:
include/linux/rcupdate.h:389:1: 警告:这是先前定义的位置
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:62,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:19: 错误:‘skb_frag_page’重定义
include/linux/skbuff.h:1648: 附注:‘skb_frag_page’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:35: 错误:‘skb_frag_dma_map’重定义
include/linux/skbuff.h:1764: 附注:‘skb_frag_dma_map’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:46: 错误:‘skb_frag_size’重定义
include/linux/skbuff.h:147: 附注:‘skb_frag_size’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.2.h:67: 错误:‘dma_zalloc_coherent’重定义
include/linux/dma-mapping.h:171: 附注:‘dma_zalloc_coherent’的上一个定义在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:63,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.3.h:15: 错误:‘skb_complete_wifi_ack’重定义
include/linux/skbuff.h:2185: 附注:‘skb_complete_wifi_ack’的上一个定义在此
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.3.h:21: 错误:与‘netdev_features_t’类型冲突
include/linux/netdevice.h:854: 附注:‘netdev_features_t’的上一个声明在此
In file included from /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:64,
                 from <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.4.h:41: 错误:‘eth_hw_addr_random’重定义
include/linux/etherdevice.h:210: 附注:‘eth_hw_addr_random’的上一个定义在此
在包含自 <命令行>:0 的文件中:
/usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/kconfig.h:30:1: 警告:“IS_ENABLED”重定义
在包含自 /root/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:61 的文件中,
                 从 <命令行>:0:
/root/compat-wireless-2012-03-12-p/include/linux/compat-3.1.h:10:1: 警告:这是先前定义的位置
make[3]: *** [/root/compat-wireless-2012-03-12-p/compat/main.o] 错误 1
make[2]: *** [/root/compat-wireless-2012-03-12-p/compat] 错误 2
make[1]: *** [_module_/root/compat-wireless-2012-03-12-p] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
make: *** [modules] 错误 2
[1]+  Exit 2                  make
[root@localhost compat-wireless-2012-03-12-p]#



举报
zhang1hang2
发帖于4年前 8回/3K+阅
顶部