* [dpdk-dev] [Bug 217] DPDK-19.02 will not build when MLX4/MLX5 is enabled. In comparison DPDK 18-11 builds fine
@ 2019-03-03 0:05 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2019-03-03 0:05 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=217
Bug ID: 217
Summary: DPDK-19.02 will not build when MLX4/MLX5 is enabled.
In comparison DPDK 18-11 builds fine
Product: DPDK
Version: 19.02
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: debugnetiq1@yahoo.ca
Target Milestone: ---
Here is what I did:
- installed Mellanox OFED 4.5.1 from "sources"
wget
http://www.mellanox.com/downloads/ofed/MLNX_OFED-4.5-1.0.1.0/MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64.tgz
&& tar -zxf MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64.tgz
cd MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64.tgz
./mlnxofedinstall --dpdk --upstream-libs --add-kernel-support
--enable-mlnx_tune
This builds and installs all userland OFED components, then installing the kmod
drivers
cd
/tmp/MLNX_OFED_LINUX-4.5-1.0.1.0-3.10.0-957.5.1.el7.x86_64/MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-ext/RPMS
&& yum install
mlnx-ofa_kernel-modules-4.5-OFED.4.5.1.0.1.1.gb4fdfac.kver.3.10.0_957.5.1.el7.x86_64.x86_64.rpm
Now building dpdk-19.02
- download, untar then enable in ./config/common_base
CONFIG_RTE_LIBRTE_MLX4_PMD=y and CONFIG_RTE_LIBRTE_MLX5_PMD="y"
export DPDK_DIR=/opt/dpdk_install/dpdk-19.02
cd $DPDK_DIR
export DPDK_BUILD=$DPDK_DIR/install
export RTE_SDK=$DPDK_DIR
export DPDK_TARGET=x86_64-native-linuxapp-gcc
export RTE_TARGET=x86_64-native-linuxapp-gcc
make config T=$DPDK_TARGET
make install T=$DPDK_TARGET DESTDIR=install
dpdk-19.02 build fails when linking testpmd
...
== Build app
== Build app/test-pmd
Package libibverbs was not found in the pkg-config search path.
Perhaps you should add the directory containing `libibverbs.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libibverbs' found
Then in the log
LD testpmd
/opt/dpdk_install/dpdk-19.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx4.a(mlx4_glue.o):
In function `mlx4_glue_dv_set_context_attr':
/opt/dpdk_install/dpdk-19.02/drivers/net/mlx4/mlx4_glue.c:239: undefined
reference to `mlx4dv_set_context_attr'
/opt/dpdk_install/dpdk-19.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_mlx4.a(mlx4_glue.o):
In function `mlx4_glue_dv_init_obj':
/opt/dpdk_install/dpdk-19.02/drivers/net/mlx4/mlx4_glue.c:231: undefined
reference to `mlx4dv_init_obj'
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-03-03 0:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-03 0:05 [dpdk-dev] [Bug 217] DPDK-19.02 will not build when MLX4/MLX5 is enabled. In comparison DPDK 18-11 builds fine bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).