All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Aid for buildroot compilation
@ 2016-12-30 12:00 Ricardo Herrero
  2016-12-30 16:50 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Herrero @ 2016-12-30 12:00 UTC (permalink / raw)
  To: buildroot

Hello,

 I have been trying to make with buildroot 2016.05 many times and I?m
getting always the same error. I wanted to confirm if my problem is due to
my self incompetence or if there has been an update which has changed
something that affects my setup. I send the error and the .config file. If
this is not the right list to ask for help, can you guide me to the correct
one? Thanks in advance for the help.

This is the error when I make:

*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"*
*                      ^*
*compilation terminated.*
*/home/dte/Documents/de1soc/buildroot-2016.05/output/build/uboot-rel_acds13.0sp1/lib/crc32.c:12:20:
fatal error: common.h: No such file or directory*
* #include <common.h>*
*                    ^*
*compilation terminated.*
*gcc -O2
-I/home/dte/Documents/de1soc/buildroot-2016.05/output/host/usr/include   -o
mkenvimage.o mkenvimage.c -c*
*/home/dte/Documents/de1soc/buildroot-2016.05/output/build/uboot-rel_acds13.0sp1/rules.mk:64
<http://rules.mk:64>: recipe for target 'img2srec.o' failed*
*make[3]: *** [img2srec.o] Error 1*
*make[3]: *** Waiting for unfinished jobs....*
*Makefile:251: recipe for target 'crc32.o' failed*
*make[3]: *** [crc32.o] Error 1*
*make[3]: *** wait: No child processes.  Stop.*
*Makefile:548: recipe for target 'tools' failed*
*make[2]: *** [tools] Error 2*
*package/pkg-generic.mk:195 <http://pkg-generic.mk:195>: recipe for target
'/home/dte/Documents/de1soc/buildroot-2016.05/output/build/uboot-rel_acds13.0sp1/.stamp_built'
failed*
*make[1]: ***
[/home/dte/Documents/de1soc/buildroot-2016.05/output/build/uboot-rel_acds13.0sp1/.stamp_built]
Error 2*
*Makefile:36: recipe for target '_all' failed*
*make: *** [_all] Error 2*

If you want I can send the .config file

Thanks for the help again,
Best Regards, Ricardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161230/3d587462/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Aid for buildroot compilation
  2016-12-30 12:00 [Buildroot] Aid for buildroot compilation Ricardo Herrero
@ 2016-12-30 16:50 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-30 16:50 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-30 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-30 12:00 [Buildroot] Aid for buildroot compilation Ricardo Herrero
2016-12-30 16:50 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.