<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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">
Hi Stephanov, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
thanks for the quick reply ! Yeah, I noticed the libmlx5 complaint in the log, but it wasn't useful because I didn't know where to look for libmlx5. Thanks for the pointer ! Looks like Fedora hasn't included the libibverbs-dev package in it's standard repo,
so I'll have to go hunt for it, but now I know what I'm looking for <span id="π">
π</span>. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Cheers,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Mark de Roussier<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div><img alt="" style="width: 615px; height: 142px; max-width: initial;" width="615" height="142" data-outlook-trace="F:1|T:1" src="cid:5d8d9e42-bc90-49da-8eec-df9d55ebfba1"><img alt="" style="width: 614px; height: 73px; max-width: initial;" width="614" height="73" data-outlook-trace="F:1|T:1" src="cid:01aa7a99-cf9d-48c1-838a-8d8d1ea458a6"></div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ΠΠΌΠΈΡΡΠΈΠΉ Π‘ΡΠ΅ΠΏΠ°Π½ΠΎΠ² <stepanov.dmit@gmail.com><br>
<b>Sent:</b> 20 July 2022 10:55<br>
<b>To:</b> Mark de Roussier <mark@hitomi-broadcast.tv><br>
<b>Cc:</b> users@dpdk.org <users@dpdk.org><br>
<b>Subject:</b> Re: Couple of build problems ( Fedora 36, DPDK 21.11.1 )</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hey!<br>
According to missing mlx5 dependency - i have the same problem on my Ubuntu system.
<br>
You should check full meson build error logs.<br>
In my case the error was in missing libmlx5 library<br>
<br>
> Run-time dependency libmlx5 found: NO (tried pkgconfig)<br>
<br>
Installing the libibverbs-dev package resolved the issue!
<div><br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">ΡΡ, 20 ΠΈΡΠ». 2022 Π³. Π² 11:38, Mark de Roussier <<a href="mailto:mark@hitomi-broadcast.tv" target="_blank">mark@hitomi-broadcast.tv</a>>:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi folk,
<div><br>
</div>
<div>I'm just starting to experiment with DPDK, but I'm noticing some build issues. I'm using Fedora 36, and DPDK 21.11.1, and following the build instructions at
<a href="https://core.dpdk.org/doc/quick-start/" target="_blank">https://core.dpdk.org/doc/quick-start/</a>, building all examples ( meson -Dexamples=all build ).
</div>
<div><br>
</div>
<div>The first problem is that the build is not finding certain libraries which are installed and known about by pkg-config.
</div>
<div><br>
</div>
<div>>[mderouss@mark-dt ~]$ pkg-config --modversion jansson</div>
<div>>2.13.1</div>
<div>>[mderouss@mark-dt ~]$ pkg-config --modversion numa</div>
<div>>2.0.14</div>
<div>>[mderouss@mark-dt ~]$ pkg-config --modversion libarchive</div>
<div>>3.5.3</div>
<div><br>
</div>
<div>However, using LIBRARY_PATH to specify their location appears to resolve the problem. There is a potentially relevant error in the meson log :</div>
<div><br>
</div>
<div> [Errno 21] Is a directory: '/home/mderouss/Projects/dpdk/dpdk-stable-21.11.1/buildtools/pkg-config'</div>
<div> Unusable script '/home/mderouss/Projects/dpdk/dpdk-stable-21.11.1/buildtools/pkg-config'</div>
<div> Program pkg-config found: YES (/usr/bin/pkg-config)</div>
<div><br>
</div>
<div>Is this expected behaviour, i.e. LIBRARY_PATH is expected to be set ? </div>
<div><br>
</div>
<div>The more taxing problem is that I am using ( for this experiment ) a Mellanox NIC :</div>
<div><br>
</div>
<div>>[mderouss@mark-dt ~]$ lspci | grep Mellanox</div>
<div>>06:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]</div>
<div>>06:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]</div>
<div><br>
</div>
<div>The meson log reports missing dependencies. It isn't clear to me how I am supposed to satisfy the unresolved dependencies with respect to Mellanox related libraries, in particular the 'missing internal dependency' ? The meson log reports the following,
but I think I'm only interested in the mlx ones : </div>
<div><br>
</div>
<div> drivers:</div>
<div>ββββββ common/mvep:ββmissing dependency, "libmusdk"</div>
<div>ββββββ <b>common/mlx5:ββmissing dependency, "mlx5"</b></div>
<div>ββββββ <b>net/mlx4:βββββmissing dependency, "mlx4"</b></div>
<div>ββββββ <b>net/mlx5:βββββmissing internal dependency, "common_mlx5"</b></div>
<div>ββββββ net/mvneta:βββmissing dependency, "libmusdk"</div>
<div>ββββββ net/mvpp2:ββββmissing dependency, "libmusdk"</div>
<div>ββββββ net/nfb:ββββββmissing dependency, "libnfb"</div>
<div>ββββββ raw/ioat:βββββreplaced by dmadev drivers</div>
<div>ββββββ crypto/armv8:βmissing dependency, "libAArch64crypto"</div>
<div>ββββββ <b>crypto/mlx5:ββmissing internal dependency, "common_mlx5"</b></div>
<div>ββββββ crypto/mvsam:βmissing dependency, "libmusdk"</div>
<div>ββββββ compress/isal:ββββββmissing dependency, "libisal"</div>
<div>ββββββ <b>compress/mlx5:ββββββmissing internal dependency, "common_mlx5"</b></div>
<div>ββββββ <b> regex/mlx5:βββmissing internal dependency, "common_mlx5"</b></div>
<div>ββββββ <b>vdpa/mlx5:ββββmissing internal dependency, "common_mlx5"</b></div>
<div>ββββββ gpu/cuda:βββββmissing dependency, "cuda.h"</div>
<div><br>
</div>
<div>I read DPDK documentation which seems to suggest that support for Mellanox NICs is somehow 'built in' to DPDK, but this does not appear to be the case ?
<br>
</div>
<div><br>
</div>
<div>The documentation refers to a library 'librte_common_mlx5', but does not explain where this can be found. I've looked at downloads from NVIDIA, but even so I am not clear what I need. I've installed the 'RDMA Core Userspace Library' in my system as they
are available from the distro, but I'm not sure if these are even relevant :</div>
<div><br>
</div>
<div>>[mderouss@mark-dt ~]$ pkg-config --list-all | grep mlx</div>
<div>>libmlx4 libmlx4 - RDMA Core Userspace Library</div>
<div>>libmlx5 libmlx5 - RDMA Core Userspace Library</div>
<div><br>
</div>
<div>Could someone possibly clarify what I actually need, and where I should get it from ?
<br>
</div>
<div><br>
</div>
<div>Regards,</div>
Mark de Roussier<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_m_3354149109079426676m_4169070099256099320gmail-m_5478973207537716145Signature">
<div><img alt="" width="615" height="142" style="width:615px; height:142px; max-width:initial" data-outlook-trace="F:1|T:1" src="cid:1821b0405152c70d1d31"><img alt="" width="614" height="73" style="width:614px; height:73px; max-width:initial" data-outlook-trace="F:1|T:1" src="cid:1821b040515771430ca2"></div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>