编译dpdk相关的工具时,需要libdpdk.pc文件,而你编译安装的dpdk有可能该文件不在默认的查询目录中,可以通过,如下查看 pkg-config --variable pc_path pkg-config /usr/lib64/pkgconfig:/usr/share/pkgconfig 找到libdpdk.pc的位置,比如/opt/dpdk/libdpdk.pc,然后用export PKG_CONFIG_PATH=/opt/dpdk指定文件路径...
[tong@T7 pkgconfig]$ pkg-config --cflags --libs libhs-I/root/src/thirdparty/github/hyperscan/BUILD/DIST/include/hs -L/root/src/thirdparty/github/hyperscan/BUILD/DIST/lib -lhs [tong@T7 pkgconfig]$ 增加一个软链接: [root@dpdk DIST]# ln -rfs lib64/lib [root@dpdk DIST]# ll total4...
@@ -333,37 +333,44 @@ if(DPDK_NEEDED STREQUAL "true") else(WIN32) # Linux if(NOT DEFINED ENV{RTE_SDK}) message(FATAL "RTE_SDK is not defined") message(STATUS "RTE_SDK is not defined, try to use pkg-config") find_package(PkgConfig REQUIRED) pkg_check_modules(PKG_DPDK_LIB IMPO...
Security Insights Additional navigation options Files 369d166 .circleci apps cmake debug demos doc docker dpdk include kvm licenses pkgconfig seastar-testing.pc.in seastar.pc.in scripts src tests .dockerignore .gitattributes .gitignore .gitmodules ...
[root@dpdk BUILD]# make [root@dpdk BUILD]# make install 安装后的内容: [root@dpdk DIST]# tree . ├── include │ └── hs │ ├── hs_common.h │ ├── hs_compile.h │ ├── hs.h │ └── hs_runtime.h ├── lib64 ...