[Buildroot] Aid for buildroot compilation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Dec 30 16:50:50 UTC 2016


Hello,

On Fri, 30 Dec 2016 13:00:14 +0100, Ricardo Herrero wrote:

> *In file included from img2srec.c:55:0:*
> *os_support.h:22:22: fatal error: compiler.h: No such file or directory*
> * #include "compiler.h"*

I suspect you're trying to build a too old version of U-Boot with a too
recent host gcc version (like 5.x).

> If you want I can send the .config file

Yes, please. However, make sure that we can actually build it,
especially make sure that we have access to the U-Boot source code. If
we can't access it, then there isn't much we can do besides give the
above potential explanation.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list