MoonGen icon indicating copy to clipboard operation
MoonGen copied to clipboard

Compilation for Netronome NICs

Open imehrdad2012 opened this issue 8 years ago • 1 comments

Hello,

I am trying to compile the MoonGen Library for Netronome programmable NICs but I am getting the following error. Is there any pointer on how I should address the issue?

Scanning dependencies of target moon [ 8%] [ 8%] [ 16%] [ 16%] Building CXX object libmoon/CMakeFiles/moon.dir/src/main.cpp.o Building CXX object libmoon/CMakeFiles/moon.dir/src/task.cpp.o Building C object libmoon/CMakeFiles/moon.dir/src/memory.c.o Building C object libmoon/CMakeFiles/moon.dir/src/device.c.o /home/moradi/vagrant/MoonGen/libmoon/src/memory.c:1:24: fatal error: rte_config.h: No such file or directory #include <rte_config.h> ^ compilation terminated. /home/moradi/vagrant/MoonGen/libmoon/src/device.c:1:24: fatal error: rte_config.h: No such file or directory #include <rte_config.h> ^ compilation terminated. make[2]: *** [libmoon/CMakeFiles/moon.dir/src/memory.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [libmoon/CMakeFiles/moon.dir/src/device.c.o] Error 1 /home/moradi/vagrant/MoonGen/libmoon/src/task.cpp:13:24: fatal error: rte_launch.h: No such file or directory #include <rte_launch.h> ^ compilation terminated. make[2]: *** [libmoon/CMakeFiles/moon.dir/src/task.cpp.o] Error 1 make[1]: *** [libmoon/CMakeFiles/moon.dir/all] Error 2 make: *** [all] Error 2

imehrdad2012 avatar Apr 30 '17 02:04 imehrdad2012

this error indicates that DPDK wasn't compiled. can you please post the actual error, i.e., the one that caused DPDK to fail to compile?

emmericp avatar May 04 '17 11:05 emmericp