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
/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
/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
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
/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
/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
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
/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
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
/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
/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
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
/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
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
/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
/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
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
/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
/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
/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
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
/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
/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
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
/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
/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
/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
/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
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
/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
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
/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
/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
/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
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
/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
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
/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
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
/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
/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.
Comments
-
I got it working with ELREPO repository.
Install alx rpm from http://elrepo.org/tiki/Download0
Categories
- All Categories
- 167 LFX Mentorship
- 219 LFX Mentorship: Linux Kernel
- 795 Linux Foundation IT Professional Programs
- 355 Cloud Engineer IT Professional Program
- 179 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 127 Cloud Native Developer IT Professional Program
- 112 Express Training Courses
- 112 Express Courses - Discussion Forum
- 6.2K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 17 LFC131 Class Forum
- 35 LFD102 Class Forum
- 227 LFD103 Class Forum
- 14 LFD110 Class Forum
- 39 LFD121 Class Forum
- 15 LFD133 Class Forum
- 7 LFD134 Class Forum
- 17 LFD137 Class Forum
- 63 LFD201 Class Forum
- 3 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 2 LFD237 Class Forum
- 23 LFD254 Class Forum
- 697 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 152 LFS101 Class Forum
- 1 LFS111 Class Forum
- 1 LFS112 Class Forum
- 1 LFS116 Class Forum
- 1 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 7 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 33 LFS158 Class Forum
- 8 LFS162 Class Forum
- 1 LFS166 Class Forum
- 1 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 1 LFS178 Class Forum
- 1 LFS180 Class Forum
- 1 LFS182 Class Forum
- 1 LFS183 Class Forum
- 29 LFS200 Class Forum
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 14 LFS203 Class Forum
- 102 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 48 LFS241 Class Forum
- 42 LFS242 Class Forum
- 37 LFS243 Class Forum
- 15 LFS244 Class Forum
- LFS245 Class Forum
- LFS246 Class Forum
- 50 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 154 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 5 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 111 LFS260 Class Forum
- 159 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 20 LFS267 Class Forum
- 24 LFS268 Class Forum
- 29 LFS269 Class Forum
- 1 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 9 LFW111 Class Forum
- 260 LFW211 Class Forum
- 182 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 782 Hardware
- 198 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 743 Linux Distributions
- 80 Debian
- 67 Fedora
- 15 Linux Mint
- 13 Mageia
- 23 openSUSE
- 143 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 348 Ubuntu
- 461 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 90 Linux Security
- 77 Network Management
- 101 System Management
- 46 Web Management
- 64 Mobile Computing
- 17 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 19 Study Material
- 507 Programming and Development
- 285 Kernel Development
- 204 Software Development
- 1.8K Software
- 211 Applications
- 180 Command Line
- 3 Compiling/Installing
- 405 Games
- 309 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)