<div dir="ltr">These lines seem to be suspicious to me. A lot of "No such file or directory".<br>What can you tell from them?<br><br><div>[pid  3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/host/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory)</div><div>[pid  3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/toolchain-_gcc-_-/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory)</div><div>[pid  3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/host/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory)</div><div>[pid  3669] execve("/usr/lib/hardening-wrapper/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory)</div><div>[pid  3669] execve("/usr/local/sbin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory)</div><div>[pid  3669] execve("/usr/local/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory)</div><div>[pid  3669] execve("/usr/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/<a href="http://prereq-build.mk">prereq-build.mk</a> check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = 0<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 November 2015 at 07:19, Paul Fertser <span dir="ltr"><<a href="mailto:fercerpav@gmail.com" target="_blank">fercerpav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hannu Nyman <<a href="mailto:hannu.nyman@iki.fi">hannu.nyman@iki.fi</a>> writes:<br>
> If you are really interested, check the test command from lines 39-40<br>
> manually:<br>
> echo 'int main(int argc, char **argv) { return 0; }' | gcc -x c -o $<br>
> (TMP_DIR)/a.out -<br>
<br>
</span>Looking at "strace -f -s99999 make" is often providing enough clues too.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Be free, use free (<a href="http://www.gnu.org/philosophy/free-sw.html" rel="noreferrer" target="_blank">http://www.gnu.org/philosophy/free-sw.html</a>) software!<br>
mailto:<a href="mailto:fercerpav@gmail.com">fercerpav@gmail.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div><div>Carlos Miguel Ferreira</div><div>Researcher at Telecommunications Institute</div><div>Aveiro - Portugal</div><div>Work E-mail - <a href="mailto:cmf@av.it.pt" target="_blank">cmf@av.it.pt</a></div><div>Skype & GTalk -> <a href="http://carlosmf.pt" target="_blank">carlosmf.pt</a>@<a href="http://gmail.com" target="_blank">gmail.com</a></div><div>LinkedIn -> <a href="http://www.linkedin.com/in/carlosmferreira" target="_blank">http://www.linkedin.com/in/carlosmferreira</a></div></div></div>
</div>