Hello Xavier, I believe the first advice usually given here is to compile as a non-root user, and then sudo make install if that succeeds.
Cheers, Jesse > On Apr 23, 2014, at 4:47 AM, Xavier Van Pottelbergh > <[email protected]> wrote: > > Hi, > > I’m trying to get snort to work with PF_RING, but I’m unable to build the > ixgbe driver. > > Any advice would be appreciated. > > Versions: > Cat /etc/redhat-release: Red Hat Enterprise Linux Server release 6.5 > (Santiago) > Uname –a : Linux icts-q-bcrouter-1 2.6.32-431.5.1.el6.x86_64 > PF_Ring-6.0.0 > Ixgbe-3.18.7-zc > > This is the output when I execute the ‘make clean’ and the ‘make’-command: > : root@snort[unmanaged] ~/ > PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src 09:15 # > make clean > make -C /lib/modules/2.6.32-431.5.1.el6.x86_64/build > SUBDIRS=/root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src > clean > make[1]: Entering directory `/usr/src/kernels/2.6.32-431.5.1.el6.x86_64' > make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.5.1.el6.x86_64' > rm -rf ixgbe.ko ixgbe.o ixgbe.mod.c ixgbe.mod.o ixgbe_main.o ixgbe_common.o > ixgbe_api.o ixgbe_param.o ixgbe_lib.o ixgbe_ethtool.o kcompat.o ixgbe_82598.o > ixgbe_82599.o ixgbe_x540.o ixgbe_sriov.o ixgbe_mbx.o ixgbe_dcb.o > ixgbe_dcb_82598.o ixgbe_dcb_82599.o ixgbe_sysfs.o ixgbe_procfs.o ixgbe_phy.o > ixgbe_dcb_nl.o ixgbe_fcoe.o ixgbe_debugfs.o ixgbe.7.gz .*cmd .tmp_versions > > : root@snort[unmanaged] ~/ > PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src 09:15 # > make > make -C /lib/modules/2.6.32-431.5.1.el6.x86_64/build > SUBDIRS=/root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src > modules > make[1]: Entering directory `/usr/src/kernels/2.6.32-431.5.1.el6.x86_64' > CC [M] > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.o > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_osdep.h:41, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_type.h:69, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_dcb.h:32, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:51, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3499: > error: conflicting types for \u2018netdev_features_t\u2019 > include/linux/netdevice.h:854: note: previous declaration of > \u2018netdev_features_t\u2019 was here > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_osdep.h:41, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_type.h:69, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_dcb.h:32, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:51, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3724: > error: redefinition of \u2018pcie_capability_clear_word\u2019 > include/linux/pci.h:830: note: previous definition of > \u2018pcie_capability_clear_word\u2019 was here > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3753: > error: redefinition of \u2018is_link_local_ether_addr\u2019 > include/linux/etherdevice.h:68: note: previous definition of > \u2018is_link_local_ether_addr\u2019 was here > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:65, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > include/linux/mdio.h:256:1: warning: "MDIO_EEE_100TX" redefined > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_osdep.h:41, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_type.h:69, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_dcb.h:32, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:51, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3573:1: > warning: this is the location of the previous definition > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:65, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > include/linux/mdio.h:257:1: warning: "MDIO_EEE_1000T" redefined > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_osdep.h:41, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_type.h:69, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_dcb.h:32, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:51, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3576:1: > warning: this is the location of the previous definition > In file included from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe.h:65, > from > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.c:54: > include/linux/mdio.h:387: error: redefinition of > \u2018mmd_eee_cap_to_ethtool_sup_t\u2019 > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3616: > note: previous definition of \u2018mmd_eee_cap_to_ethtool_sup_t\u2019 was > here > include/linux/mdio.h:415: error: redefinition of > \u2018mmd_eee_adv_to_ethtool_adv_t\u2019 > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3644: > note: previous definition of \u2018mmd_eee_adv_to_ethtool_adv_t\u2019 was > here > include/linux/mdio.h:443: error: redefinition of > \u2018ethtool_adv_to_mmd_eee_adv_t\u2019 > /root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/kcompat.h:3672: > note: previous definition of \u2018ethtool_adv_to_mmd_eee_adv_t\u2019 was > here > make[2]: *** > [/root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src/ixgbe_main.o] > Error 1 > make[1]: *** > [_module_/root/PF_RING-6.0.0/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.18.7-zc/src] > Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.5.1.el6.x86_64' > make: *** [default] Error 2 > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
