<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Hi,
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">While compiling DPDK for VPP v23.02 on Centos 8, we saw below compilation error:-</div>
<div><br>
</div>
<div class="ContentPasted0">In file included from ../src-dpdk/drivers/common/mlx5/mlx5_common_mr.c:14:</div>
<div class="ContentPasted0">../src-dpdk/drivers/common/mlx5/linux/mlx5_glue.h:15:10: fatal error: infiniband/mlx5dv.h: No such file or directory</div>
<div class="ContentPasted0"> #include <infiniband/mlx5dv.h></div>
<div class="ContentPasted0"> ^~~~~~~~~~~~~~~~~~~~~</div>
<div class="ContentPasted0">compilation terminated.</div>
<div class="ContentPasted0">ninja: build stopped: subcommand failed.</div>
<div class="ContentPasted0">Could not rebuild .</div>
<div class="ContentPasted0">make[3]: *** [packages/dpdk.mk:218: /opt/vpp/build/external/rpm/tmp/.dpdk.install.ok] Error 255</div>
<div class="ContentPasted0">make[3]: Leaving directory '/opt/vpp/build/external'</div>
<div class="ContentPasted0">error: Bad exit status from /var/tmp/rpm-tmp.whpNsT (%install)</div>
<div class="ContentPasted0"> </div>
<div class="ContentPasted0"> </div>
<div class="ContentPasted0">RPM build errors:</div>
<div class="ContentPasted0"> Bad exit status from /var/tmp/rpm-tmp.whpNsT (%install)</div>
<div class="ContentPasted0">make[2]: *** [Makefile:113: vpp-ext-deps-23.02-8.x86_64.rpm] Error 1</div>
<div class="ContentPasted0">make[2]: Leaving directory '/opt/vpp/build/external'</div>
<div class="ContentPasted0">make[1]: *** [Makefile:125: install-rpm] Error 2</div>
<div class="ContentPasted0">make[1]: Leaving directory '/opt/vpp/build/external'</div>
<div class="ContentPasted0">make: *** [Makefile:627: install-ext-deps] Error 2</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">It is not able to find "infiniband/mlx5dv.h". </div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">What could be the reason for this error? Any package that might be missing and needs to install or are we missing something here?</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Thanks and Regards,</div>
Chinmaya Agarwal.</div>
DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission is intended for use only by the individual
or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing,
copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.
</body>
</html>