http://www.mail-archive.com/u-boot-us...@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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to