Linux.com

alpo

alpo

  • Linux.com Member
  • Posts: 1
  • Member Since: 08 Jan
  • Last Logged In: 29 Jan

Latest Posts

Posted by
Topic
Post Preview
Posted
  • alpo
    Installing alx driver for Qualcomm Atheros AR8161 Ethernet Card on RHEL6.5
    I am attempting to install the alx driver (http://www.linuxfoundation.org/colla...networking/alx) on my RHEL6 system and the details of that system follow: Code: [root@localhost ~]# uname -a Linux localhost 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# lspci -nn | grep Ethernet 03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969:1091] (rev 08) However, upon attempting to run make, the following error(s) arise for which I am requesting your assistance in resolving: Code: [root@localhost compat-drivers-2013-03-04-u]# ./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-drivers-2013-03-04-u]# make make -C /lib/modules/2.6.32-431.el6.x86_64/build M=/root/devel/compat-drivers-2013-03-04-u modules make[1]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64' CC [M] /root/devel/compat-drivers-2013-03-04-u/compat/main.o In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:57, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:184: error: redefinition of ‘device_lock’ include/linux/device.h:475: note: previous definition of ‘device_lock’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:193: error: redefinition of ‘device_trylock’ include/linux/device.h:480: note: previous definition of ‘device_trylock’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:202: error: redefinition of ‘device_unlock’ include/linux/device.h:485: note: previous definition of ‘device_unlock’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:57, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:295:1: warning: "rcu_dereference_protected" redefined In file included from include/linux/tracepoint.h:18, from /root/devel/compat-drivers-2013-03-04-u/include/linux/tracepoint.h:19, from include/linux/module.h:18, from include/linux/textsearch.h:7, from include/linux/skbuff.h:27, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/rcupdate.h:256:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:58, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.35.h:29: error: redefinition of ‘qdisc_reset_all_tx_gt’ include/net/sch_generic.h:337: note: previous definition of ‘qdisc_reset_all_tx_gt’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.35.h:48: error: conflicting types for ‘netif_set_real_num_tx_queues’ include/linux/netdevice.h:1931: note: previous declaration of ‘netif_set_real_num_tx_queues’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:59, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:14:1: warning: "kparam_block_sysfs_write" redefined In file included from include/linux/module.h:17, from include/linux/textsearch.h:7, from include/linux/skbuff.h:27, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/moduleparam.h:133:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:59, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:15:1: warning: "kparam_unblock_sysfs_write" redefined In file included from include/linux/module.h:17, from include/linux/textsearch.h:7, from include/linux/skbuff.h:27, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/moduleparam.h:134:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:59, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:43: error: redefinition of ‘pcmcia_read_config_byte’ include/pcmcia/ds.h:242: note: previous definition of ‘pcmcia_read_config_byte’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:58: error: redefinition of ‘pcmcia_write_config_byte’ include/pcmcia/ds.h:259: note: previous definition of ‘pcmcia_write_config_byte’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:138: error: redefinition of ‘skb_tx_timestamp’ include/linux/skbuff.h:2180: note: previous definition of ‘skb_tx_timestamp’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:175: error: redeclaration of enumerator ‘WORK_BUSY_PENDING’ include/linux/workqueue.h:27: note: previous definition of ‘WORK_BUSY_PENDING’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:176: error: redeclaration of enumerator ‘WORK_BUSY_RUNNING’ include/linux/workqueue.h:28: note: previous definition of ‘WORK_BUSY_RUNNING’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:60, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.37.h:64:1: warning: "pcmcia_enable_device" redefined In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:14, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56, from :0: include/pcmcia/ds.h:272:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:60, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.37.h:152:1: warning: "rtnl_dereference" redefined In file included from include/net/dst.h:13, from include/net/sock.h:60, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:11, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:57, from :0: include/linux/rtnetlink.h:799:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:60, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.37.h:164: error: redefinition of ‘skb_has_frag_list’ include/linux/skbuff.h:1997: note: previous definition of ‘skb_has_frag_list’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:61, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.38.h:92:1: warning: "create_freezable_workqueue" redefined In file included from include/linux/pm.h:25, from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/apic.h:6, from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/smp.h:13, from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone_64.h:12, from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone.h:4, from include/linux/mmzone.h:845, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from include/linux/textsearch.h:7, from include/linux/skbuff.h:27, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/workqueue.h:202:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:61, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.38.h:94: error: redefinition of ‘skb_checksum_start_offset’ include/linux/skbuff.h:1424: note: previous definition of ‘skb_checksum_start_offset’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.38.h:137: error: redefinition of ‘is_unicast_ether_addr’ include/linux/etherdevice.h:128: note: previous definition of ‘is_unicast_ether_addr’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:62, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:13: error: redefinition of ‘PTR_RET’ include/linux/err.h:55: note: previous definition of ‘PTR_RET’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:62, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:21:1: warning: "NETIF_F_RXCSUM" redefined In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/netdevice.h:928:1: warning: this is the location of the previous definition /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:46: error: static declaration of ‘set_irq_type’ follows non-static declaration include/linux/irq.h:438: note: previous declaration of ‘set_irq_type’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:123: error: redefinition of ‘kstrtoul’ include/linux/kernel.h:251: note: previous definition of ‘kstrtoul’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:136: error: redefinition of ‘kstrtol’ include/linux/kernel.h:264: note: previous definition of ‘kstrtol’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:152: error: redefinition of ‘kstrtou64’ include/linux/kernel.h:280: note: previous definition of ‘kstrtou64’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:157: error: redefinition of ‘kstrtos64’ include/linux/kernel.h:285: note: previous definition of ‘kstrtos64’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:162: error: redefinition of ‘kstrtou32’ include/linux/kernel.h:290: note: previous definition of ‘kstrtou32’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:167: error: redefinition of ‘kstrtos32’ include/linux/kernel.h:295: note: previous definition of ‘kstrtos32’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:63, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:93: error: redefinition of ‘kstrtou64_from_user’ include/linux/kernel.h:316: note: previous definition of ‘kstrtou64_from_user’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:98: error: redefinition of ‘kstrtos64_from_user’ include/linux/kernel.h:321: note: previous definition of ‘kstrtos64_from_user’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:103: error: redefinition of ‘kstrtou32_from_user’ include/linux/kernel.h:326: note: previous definition of ‘kstrtou32_from_user’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:108: error: redefinition of ‘kstrtos32_from_user’ include/linux/kernel.h:331: note: previous definition of ‘kstrtos32_from_user’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:63, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:119:1: warning: "kfree_rcu" redefined In file included from include/linux/tracepoint.h:18, from /root/devel/compat-drivers-2013-03-04-u/include/linux/tracepoint.h:19, from include/linux/module.h:18, from include/linux/textsearch.h:7, from include/linux/skbuff.h:27, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/rcupdate.h:389:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:65, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.2.h:80: error: redefinition of ‘dma_zalloc_coherent’ include/linux/dma-mapping.h:171: note: previous definition of ‘dma_zalloc_coherent’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:66, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:67: error: redefinition of ‘ethtool_adv_to_mii_adv_t’ include/linux/mii.h:260: note: previous definition of ‘ethtool_adv_to_mii_adv_t’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:94: error: redefinition of ‘mii_adv_to_ethtool_adv_t’ include/linux/mii.h:287: note: previous definition of ‘mii_adv_to_ethtool_adv_t’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:122: error: redefinition of ‘ethtool_adv_to_mii_ctrl1000_t’ include/linux/mii.h:315: note: previous definition of ‘ethtool_adv_to_mii_ctrl1000_t’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:142: error: redefinition of ‘mii_ctrl1000_to_ethtool_adv_t’ include/linux/mii.h:335: note: previous definition of ‘mii_ctrl1000_to_ethtool_adv_t’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:162: error: redefinition of ‘mii_lpa_to_ethtool_lpa_t’ include/linux/mii.h:355: note: previous definition of ‘mii_lpa_to_ethtool_lpa_t’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:180: error: redefinition of ‘mii_stat1000_to_ethtool_lpa_t’ include/linux/mii.h:373: note: previous definition of ‘mii_stat1000_to_ethtool_lpa_t’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:200: error: redefinition of ‘ethtool_adv_to_mii_adv_x’ include/linux/mii.h:393: note: previous definition of ‘ethtool_adv_to_mii_adv_x’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:224: error: redefinition of ‘mii_adv_to_ethtool_adv_x’ include/linux/mii.h:417: note: previous definition of ‘mii_adv_to_ethtool_adv_x’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:248: error: redefinition of ‘mii_lpa_to_ethtool_lpa_x’ include/linux/mii.h:441: note: previous definition of ‘mii_lpa_to_ethtool_lpa_x’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:265: error: redefinition of ‘ethtool_rxfh_indir_default’ include/linux/ethtool.h:575: note: previous definition of ‘ethtool_rxfh_indir_default’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:66, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:293: error: redefinition of ‘skb_complete_wifi_ack’ include/linux/skbuff.h:2185: note: previous definition of ‘skb_complete_wifi_ack’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:299: error: conflicting types for ‘netdev_features_t’ include/linux/netdevice.h:854: note: previous declaration of ‘netdev_features_t’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:18:1: warning: "VM_NODUMP" redefined In file included from include/linux/scatterlist.h:6, from include/linux/dma-mapping.h:8, from include/linux/dmaengine.h:26, from include/linux/skbuff.h:30, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/mm.h:107:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:30:1: warning: "wake_up_all_locked" redefined In file included from include/linux/completion.h:11, from include/linux/mm_types.h:12, from include/linux/kmemcheck.h:4, from include/linux/skbuff.h:18, from include/linux/if_ether.h:129, from include/linux/netdevice.h:29, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52, from :0: include/linux/wait.h:166:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:42, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:22: error: redefinition of ‘nla_put_be16’ include/net/netlink.h:817: note: previous definition of ‘nla_put_be16’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:27: error: redefinition of ‘nla_put_be32’ include/net/netlink.h:850: note: previous definition of ‘nla_put_be32’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:32: error: redefinition of ‘nla_put_be64’ include/net/netlink.h:883: note: previous definition of ‘nla_put_be64’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:50: error: redefinition of ‘fault_in_multipages_writeable’ include/linux/pagemap.h:472: note: previous definition of ‘fault_in_multipages_writeable’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:77: error: redefinition of ‘fault_in_multipages_readable’ include/linux/pagemap.h:499: note: previous definition of ‘fault_in_multipages_readable’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:269: error: redefinition of ‘ether_addr_equal’ include/linux/etherdevice.h:239: note: previous definition of ‘ether_addr_equal’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:43: error: redefinition of ‘kmalloc_array’ include/linux/slab.h:220: note: previous definition of ‘kmalloc_array’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:98: error: redefinition of ‘eth_hw_addr_random’ include/linux/etherdevice.h:210: note: previous definition of ‘eth_hw_addr_random’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:42:1: warning: "PCI_EXP_LNKCAP2_SLS_2_5GB" redefined In file included from include/linux/pci.h:20, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:9, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56, from :0: include/linux/pci_regs.h:517:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:43:1: warning: "PCI_EXP_LNKCAP2_SLS_5_0GB" redefined In file included from include/linux/pci.h:20, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:9, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56, from :0: include/linux/pci_regs.h:518:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:44:1: warning: "PCI_EXP_LNKCAP2_SLS_8_0GB" redefined In file included from include/linux/pci.h:20, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:9, from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56, from :0: include/linux/pci_regs.h:519:1: warning: this is the location of the previous definition In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:56: error: redefinition of ‘eth_broadcast_addr’ include/linux/etherdevice.h:196: note: previous definition of ‘eth_broadcast_addr’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:68: error: redefinition of ‘eth_random_addr’ include/linux/etherdevice.h:156: note: previous definition of ‘eth_random_addr’ was here In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:70, from :0: /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:67: error: redefinition of ‘pcie_capability_set_word’ include/linux/pci.h:818: note: previous definition of ‘pcie_capability_set_word’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:73: error: redefinition of ‘pcie_capability_set_dword’ include/linux/pci.h:824: note: previous definition of ‘pcie_capability_set_dword’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:79: error: redefinition of ‘pcie_capability_clear_word’ include/linux/pci.h:830: note: previous definition of ‘pcie_capability_clear_word’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:85: error: redefinition of ‘pcie_capability_clear_dword’ include/linux/pci.h:836: note: previous definition of ‘pcie_capability_clear_dword’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:107: error: redefinition of ‘eth_zero_addr’ include/linux/etherdevice.h:185: note: previous definition of ‘eth_zero_addr’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:118: error: redefinition of ‘nla_put_s8’ include/net/netlink.h:905: note: previous definition of ‘nla_put_s8’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:129: error: redefinition of ‘nla_put_s16’ include/net/netlink.h:916: note: previous definition of ‘nla_put_s16’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:140: error: redefinition of ‘nla_put_s32’ include/net/netlink.h:927: note: previous definition of ‘nla_put_s32’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:151: error: redefinition of ‘nla_put_s64’ include/net/netlink.h:938: note: previous definition of ‘nla_put_s64’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:160: error: redefinition of ‘nla_get_s32’ include/net/netlink.h:1112: note: previous definition of ‘nla_get_s32’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:169: error: redefinition of ‘nla_get_s16’ include/net/netlink.h:1121: note: previous definition of ‘nla_get_s16’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:178: error: redefinition of ‘nla_get_s8’ include/net/netlink.h:1130: note: previous definition of ‘nla_get_s8’ was here /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:188: error: redefinition of ‘nla_get_s64’ include/net/netlink.h:1139: note: previous definition of ‘nla_get_s64’ was here make[3]: *** [/root/devel/compat-drivers-2013-03-04-u/compat/main.o] Error 1 make[2]: *** [/root/devel/compat-drivers-2013-03-04-u/compat] Error 2 make[1]: *** [_module_/root/devel/compat-drivers-2013-03-04-u] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64' make: *** [modules] Error 2 [root@localhost compat-drivers-2013-03-04-u]# After reviewing the 3,435,346,456 websites/forums regarding this issue, I appear to be at an impasse. Any assistance would truly be greatly appreciated.
    Link to this post 08 Jan

    I am attempting to install the alx driver (http://www.linuxfoundation.org/colla...networking/alx) on my RHEL6 system and the details of that system follow:

    Code:

    [root@localhost ~]# uname -a
    Linux localhost 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
    [root@localhost ~]# lspci -nn | grep Ethernet
    03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969] (rev 08)

    However, upon attempting to run make, the following error(s) arise for which I am requesting your assistance in resolving:

    Code:

    [root@localhost compat-drivers-2013-03-04-u]# ./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-drivers-2013-03-04-u]# make
    make -C /lib/modules/2.6.32-431.el6.x86_64/build M=/root/devel/compat-drivers-2013-03-04-u modules
    make[1]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
    CC [M] /root/devel/compat-drivers-2013-03-04-u/compat/main.o
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:57,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:184: error: redefinition of ‘device_lock’
    include/linux/device.h:475: note: previous definition of ‘device_lock’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:193: error: redefinition of ‘device_trylock’
    include/linux/device.h:480: note: previous definition of ‘device_trylock’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:202: error: redefinition of ‘device_unlock’
    include/linux/device.h:485: note: previous definition of ‘device_unlock’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:57,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:295:1: warning: "rcu_dereference_protected" redefined
    In file included from include/linux/tracepoint.h:18,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/tracepoint.h:19,
    from include/linux/module.h:18,
    from include/linux/textsearch.h:7,
    from include/linux/skbuff.h:27,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/rcupdate.h:256:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:58,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.35.h:29: error: redefinition of ‘qdisc_reset_all_tx_gt’
    include/net/sch_generic.h:337: note: previous definition of ‘qdisc_reset_all_tx_gt’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.35.h:48: error: conflicting types for ‘netif_set_real_num_tx_queues’
    include/linux/netdevice.h:1931: note: previous declaration of ‘netif_set_real_num_tx_queues’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:59,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:14:1: warning: "kparam_block_sysfs_write" redefined
    In file included from include/linux/module.h:17,
    from include/linux/textsearch.h:7,
    from include/linux/skbuff.h:27,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/moduleparam.h:133:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:59,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:15:1: warning: "kparam_unblock_sysfs_write" redefined
    In file included from include/linux/module.h:17,
    from include/linux/textsearch.h:7,
    from include/linux/skbuff.h:27,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/moduleparam.h:134:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:59,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:43: error: redefinition of ‘pcmcia_read_config_byte’
    include/pcmcia/ds.h:242: note: previous definition of ‘pcmcia_read_config_byte’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:58: error: redefinition of ‘pcmcia_write_config_byte’
    include/pcmcia/ds.h:259: note: previous definition of ‘pcmcia_write_config_byte’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:138: error: redefinition of ‘skb_tx_timestamp’
    include/linux/skbuff.h:2180: note: previous definition of ‘skb_tx_timestamp’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:175: error: redeclaration of enumerator ‘WORK_BUSY_PENDING’
    include/linux/workqueue.h:27: note: previous definition of ‘WORK_BUSY_PENDING’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.36.h:176: error: redeclaration of enumerator ‘WORK_BUSY_RUNNING’
    include/linux/workqueue.h:28: note: previous definition of ‘WORK_BUSY_RUNNING’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:60,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.37.h:64:1: warning: "pcmcia_enable_device" redefined
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:14,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56,
    from <command-line>:0:
    include/pcmcia/ds.h:272:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:60,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.37.h:152:1: warning: "rtnl_dereference" redefined
    In file included from include/net/dst.h:13,
    from include/net/sock.h:60,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.34.h:11,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:57,
    from <command-line>:0:
    include/linux/rtnetlink.h:799:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:60,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.37.h:164: error: redefinition of ‘skb_has_frag_list’
    include/linux/skbuff.h:1997: note: previous definition of ‘skb_has_frag_list’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:61,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.38.h:92:1: warning: "create_freezable_workqueue" redefined
    In file included from include/linux/pm.h:25,
    from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/apic.h:6,
    from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/smp.h:13,
    from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone_64.h:12,
    from /usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include/asm/mmzone.h:4,
    from include/linux/mmzone.h:845,
    from include/linux/gfp.h:4,
    from include/linux/kmod.h:22,
    from include/linux/module.h:13,
    from include/linux/textsearch.h:7,
    from include/linux/skbuff.h:27,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/workqueue.h:202:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:61,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.38.h:94: error: redefinition of ‘skb_checksum_start_offset’
    include/linux/skbuff.h:1424: note: previous definition of ‘skb_checksum_start_offset’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.38.h:137: error: redefinition of ‘is_unicast_ether_addr’
    include/linux/etherdevice.h:128: note: previous definition of ‘is_unicast_ether_addr’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:62,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:13: error: redefinition of ‘PTR_RET’
    include/linux/err.h:55: note: previous definition of ‘PTR_RET’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:62,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:21:1: warning: "NETIF_F_RXCSUM" redefined
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/netdevice.h:928:1: warning: this is the location of the previous definition
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:46: error: static declaration of ‘set_irq_type’ follows non-static declaration
    include/linux/irq.h:438: note: previous declaration of ‘set_irq_type’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:123: error: redefinition of ‘kstrtoul’
    include/linux/kernel.h:251: note: previous definition of ‘kstrtoul’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:136: error: redefinition of ‘kstrtol’
    include/linux/kernel.h:264: note: previous definition of ‘kstrtol’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:152: error: redefinition of ‘kstrtou64’
    include/linux/kernel.h:280: note: previous definition of ‘kstrtou64’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:157: error: redefinition of ‘kstrtos64’
    include/linux/kernel.h:285: note: previous definition of ‘kstrtos64’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:162: error: redefinition of ‘kstrtou32’
    include/linux/kernel.h:290: note: previous definition of ‘kstrtou32’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.39.h:167: error: redefinition of ‘kstrtos32’
    include/linux/kernel.h:295: note: previous definition of ‘kstrtos32’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:63,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:93: error: redefinition of ‘kstrtou64_from_user’
    include/linux/kernel.h:316: note: previous definition of ‘kstrtou64_from_user’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:98: error: redefinition of ‘kstrtos64_from_user’
    include/linux/kernel.h:321: note: previous definition of ‘kstrtos64_from_user’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:103: error: redefinition of ‘kstrtou32_from_user’
    include/linux/kernel.h:326: note: previous definition of ‘kstrtou32_from_user’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:108: error: redefinition of ‘kstrtos32_from_user’
    include/linux/kernel.h:331: note: previous definition of ‘kstrtos32_from_user’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:63,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.0.h:119:1: warning: "kfree_rcu" redefined
    In file included from include/linux/tracepoint.h:18,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/tracepoint.h:19,
    from include/linux/module.h:18,
    from include/linux/textsearch.h:7,
    from include/linux/skbuff.h:27,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/rcupdate.h:389:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:65,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.2.h:80: error: redefinition of ‘dma_zalloc_coherent’
    include/linux/dma-mapping.h:171: note: previous definition of ‘dma_zalloc_coherent’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:66,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:67: error: redefinition of ‘ethtool_adv_to_mii_adv_t’
    include/linux/mii.h:260: note: previous definition of ‘ethtool_adv_to_mii_adv_t’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:94: error: redefinition of ‘mii_adv_to_ethtool_adv_t’
    include/linux/mii.h:287: note: previous definition of ‘mii_adv_to_ethtool_adv_t’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:122: error: redefinition of ‘ethtool_adv_to_mii_ctrl1000_t’
    include/linux/mii.h:315: note: previous definition of ‘ethtool_adv_to_mii_ctrl1000_t’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:142: error: redefinition of ‘mii_ctrl1000_to_ethtool_adv_t’
    include/linux/mii.h:335: note: previous definition of ‘mii_ctrl1000_to_ethtool_adv_t’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:162: error: redefinition of ‘mii_lpa_to_ethtool_lpa_t’
    include/linux/mii.h:355: note: previous definition of ‘mii_lpa_to_ethtool_lpa_t’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:180: error: redefinition of ‘mii_stat1000_to_ethtool_lpa_t’
    include/linux/mii.h:373: note: previous definition of ‘mii_stat1000_to_ethtool_lpa_t’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:200: error: redefinition of ‘ethtool_adv_to_mii_adv_x’
    include/linux/mii.h:393: note: previous definition of ‘ethtool_adv_to_mii_adv_x’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:224: error: redefinition of ‘mii_adv_to_ethtool_adv_x’
    include/linux/mii.h:417: note: previous definition of ‘mii_adv_to_ethtool_adv_x’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:248: error: redefinition of ‘mii_lpa_to_ethtool_lpa_x’
    include/linux/mii.h:441: note: previous definition of ‘mii_lpa_to_ethtool_lpa_x’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:265: error: redefinition of ‘ethtool_rxfh_indir_default’
    include/linux/ethtool.h:575: note: previous definition of ‘ethtool_rxfh_indir_default’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:66,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:293: error: redefinition of ‘skb_complete_wifi_ack’
    include/linux/skbuff.h:2185: note: previous definition of ‘skb_complete_wifi_ack’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.3.h:299: error: conflicting types for ‘netdev_features_t’
    include/linux/netdevice.h:854: note: previous declaration of ‘netdev_features_t’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:18:1: warning: "VM_NODUMP" redefined
    In file included from include/linux/scatterlist.h:6,
    from include/linux/dma-mapping.h:8,
    from include/linux/dmaengine.h:26,
    from include/linux/skbuff.h:30,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/mm.h:107:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:30:1: warning: "wake_up_all_locked" redefined
    In file included from include/linux/completion.h:11,
    from include/linux/mm_types.h:12,
    from include/linux/kmemcheck.h:4,
    from include/linux/skbuff.h:18,
    from include/linux/if_ether.h:129,
    from include/linux/netdevice.h:29,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.29.h:5,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:52,
    from <command-line>:0:
    include/linux/wait.h:166:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:42,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:22: error: redefinition of ‘nla_put_be16’
    include/net/netlink.h:817: note: previous definition of ‘nla_put_be16’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:27: error: redefinition of ‘nla_put_be32’
    include/net/netlink.h:850: note: previous definition of ‘nla_put_be32’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:32: error: redefinition of ‘nla_put_be64’
    include/net/netlink.h:883: note: previous definition of ‘nla_put_be64’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:50: error: redefinition of ‘fault_in_multipages_writeable’
    include/linux/pagemap.h:472: note: previous definition of ‘fault_in_multipages_writeable’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:77: error: redefinition of ‘fault_in_multipages_readable’
    include/linux/pagemap.h:499: note: previous definition of ‘fault_in_multipages_readable’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.5.h:269: error: redefinition of ‘ether_addr_equal’
    include/linux/etherdevice.h:239: note: previous definition of ‘ether_addr_equal’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:67,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:43: error: redefinition of ‘kmalloc_array’
    include/linux/slab.h:220: note: previous definition of ‘kmalloc_array’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.4.h:98: error: redefinition of ‘eth_hw_addr_random’
    include/linux/etherdevice.h:210: note: previous definition of ‘eth_hw_addr_random’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:42:1: warning: "PCI_EXP_LNKCAP2_SLS_2_5GB" redefined
    In file included from include/linux/pci.h:20,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:9,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56,
    from <command-line>:0:
    include/linux/pci_regs.h:517:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:43:1: warning: "PCI_EXP_LNKCAP2_SLS_5_0GB" redefined
    In file included from include/linux/pci.h:20,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:9,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56,
    from <command-line>:0:
    include/linux/pci_regs.h:518:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:44:1: warning: "PCI_EXP_LNKCAP2_SLS_8_0GB" redefined
    In file included from include/linux/pci.h:20,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.33.h:9,
    from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:56,
    from <command-line>:0:
    include/linux/pci_regs.h:519:1: warning: this is the location of the previous definition
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:69,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:56: error: redefinition of ‘eth_broadcast_addr’
    include/linux/etherdevice.h:196: note: previous definition of ‘eth_broadcast_addr’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.6.h:68: error: redefinition of ‘eth_random_addr’
    include/linux/etherdevice.h:156: note: previous definition of ‘eth_random_addr’ was here
    In file included from /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-2.6.h:70,
    from <command-line>:0:
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:67: error: redefinition of ‘pcie_capability_set_word’
    include/linux/pci.h:818: note: previous definition of ‘pcie_capability_set_word’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:73: error: redefinition of ‘pcie_capability_set_dword’
    include/linux/pci.h:824: note: previous definition of ‘pcie_capability_set_dword’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:79: error: redefinition of ‘pcie_capability_clear_word’
    include/linux/pci.h:830: note: previous definition of ‘pcie_capability_clear_word’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:85: error: redefinition of ‘pcie_capability_clear_dword’
    include/linux/pci.h:836: note: previous definition of ‘pcie_capability_clear_dword’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:107: error: redefinition of ‘eth_zero_addr’
    include/linux/etherdevice.h:185: note: previous definition of ‘eth_zero_addr’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:118: error: redefinition of ‘nla_put_s8’
    include/net/netlink.h:905: note: previous definition of ‘nla_put_s8’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:129: error: redefinition of ‘nla_put_s16’
    include/net/netlink.h:916: note: previous definition of ‘nla_put_s16’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:140: error: redefinition of ‘nla_put_s32’
    include/net/netlink.h:927: note: previous definition of ‘nla_put_s32’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:151: error: redefinition of ‘nla_put_s64’
    include/net/netlink.h:938: note: previous definition of ‘nla_put_s64’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:160: error: redefinition of ‘nla_get_s32’
    include/net/netlink.h:1112: note: previous definition of ‘nla_get_s32’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:169: error: redefinition of ‘nla_get_s16’
    include/net/netlink.h:1121: note: previous definition of ‘nla_get_s16’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:178: error: redefinition of ‘nla_get_s8’
    include/net/netlink.h:1130: note: previous definition of ‘nla_get_s8’ was here
    /root/devel/compat-drivers-2013-03-04-u/include/linux/compat-3.7.h:188: error: redefinition of ‘nla_get_s64’
    include/net/netlink.h:1139: note: previous definition of ‘nla_get_s64’ was here
    make[3]: *** [/root/devel/compat-drivers-2013-03-04-u/compat/main.o] Error 1
    make[2]: *** [/root/devel/compat-drivers-2013-03-04-u/compat] Error 2
    make[1]: *** [_module_/root/devel/compat-drivers-2013-03-04-u] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
    make: *** [modules] Error 2
    [root@localhost compat-drivers-2013-03-04-u]#

    After reviewing the 3,435,346,456 websites/forums regarding this issue, I appear to be at an impasse. Any assistance would truly be greatly appreciated.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board