-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find -lrte_kni while building #328
Comments
I had the same issue under ubuntu 18.04. I solved it by using linux kernel version 4.15 instead of version 5.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: