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@gmail.com>
Sent: Friday 18 April 2025 22:53
To: dev@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