-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pktgen build error Ubuntu 22.04 #258
Comments
You may not have the /bsd/ directory and its header files in your system. Install it in your linux kernel using |
You can install the package |
I did a clean OS reinstall (ubuntu 22.04 server) and reinstalled all the packages that are listed as dependencies to install dpdk/pktgen. Other steps: add
Everything compiled without issue. When I'm running pktgen though I get:
I get the same errors no matter which port I use. |
Do you have a reason to use DPDK 23.04 and Pktgen 23.04 as I have fixed a number of problems in Pktgen 24.05.4, which should work with DPDK latest version 24.07.0-rc0. The latest version of DPDK does not compile on If you can please update to the latest Pktgen version. To rebuild Pktgen you can use Add the -v option to the pktgen command line. I assume you are running as root here correct? Rebuild Pktgen with debug Try using You don't need to remove hugepage alone unless you need to free the hugepages. You are using 9 lcores for both rx/tx on port 2 in the example above and the port is on socket 1. The message |
Hello,
I have installed the latest DPDK release (24.03.0) and I can build it without any issues.
I'm using Ubuntu 22.04.
However, when trying to install the latest Pktgen version (24.05.3) I get the following:
Any pointers are greatly appreciated
The text was updated successfully, but these errors were encountered: