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
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 788 Linux Foundation IT Professional Programs
- 352 Cloud Engineer IT Professional Program
- 177 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 146 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.1K Training Courses
- 46 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 36 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 693 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 144 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 4 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 25 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 130 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 150 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 370 Off Topic
- 114 Introductions
- 173 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 96 All In Program
- 96 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)