Difference between revisions of "VPP/Troubleshooting/BuildIssues"
From fd.io
								< VPP | Troubleshooting
												
				|  (→rte_config.h not found) | |||
| Line 1: | Line 1: | ||
| == rte_config.h not found == | == rte_config.h not found == | ||
| + | '''Issue''' | ||
| After a rebase or pulling latest master, a build may fail with following: | After a rebase or pulling latest master, a build may fail with following: | ||
| Line 14: | Line 15: | ||
| /vpp/build-data/../vlib/vlib/buffer.h:50:24: fatal error: rte_config.h: No such file or directory | /vpp/build-data/../vlib/vlib/buffer.h:50:24: fatal error: rte_config.h: No such file or directory | ||
|   #include <rte_config.h></nowiki> |   #include <rte_config.h></nowiki> | ||
| + | |||
| + | '''Suggested fix''' | ||
| + | |||
| + | What has worked for me (alagalah) is: | ||
| + |  <nowiki> | ||
| + | cd /vpp | ||
| + | make wipe wipe-release | ||
| + | make build</nowiki> | ||
| + | |||
| + | 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: | ||
Revision as of 13:44, 28 April 2016
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:
