Addressing ninja build error message

Loftus, Ciara ciara.loftus at intel.com
Fri May 9 15:56:53 CEST 2025


Hi Vivek,

Could you please send me meson-logs/meson-log.txt? It will tell me what version of libbpf you are using and some other useful info.
It looks to me that the af_xdp meson build is not correctly determining what libbpf functions are available in your environment.

As a side note, if you don't intend on using the af_xdp driver you can bypass its compilation by specifying -Ddisable_drivers=af_xdp during the meson build.

Thanks,
Ciara

From: vivekanandi <v.o.s.openbook at gmail.com>
Sent: Friday 18 April 2025 22:53
To: dev at dpdk.org
Subject: Addressing ninja build error message

Hello,
My name is Vivek. I'm a Computer Science major from Canada.

I was trying to install DPDK but encountered this error. I am familiar with BPF programming so tried to look into the compat.h file but the build/af_xdp directory was empty after I got the error message. I've attached a txt file that shows the terminal output
I ran the following scripts:
meson build
ninja -C build
Could you please direct me to the right direction for building DPDK properly? I am on Linux Mint. Are there dependencies that I should've instaslled?
Best Regards,
V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250509/53ba3829/attachment-0001.htm>


More information about the dev mailing list