OpenFastPath / ofp

OpenFastPath project
BSD 3-Clause "New" or "Revised" License
349 stars 126 forks source link

devbuild_ofp_odp_dpdk takes wrong version of odp-dpdk #214

Open krisk0 opened 5 years ago

krisk0 commented 5 years ago

I took odp-dpdk as devbuild_ofp_odp_dpdk.sh suggests:

git clone https://git.linaro.org/lng/odp-dpdk.git
pushd odp-dpdk
git checkout v1.15.0.0_DPDK_17.02

, then built libodp-dpdk.so.115.0.2

Later, when I attempt to build ofp, ./configure complains

Requested 'libodp-dpdk >= 1.17.0.0' but version of libodp-dpdk is 1.15.0.0

I therefore suggest that git checkout above should be changed to something different, like

git checkout 3f2f63a3430c932cf65795b8e15a1c4ba72a199c
JereLeppanen commented 5 years ago

I've recently posted a patch, which should fix this.

https://list.openfastpath.org/pipermail/openfastpath/2018-October/003348.html

krisk0 commented 5 years ago

Thanks for help. ofp compiled. I had to put ODP_CFLAGS= and ODP_LIBS= before ofp configure.

I think that in your version of devbuild_ofp_odp_dpdk.sh line

export CONFIGURE_FLAGS="--enable-shared=yes --enable-helper-linux"

does nothing and must be deleted.