<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 class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hey Thomas,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I retried a build when libpcap was absent and was able to reproduce the same errors as you did.</div>
<pre class="elementToProof" style="margin: 0px 0px 10px; padding: 9.5px; border-radius: 0px; display: block;"><div class="elementToProof" style="text-align: left; text-indent: 0px; line-height: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Error: cannot find librte_pcapng.so.25.1 in dpdk-build/build-arm64-generic-gcc/install
Error: cannot find librte_graph.so.25.1 in dpdk-build/build-arm64-generic-gcc/install
Error: cannot find librte_node.so.25.1 in dpdk-build/build-arm64-generic-gcc/install
Error: cannot find librte_pdump.so.25.1 in dpdk-build/build-arm64-generic-gcc/install</div></pre>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
These Errors are coming from ABI check: dpdk/devtools/check-abi.sh:49</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I see in this function that it is checking for the existence of these libraries, which will be absent when libpcap is absent. Is there a way to have the abi-check skip these libraries if they are not built?</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Or better question: How does the abi-check even know about these libraries if they are never built?</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thanks!</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Dylan</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg">
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<b>From:</b> Thomas Monjalon <thomas@monjalon.net><br>
<b>Sent:</b> Monday, June 30, 2025 8:28 AM<br>
<b>To:</b> Dylan Schneider <schneide@qti.qualcomm.com><br>
<b>Cc:</b> dev@dpdk.org <dev@dpdk.org>; Reshma Pattan <reshma.pattan@intel.com>; Stephen Hemminger <stephen@networkplumber.org>; Jerin Jacob <jerinj@marvell.com>; Kiran Kumar K <kirankumark@marvell.com>; Nithin Dabilpuram <ndabilpuram@marvell.com>; Zhirun Yan
<yanzhirun_163@163.com><br>
<b>Subject:</b> Re: [PATCH v2] pcapng: allow any protocol link type for the interface block</div>
<div style="direction: ltr;"> </div>
</div>
<div style="font-size: 11pt;">WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.<br>
<br>
Sorry I did not investigate, but there is probably a different installation of the pcap library.<br>
<br>
I have this in a config file:<br>
<br>
pcaparm=$deps/libpcap/build-aarch64/install # requires big changes in DPDK<br>
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$pcaparm/lib/pkgconfig<br>
<br>
I don't remember what are the big changes required, and why it is disabled.<br>
<br>
Checking Meson, libpcap is indeed not found on aarch64:<br>
<br>
Run-time dependency libpcap found: NO (tried pkgconfig)<br>
Library pcap found: NO<br>
<br>
Can you check whether the error can be related to the absence of libpcap?<br>
<br>
<br>
<br>
30/06/2025 15:50, Dylan Schneider:<br>
> Hey Thomas, just wanted to confirm, I see the ARM build passing in CI. Is there a reason it would pass there but not on your dev machine?<br>
><br>
><br>
> ________________________________<br>
> From: Dylan Schneider <schneide@qti.qualcomm.com><br>
> Sent: Friday, June 27, 2025 11:46 AM<br>
> To: Thomas Monjalon <thomas@monjalon.net><br>
> Cc: dev@dpdk.org <dev@dpdk.org>; Reshma Pattan <reshma.pattan@intel.com>; Stephen Hemminger <stephen@networkplumber.org>; Jerin Jacob <jerinj@marvell.com>; Kiran Kumar K <kirankumark@marvell.com>; Nithin Dabilpuram <ndabilpuram@marvell.com>; Zhirun Yan <yanzhirun_163@163.com><br>
> Subject: Re: [PATCH v2] pcapng: allow any protocol link type for the interface block<br>
><br>
><br>
> WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.<br>
><br>
> Hey Thomas,<br>
> Thanks for the reply.<br>
> Can you tell me the build command you're using to produce those errors? I have ran the builds on my test machine and cannot reproduce these. Thanks!<br>
> Dylan<br>
> ________________________________<br>
> From: Thomas Monjalon <thomas@monjalon.net><br>
> Sent: Friday, June 27, 2025 11:39 AM<br>
> To: Dylan Schneider <schneide@qti.qualcomm.com><br>
> Cc: dev@dpdk.org <dev@dpdk.org>; Reshma Pattan <reshma.pattan@intel.com>; Stephen Hemminger <stephen@networkplumber.org>; Jerin Jacob <jerinj@marvell.com>; Kiran Kumar K <kirankumark@marvell.com>; Nithin Dabilpuram <ndabilpuram@marvell.com>; Zhirun Yan <yanzhirun_163@163.com><br>
> Subject: Re: [PATCH v2] pcapng: allow any protocol link type for the interface block<br>
><br>
> WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.<br>
><br>
> 09/06/2025 23:19, Schneide:<br>
> > From: Dylan Schneider <schneide@qti.qualcomm.com><br>
> ><br>
> > Allow the user to specify protocol link type when creating pcapng files.<br>
> > This change is needed to specify the protocol type in the pcapng file,<br>
> > DLT_EN10MB specifies ethernet packets only. This will allow dissectors<br>
> > for other protocols to be used on files generated by pcapng.<br>
> ><br>
> > Includes a breaking change to rte_pcapng_add_interface to add link_type<br>
> > parameter. Existing calls to the function have been updated to pass<br>
> > DLT_EN10MB for the link type argument.<br>
> ><br>
> > Fixes: d1da6d0d04c7 ("pcapng: require per-interface information")<br>
> > Signed-off-by: Dylan Schneider <schneide@qti.qualcomm.com><br>
> > Cc: stephen@networkplumber.org<br>
><br>
> I doesn't pass compilation test on my machine:<br>
><br>
> Error: cannot find librte_pcapng.so.25.1 in dpdk-build/build-arm64-generic-gcc/install<br>
> Error: cannot find librte_graph.so.25.1 in dpdk-build/build-arm64-generic-gcc/install<br>
> Error: cannot find librte_node.so.25.1 in dpdk-build/build-arm64-generic-gcc/install<br>
> Error: cannot find librte_pdump.so.25.1 in dpdk-build/build-arm64-generic-gcc/install<br>
><br>
><br>
><br>
><br>
<br>
<br>
<br>
<br>
<br>
</div>
</body>
</html>