VPP/Troubleshooting/BuildIssues

From fd.io
< VPP‎ | Troubleshooting
Revision as of 13:44, 28 April 2016 by Alagalah (Talk | contribs)

Jump to: navigation, search

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: