[U-Boot] silly error caused by /usr/local/include/config.h - STD_END_SIZE build failure
Luke Kenneth Casson Leighton
luke.leighton at gmail.com
Tue Nov 9 16:59:32 CET 2010
http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg07045.html
i've tracked down what the problem is, and the fix to avoid the
problem occurring in the future is either:
a) do as the person says - #include "../config.h" not #include <config.h>
b) add -I. to the gcc compile options, to prioritise cwd over
/usr/local/include and /usr/include.
c) create a gcc spec file (in /usr/lib/gcc/....) which doesn't have
/usr/local/include or /usr/include
this latter is not a serious suggestion.
i encountered this exact same problem because i happened to have some
f****g stupid package install a config.h file in /usr/local/include -
but to delete that file is NOT the solution.
l.
More information about the U-Boot
mailing list