Hello Everyone,

I am upgrading to vpp 2101 . I am facing a compilation issue after enabling
Mellanox compilation in dpdk.mk .

--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -14,8 +14,8 @@
 DPDK_PKTMBUF_HEADROOM        ?= 128
 DPDK_USE_LIBBSD              ?= n
 DPDK_DEBUG                   ?= n
*-DPDK_MLX4_PMD                ?= n*
*-DPDK_MLX5_PMD                ?= n*
*+DPDK_MLX4_PMD                ?= y*
*+DPDK_MLX5_PMD                ?= y*
 DPDK_MLX5_COMMON_PMD         ?= n


Getting below errors . Anybody please help here ?

[1344/1846] Compiling C object 'drivers/a715181@@tmp_rte_net_nfp@sta
/net_nfp_nfpcore_nfp_nsp_cmds.c.o'
[1345/1846] Linking target drivers/librte_net_mlx4.so.21.0
FAILED: drivers/librte_net_mlx4.so.21.0
cc  -o drivers/librte_net_mlx4.so.21.0
'drivers/a715181@@rte_net_mlx4@sha/meson-generated_.._rte_net_mlx4.pmd.c.o'
'drivers/a715181@@tmp_r
te_net_mlx4@sta/net_mlx4_mlx4.c.o'
'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_ethdev.c.o'
'drivers/a715181@@tmp_rte_net_mlx4@sta
/net_mlx4_mlx4_flow.c.o'
'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_intr.c.o'
'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_ml
x4_mp.c.o' 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_mr.c.o'
'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_rxq.c.o' 'dri
vers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_rxtx.c.o' 'drivers/a715181@
@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_txq.c.o' 'drivers/a715181@
@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_utils.c.o' 'drivers/a715181@
@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_glue.c.o' -Wl,--as-needed -Wl,--no-und
efined -Wl,-O1 -shared -fPIC -Wl,--start-group
-Wl,-soname,librte_net_mlx4.so.21 -Wl,--no-as-needed -pthread -lm -ldl
-lnuma lib/librte_et
hdev.so.21.0 lib/librte_eal.so.21.0 lib/librte_kvargs.so.21.0
lib/librte_telemetry.so.21.0 lib/librte_net.so.21.0 lib/librte_mbuf.so.21.0
lib/librte_mempool.so.21.0 lib/librte_ring.so.21.0 lib/librte_meter.so.21.0
drivers/librte_bus_pci.so.21.0 lib/librte_pci.so.21.0 drivers/
librte_bus_vdev.so.21.0
-Wl,--version-script=/root/tmp/vpp/build-root/build-vpp-native/external/src-dpdk/drivers/net/mlx4/version.map
-lpt
hread -L/root/tmp/vpp/build-root/install-vpp-native/external/lib64
-l:libbnxt_re-rdmav25.a -l:libcxgb4-rdmav25.a -l:libefa.a -l:libhns-rdm
av25.a -l:libi40iw-rdmav25.a -l:libmlx4.a -l:libmlx5.a
-l:libmthca-rdmav25.a -l:libocrdma-rdmav25.a -l:libqedr-rdmav25.a
-l:libvmw_pvrdma-rdmav25.a -l:libhfi1verbs-rdmav25.a
-l:libipathverbs-rdmav25.a -l:librxe-rdmav25.a -l:libsiw-rdmav25.a
-l:libibverbs.a -l:librdma_util.a -l:libccan.a -Wl,--end-group
'-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/'
-Wl,-rpath-link,/root/tmp/vpp/build-root/build-vpp-native/external/build-dpdk/lib
-Wl,-rpath-link,/root/tmp/vpp/build-root/build-vpp-native/external/build-dpdk/drivers
/bin/ld: cannot find -l:libbnxt_re-rdmav25.a
/bin/ld: cannot find -l:libcxgb4-rdmav25.a
/bin/ld: cannot find -l:libefa.a
/bin/ld: cannot find -l:libhns-rdmav25.a
/bin/ld: cannot find -l:libi40iw-rdmav25.a
/bin/ld: cannot find -l:libmlx4.a
/bin/ld: cannot find -l:libmlx5.a
/bin/ld: cannot find -l:libmthca-rdmav25.a
/bin/ld: cannot find -l:libocrdma-rdmav25.a
/bin/ld: cannot find -l:libqedr-rdmav25.a
/bin/ld: cannot find -l:libvmw_pvrdma-rdmav25.a
/bin/ld: cannot find -l:libhfi1verbs-rdmav25.a
/bin/ld: cannot find -l:libipathverbs-rdmav25.a
/bin/ld: cannot find -l:librxe-rdmav25.a
/bin/ld: cannot find -l:libsiw-rdmav25.a
/bin/ld: cannot find -l:libibverbs.a
/bin/ld: cannot find -l:librdma_util.a
/bin/ld: cannot find -l:libccan.a
collect2: error: ld returned 1 exit status
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19058): https://lists.fd.io/g/vpp-dev/message/19058
Mute This Topic: https://lists.fd.io/mt/81718770/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to