Re: [U-Boot] silly error caused by /usr/local/include/config.h - STD_END_SIZE build failure

2010-11-09 Thread Luke Kenneth Casson Leighton
On Tue, Nov 9, 2010 at 5:38 PM, Luke Kenneth Casson Leighton wrote: > geez, this really _isn't_ good - i've found _yet another_ > identically-caused error, because i happen to have linux header files > installed locally (/usr/include/linux) and the default HOST-CC setup > compilation has that taki

Re: [U-Boot] silly error caused by /usr/local/include/config.h - STD_END_SIZE build failure

2010-11-09 Thread Luke Kenneth Casson Leighton
geez, this really _isn't_ good - i've found _yet another_ identically-caused error, because i happen to have linux header files installed locally (/usr/include/linux) and the default HOST-CC setup compilation has that taking precedence over ./include/linux in the u-boot sources - so include/linux/m

[U-Boot] silly error caused by /usr/local/include/config.h - STD_END_SIZE build failure

2010-11-09 Thread Luke Kenneth Casson Leighton
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 b) add -I. to the gcc compile options, to priori