[dpdk-dev] Error while executing make - Pktgen-DPDK

Shankari Vaidyalingam shankari.v2k6 at gmail.com
Mon Feb 9 20:25:09 CET 2015


Hi,

I'm trying to compile the DPDK code coming along with the Pktgen-DPDK.
I got the source code of Pktgen-DPDK by cloning the Git repository using -
sudo git clone git://github.com/Pktgen/Pktgen-DPDK.git

I'm getting the below error when I tried executing make:

from
/home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31,
                 from
/home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31,
                 from
/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38:
/home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3864:63:
error: missing binary operator before token "~"
make[10]: ***
[/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.o]
Error 1
make[9]: ***
[_module_/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni]
Error 2
make[8]: *** [sub-make] Error 2
make[7]: *** [rte_kni.ko] Error 2
make[6]: *** [kni] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2
make: *** [install] Error 2

Please let me know how to resolve this issue.

Regards
Shankari.V


More information about the dev mailing list