MoonGen
MoonGen copied to clipboard
cannot find -lrte_kni while building
When building MoonGen the compiler does not find -lrte_kni at usr/bin/ld. Probably as a result the interfaces cannot be bound. Is there a workaround for that issue?
-- Configuring done -- Generating done -- Build files have been written to: /home/ekd/MoonGen/build [ 72%] Built target moon [ 75%] Linking CXX executable MoonGen /usr/bin/ld: cannot find -lrte_kni collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/MoonGen.dir/build.make:178: MoonGen] Error 1 make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/MoonGen.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 Trying to bind interfaces, this will fail if you are not root Try sudo ./bind-interfaces.sh if this step fails insmod: ERROR: could not load module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: No such file or directory
I had the same issue under ubuntu 18.04. I solved it by using linux kernel version 4.15 instead of version 5.4