[dpdk-users] Regarding pktgen-dpdk

Wiles, Keith keith.wiles at intel.com
Fri Aug 28 16:35:57 CEST 2020



-----Original Message-----
From: users <users-bounces at dpdk.org>
Date: Friday, August 28, 2020 at 9:14 AM
To: users at dpdk.org <users at dpdk.org>
Subject: [dpdk-users] Regarding pktgen-dpdk
Greetings of the day,
I am new to pktgen and dpdk.
I am using dpdk-19.11.3.
I downloaded pktgen-dpdk and when I try to run command make, it gives error
Meson.build:31:0: error: dependency "libbsd" not found , tried pkgconfig
and cmake.

Unless you need to use 19.11.3 for Pktgen please move to the latest version of DPDK and Pktgen. You can still use DPDK 19.11.3 for your application as Pktgen does not need to use the same version.

I use Ubuntu 20.04 and the command to install libbsd is ‘sudo apt-get install libbsd-dev’, you did not tell me your OS distro and version. I am surprised DPDK would build as it also requires libbsd.

With the latest DPDK and Pktgen versions here are the commands to build pktgen if you have all of the system dependencies addressed.

# cd DPDK
# meson build
# ninja -C build
# sudo ninja -C install

# cd pktgen-dpdk
# make rebuild

The above will build DPDK and install it into your system then build pktgen. Let me know if you have more Pktgen build issues.

Please help me

Thank you
Regards
Utkarsh




More information about the users mailing list