Also, I tried performing `make pkg-deb` but get the following error while its 
building

[41/708] Linking target drivers/librte_common_mlx5.so.22.1

*FAILED: drivers/librte_common_mlx5.so.22.1*

cc  -o drivers/librte_common_mlx5.so.22.1 
drivers/librte_common_mlx5.so.22.1.p/meson-generated_.._rte_common_mlx5.pmd.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_devx_cmds.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mp.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mr.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_malloc.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_pci.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_devx.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_utils.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_auxiliary.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_os.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_verbs.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_glue.c.o 
-Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group 
-Wl,-soname,librte_common_mlx5.so.22 -Wl,--no-as-needed -pthread -lm -ldl 
lib/librte_hash.so.22.1 lib/librte_eal.so.22.1 lib/librte_kvargs.so.22.1 
lib/librte_telemetry.so.22.1 lib/librte_net.so.22.1 lib/librte_mbuf.so.22.1 
lib/librte_mempool.so.22.1 lib/librte_ring.so.22.1 lib/librte_rcu.so.22.1 
lib/librte_pci.so.22.1 drivers/librte_bus_pci.so.22.1 
drivers/librte_bus_auxiliary.so.22.1 
-Wl,--version-script=/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/src-dpdk/drivers/common/mlx5/version.map
 -lpthread -l:libmlx5.a -l:libibverbs.a -lnl-route-3 -lnl-3 -Wl,--end-group 
'-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' 
-Wl,-rpath-link,/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/build-dpdk/lib
 
-Wl,-rpath-link,/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/build-dpdk/drivers

/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libmlx5.a(mlx5.c.o): 
relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used 
when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Bad value

collect2: error: ld returned 1 exit status

[138/708] Compiling C object 
drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o

ninja: build stopped: subcommand failed.

Could not rebuild .

packages/dpdk.mk:208: recipe for target 
'/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/.dpdk.install.ok' 
failed

make[3]: *** 
[/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/.dpdk.install.ok] 
Error 255

make[3]: Leaving directory '/home/ubuntu/vpp/vpp/build/external'

Makefile:171: recipe for target 'ebuild-install' failed

make[2]: *** [ebuild-install] Error 2

make[2]: Leaving directory '/home/ubuntu/vpp/vpp/build/external'

Makefile:732: recipe for target 'external-install' failed

make[1]: *** [external-install] Error 2

make[1]: Leaving directory '/home/ubuntu/vpp/vpp/build-root'

Makefile:604: recipe for target 'pkg-deb' failed

make: *** [pkg-deb] Error 2

```

I see the linked library is on my host

```

Doing a search in the repo I found the following directories but no file
```
$ find . | grep librte_common_mlx5.so.22
./build-root/build-vpp-native/external/build-dpdk/drivers/librte_common_mlx5.so.22.1.p
./build-root/build-vpp-native/external/build-dpdk/drivers/librte_common_mlx5.so.22.1.p/meson-generated_.._rte_common_mlx5.pmd.c.o
./build-root/build-vpp-native/external/build-dpdk/drivers/librte_common_mlx5.so.22
```

I am not sure how else to fix this, any recommendations?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21627): https://lists.fd.io/g/vpp-dev/message/21627
Mute This Topic: https://lists.fd.io/mt/92231790/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to