Open rafaelfolco opened 3 years ago
@emmericp Would you have any ideas why the .h files from ./libmoon/deps/dpdk/lib
are not copied/symlinked to the target build dir at ./libmoon/deps/dpdk/x86_64-native-linuxapp-gcc/include/
?
Thanks in advance
Thanks for your hacks, helped me with this issue on ubuntu 20.04.
Thanks that help me compile on ubuntu 22.04 as well just needed to add
cp ./libmoon/deps/dpdk/lib/librte_kni/rte_kni.h ./libmoon/deps/dpdk/x86_64-native-linuxapp-gcc/include/
but I have linker issues now that need to figure out
100%] Linking CXX executable MoonGen
/usr/bin/ld: cannot find -lrte_pmd_bond: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_ring: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_e1000: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_virtio: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_i40e: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_vmxnet3_uio: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_ixgbe: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_bnxt: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_ena: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_nfp: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_mlx5: No such file or directory
collect2: error: ld returned 1 exit status
@msherif1234 Were you able to fix it? I am running into the same issue.
@Dhyey-Thummar & @msherif1234
I am also running into the issue. Wondering if we have found a fix for it?
Thank you.
@g83wang , unfortunately not. The compilation issue still persists. We really wanted to try this, but were not successful. We switched over to using pktGen and trex traffic generator.
This issue is probably a dup of #169 I am opening a new issue since the suggestion on #169 to disable KNI mod doesn't work. Also, I am running centos8.
I was actually able to get to the end of the build after doing two hacks. However, I am looking for ideas on what changes are required for a proper fix in the automated build. My workaround was to copy the "missing" headers to the build dir:
The 2nd hack was to disable some config settings:
Would you please point me to the Makefile or script to fix this issue ?
Thanks.