Closed dxtaloha closed 7 months ago
Maybe try this in your Makefile
g++ -g -std=c++11 -o client client.cc \
-Wno-deprecated-declarations \
-DERPC_DPDK=true -march=native \
-I ../src -I ../third_party/asio/include -I /usr/include/dpdk \
-L ../build $(LIBS) \
-Wl,--whole-archive $(shell pkg-config --static --libs-only-l libdpdk) -Wl,--no-whole-archive \
-lnuma -ldl -libverbs -lmlx4 -lmlx5
If you followed the instructions to install dpdk it should work
Hello, When I made make dpdk in eRPC/hello_world directory, it made an error and told me that I couldn't find the library file, but I didn't find the library file about libdpdk, instead, it was all the library files of librte. What might be wrong with me? Thank you. I use dpdk21.11 and ubuntu20.04.