<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 7 November 2014 19:41, Denys Dmytriyenko <span dir="ltr"><<a href="mailto:denis@denix.org" target="_blank">denis@denix.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb adM"><div class="">> | scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: word<br>
> unexpected (expecting ")")<br>
><br>
> I suspect the real problem is:<br>
><br>
> $ file fixdep<br>
> fixdep: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically<br>
> linked (uses shared libs), for GNU/Linux 2.6.32,<br>
> BuildID[sha1]=0xb4ea84a189f10b4f3e08fb10f8e490135e2b920c, not stripped<br>
><br>
> It appears to have been built using the target compiler, not the host.<br>
<br>
</div></div>Ross,<br>
<br>
I'm a bit lost here - as you said above, this is a target build and yet you<br>
say it shouldn't use the target compiler. Can you please explain what you<br>
mean?</blockquote></div><br>Yes, it's building a binary (fixdep) and then executing it. That binary needs to be built with the host compiler (BUILD_CC).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Easily replicated for me with "MACHINE=qemuarm bitbake u-boot-mkimage".</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>