Skip to content

BuildIssues

Dave Wallace edited this page Apr 11, 2026 · 1 revision

rte_config.h not found

**Issue **After a rebase or pulling latest master, a build may fail with following:


In file included from /vpp/build-data/../vlib/vlib/vlib.h:53:0,
                 from /vpp/build-data/../vlib/vlib/cli.c:40:
/vpp/build-data/../vlib/vlib/buffer.h:50:24: fatal error: rte_config.h: No such file or directory
 #include <rte_config.h>
                        ^
compilation terminated.
In file included from /vpp/build-data/../vlib/vlib/vlib.h:53:0,
                 from /vpp/build-data/../vlib/vlib/counter.c:40:
/vpp/build-data/../vlib/vlib/buffer.h:50:24: fatal error: rte_config.h: No such file or directory
 #include <rte_config.h>

**Suggested fix **

What has worked for me (alagalah) is:


cd /vpp
make wipe wipe-release
make build

I did also try "autoreconf -i -f" without success (in vlib|vnet), not sure why they didn't work, as they often are the recommended and working solution:

**Alternate workaround **

The above solution might not always work. I had to do the following to get it to work:

''make dpdk-install-dev'' from the top.

Clone this wiki locally