Hi, I am trying to compile VPP v23.02-rc1 on Centos 8, but saw below compilation issues:-
a) In command "make install-ext-deps" :- patching file lib/common.mk --- configuring xdp-tools 1.2.9 - log: /opt/vpp/build/external/rpm/tmp/xdp-tools.config.log --- building xdp-tools 1.2.9 - log: /opt/vpp/build/external/rpm/tmp/xdp-tools.build.log make[4]: *** [Makefile:49: config.mk] Error 1 make[3]: *** [packages/xdp-tools.mk:39: /opt/vpp/build/external/rpm/tmp/.xdp-tools.build.ok] Error 2 make[3]: Leaving directory '/opt/vpp/build/external' error: Bad exit status from /var/tmp/rpm-tmp.nYK5Y4 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nYK5Y4 (%install) make[2]: *** [Makefile:113: vpp-ext-deps-23.02-8.x86_64.rpm] Error 1 make[2]: Leaving directory '/opt/vpp/build/external' make[1]: *** [Makefile:125: install-rpm] Error 2 make[1]: Leaving directory '/opt/vpp/build/external' make: *** [Makefile:627: install-ext-deps] Error 2 I checked "/opt/vpp/build/external/rpm/tmp/xdp-tools.build.log" and found below logs:- make[4]: Entering directory '/opt/vpp/build/external/rpm/tmp/src-xdp-tools' sh configure *** ERROR: Cannot find tool clang make[4]: Leaving directory '/opt/vpp/build/external/rpm/tmp/src-xdp-tools' I then did "yum module install llvm-toolset" to resolve this. b) After a) I again executed "make install-ext-deps", but now I see below error:- In file included from ../src-dpdk/drivers/common/mlx5/mlx5_common_mr.c:14: ../src-dpdk/drivers/common/mlx5/linux/mlx5_glue.h:15:10: fatal error: infiniband/mlx5dv.h: No such file or directory #include <infiniband/mlx5dv.h> ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Could not rebuild . make[3]: *** [packages/dpdk.mk:218: /opt/vpp/build/external/rpm/tmp/.dpdk.install.ok] Error 255 make[3]: Leaving directory '/opt/vpp/build/external' error: Bad exit status from /var/tmp/rpm-tmp.whpNsT (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.whpNsT (%install) make[2]: *** [Makefile:113: vpp-ext-deps-23.02-8.x86_64.rpm] Error 1 make[2]: Leaving directory '/opt/vpp/build/external' make[1]: *** [Makefile:125: install-rpm] Error 2 make[1]: Leaving directory '/opt/vpp/build/external' make: *** [Makefile:627: install-ext-deps] Error 2 It is not able to find "infiniband/mlx5dv.h". I see that packages rdma-core and libibverbs are already installed. What could be the reason for this issue? Thanks and Regards, Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22495): https://lists.fd.io/g/vpp-dev/message/22495 Mute This Topic: https://lists.fd.io/mt/96486179/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] -=-=-=-=-=-=-=-=-=-=-=-