#400 Fail to Compile e1000e driver in RHEL 6.5

closed
Todd Fujinaka
standalone_driver
1
2014-09-04
2014-02-06
George To
No

Hello,

In the past, we manually compiled the e1000e drivers in RHEL 6.1 , 6.2 , 6.3 , 6.4 successfully for enhanced performance NAPI driver.

However, when we update to RHEL 6.5 , the e1000e v2.5.4 compilation failed as below -

Please help.
Regards
George


[root@xxx e1000e]# cd e1000e-2.5.4

[root@xxx e1000e-2.5.4]# cd src/

[root@xxx src]# make clean
make -C /lib/modules/2.6.32-431.3.1.el6.x86_64/build SUBDIRS=/root/e1000e/e1000e-2.5.4/src clean
make[1]: Entering directory /usr/src/kernels/2.6.32-431.3.1.el6.x86_64' CLEAN /root/e1000e/e1000e-2.5.4/src/.tmp_versions make[1]: Leaving directory/usr/src/kernels/2.6.32-431.3.1.el6.x86_64'
rm -rf e1000e.ko e1000e.o e1000e.mod.c e1000e.mod.o netdev.o ethtool.o param.o 82571.o ich8lan.o 80003es2lan.o mac.o nvm.o phy.o manage.o kcompat.o e1000e.7.gz .cmd .tmp_versions Module.markers Module.symvers modules.order
[root@xxx src]# make
make -C /lib/modules/2.6.32-431.3.1.el6.x86_64/build SUBDIRS=/root/e1000e/e1000e-2.5.4/src modules
make[1]: Entering directory /usr/src/kernels/2.6.32-431.3.1.el6.x86_64' CC [M] /root/e1000e/e1000e-2.5.4/src/netdev.o In file included from /root/e1000e/e1000e-2.5.4/src/e1000.h:39, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: /root/e1000e/e1000e-2.5.4/src/kcompat.h:3446: 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/e1000e/e1000e-2.5.4/src/e1000.h:39, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: /root/e1000e/e1000e-2.5.4/src/kcompat.h:3687: error: redefinition of âpcie_capability_clear_wordâ include/linux/pci.h:830: note: previous definition of âpcie_capability_clear_wordâ was here /root/e1000e/e1000e-2.5.4/src/kcompat.h:3717: error: redefinition of âis_link_local_ether_addrâ include/linux/etherdevice.h:68: note: previous definition of âis_link_local_ether_addrâ was here In file included from /root/e1000e/e1000e-2.5.4/src/e1000.h:50, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: include/linux/mdio.h:256:1: warning: "MDIO_EEE_100TX" redefined In file included from /root/e1000e/e1000e-2.5.4/src/e1000.h:39, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: /root/e1000e/e1000e-2.5.4/src/kcompat.h:3536:1: warning: this is the location of the previous definition In file included from /root/e1000e/e1000e-2.5.4/src/e1000.h:50, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: include/linux/mdio.h:257:1: warning: "MDIO_EEE_1000T" redefined In file included from /root/e1000e/e1000e-2.5.4/src/e1000.h:39, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: /root/e1000e/e1000e-2.5.4/src/kcompat.h:3539:1: warning: this is the location of the previous definition In file included from /root/e1000e/e1000e-2.5.4/src/e1000.h:50, from /root/e1000e/e1000e-2.5.4/src/netdev.c:55: include/linux/mdio.h:387: error: redefinition of âmmd_eee_cap_to_ethtool_sup_tâ /root/e1000e/e1000e-2.5.4/src/kcompat.h:3579: note: previous definition of âmmd_eee_cap_to_ethtool_sup_tâ was here include/linux/mdio.h:415: error: redefinition of âmmd_eee_adv_to_ethtool_adv_tâ /root/e1000e/e1000e-2.5.4/src/kcompat.h:3607: note: previous definition of âmmd_eee_adv_to_ethtool_adv_tâ was here include/linux/mdio.h:443: error: redefinition of âethtool_adv_to_mmd_eee_adv_tâ /root/e1000e/e1000e-2.5.4/src/kcompat.h:3635: note: previous definition of âethtool_adv_to_mmd_eee_adv_tâ was here make[2]: *** [/root/e1000e/e1000e-2.5.4/src/netdev.o] Error 1 make[1]: *** [_module_/root/e1000e/e1000e-2.5.4/src] Error 2 make[1]: Leaving directory/usr/src/kernels/2.6.32-431.3.1.el6.x86_64'
make:
** [default] Error 2

Discussion

  • Todd Fujinaka
    Todd Fujinaka
    2014-02-06

    We are expecting a new driver that will fix this build problem.

     
  • Todd Fujinaka
    Todd Fujinaka
    2014-02-06

    • labels: e1000e , RHEL 6.5 --> e1000e, RHEL 6.5
    • status: open --> pending
    • assigned_to: Todd Fujinaka
     
  • dertman
    dertman
    2014-02-06

    The driver version that addresses this problem is finished, and we are just awaiting some final validation before it is released on sourceforge (hopefully early next week).

     
  • Todd Fujinaka
    Todd Fujinaka
    2014-03-14

    • status: pending --> closed