Comments (4)
Please use scripts/check-dpdk.sh script instead. It assumes that dpdk-dev/dpdk-devel has been installed.
from ofp.
dpdk-dev is in repositories? I can't find it in the repo of Debian 11. (and I don't want to install it from the repo. I want to build everything by myself)
By the way, I could manage to build dpdk separately like this:
git clone https://github.com/DPDK/dpdk
pushd dpdk
git checkout v22.11
PKG_CONFIG_LIBDIR=/usr/lib/i386-linux-gnu/pkgconfig meson setup -Dc_args='-m32' -Dc_link_args='-m32' -Dexamples=all build
pushd build
ninja
sudo meson install
sudo ldconfig
popd
popd
And also I could successfully build odp-dpdk like this:
git clone https://github.com/OpenDataPlane/odp-dpdk
pushd odp-dpdk
./bootstrap
PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-gnu/pkgconfig ./configure --enable-dpdk --build=i386-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make -j4
make install
popd
But when I try to build ofp using odp-dpdk and dpdk that I built previously like this:
git clone https://github.com/OpenFastPath/ofp
pushd ofp
./bootstrap
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./configure --build=i386-linux-gnu --with-odp=/usr/local/lib --with-odp-lib=odp-dpdk "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make -j4
make install
popd
I will receive this error:
checking for libodp-dpdk >= 1.35.0.0... no
configure: error: Package requirements (libodp-dpdk >= 1.35.0.0) were not met:
No package 'libodp-dpdk' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ODP_CFLAGS
and ODP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
from ofp.
or
-PKG_CONFIG_PATH=$(pwd)/../dpdk/install/lib64/pkgconfig:${PKG_CONFIG_PATH} ./configure --prefix=$(pwd)/install +PKG_CONFIG_PATH=$(pwd)/../dpdk/install/lib/x86_64-linux-gnu/pkgconfig:${PKG_CONFIG_PATH} ./configure --prefix=$(pwd)/install
from ofp.
Sorry, I left you hanging for a long time, so probably no longer relevant, but anyway if dpdk is installed in a non-standard place, something like this should work (dpdk 22.11):
PKG_CONFIG_PATH=<dpdk_install_path>/lib64/pkgconfig:$PKG_CONFIG_PATH scripts/check-dpdk.sh
from ofp.
Related Issues (20)
- Error when ./configure --prefix=/usr/local/odp HOT 2
- TCP connection RESET with ODP 1.23 HOT 1
- Valgrind with OFP HOT 1
- ofp crash when processing fragment IP packet HOT 2
- Potential odp_packet_t double free HOT 2
- ofp tcp_reassembly not flushing the odp_packets causing packet leak HOT 1
- Regarding IPv6 feature of OFP
- __builtin_strncpy offset is out of the bounds HOT 2
- This project has been fallen behind odp too long. HOT 2
- OFP TCP TIME_WAIT buffer count increment HOT 3
- Does ofp support connectX5 ? HOT 5
- OFP TCP Keepalive Timer is not working as expected due to keepalive count (t_keepcnt) is not incremented and validated while processing Keepalive Timer HOT 7
- OFP Connect ?
- odp classifier sample app issue HOT 4
- No support for segmented odp packet in tcp_output & ofp_sosend_dgram HOT 3
- TCP zero window can not be sent correctly
- odph_thread_create(): Number of threads (19) and CPUs (1) does not match HOT 3
- If I run my application for the second time, i will always receive a SIGSEGV HOT 18
- How to determine when a packet has been sent HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofp.