<div dir="ltr"><div><div><div>Hello Cláudio! You are very right! Everything went right. I was trying to be as much specific as possible and ended up messing things up.<br><br></div>Thanks a million!<br><br></div>Best regards,<br></div>Rui<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Cumprimentos,<br>Rui Pedro Caldeira</div></div>
<br><div class="gmail_quote">On Fri, Dec 12, 2014 at 1:41 PM, Cláudio Silva <span dir="ltr"><<a href="mailto:claudiodcsilva@gmail.com" target="_blank">claudiodcsilva@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rui, <br><br>I guess the initial problem is that you are configuring RTEMS with the wrong target; your target should be "sparc-rtems4.10" and not "sparc-rtems4.10.2". This target triplet is used during the configure process to find the cross-compilation toolchain. In your case, configure is not able to find the tools (line 703 of your configure log) and it is trying to use no, as in *no* sparc-rtems4.10-ar found, as the ar tool. Nonetheless, I don't know why configure is not existing with an error condition. <div><br></div><div>If you correct the target all should proceed correctly.<br><div><br></div><div><div>Cumprimentos,</div><div>Cláudio</div></div></div><br><div class="gmail_quote"><span class="">On Fri Dec 12 2014 at 12:40:09 Rui Pedro Caldeira <<a href="mailto:rpcaldeira@outlook.com" target="_blank">rpcaldeira@outlook.com</a>> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div><div><div><div><div>Hello to all!<br><br></div>I just solved the problem and wanted to state the solution for the record.<br><br></div>Since the error was occurring in the <b>/opt/RTEMS/4.10.2_build/sparc-<u></u>rtems4.10.2/c/leon3/cpukit/<u></u>score/cpu/sparc</b> directory I've decided to go and take a look at its <b>Makefile</b>. My search started my looking for the "cru" keyword. I've found the line 124: ARFLAGS = cru. Then I've searched for the "no" keyword and found the line 233: AR = no. My thought was that no was an supposed alias for the archiver (AR) utility. After that was easy creating a "no" simlink to the "sparc-rtems4.10-ar" in the RTEMS tools directory <b>(ln -s ./sparc-rtems4.10-ar no)</b> and the compilation was without a problem after that.<br><br></div>Thanks for all your help everyone :)<br><br></div>Regards and Happy Holidays,<br></div></span>Rui<br></div><div class="gmail_extra"><br clear="all"><div><div>Cumprimentos,<br>Rui Pedro Caldeira</div></div>
<br><div class="gmail_quote"></div></div><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 11, 2014 at 8:46 PM, Rui Pedro Caldeira <span dir="ltr"><<a href="mailto:rpcaldeira@outlook.com" target="_blank">rpcaldeira@outlook.com</a>></span> wrote:</div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello again Gedare, and thank you for the warm welcome :)<br><br></div>I'm sorry if i did not put up this information previously but here it comes:<br><br></div><div><ul><li>OS: Xubuntu 14.04</li><li>fc38848@Clevo:~$ uname -a<br>Linux Clevo 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux</li><li>Toolchain: RTEMS Source Builder - Command: ../source-builder/sb-set-<u></u>builder --log=l-sparc.txt --prefix=/opt/RTEMS/4.10.2_<u></u>tools/ 4.10/rtems-sparc</li><li>Configure command-line: ../4.10.2_src/configure --target=sparc-rtems4.10.2 --enable-rtemsbsp=leon3 --enable-posix --enable-tests=samples --disable-itron --disable-networking --disable-cxx --dis --disable-testsle-rtemsdebug</li><li>Configure log: <a href="http://pastebin.com/duHk618n" target="_blank">http://pastebin.com/duHk618n</a><br></li><li>First time make log: <a href="http://pastebin.com/UiDYy5Js" target="_blank">http://pastebin.com/UiDYy5Js</a><br></li></ul>Thanks for all your help really :)<br></div><div>Rui<br></div><div><br></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><br clear="all"><div><div>Cumprimentos,<br>Rui Pedro Caldeira</div></div><div><div>
<br><div class="gmail_quote"></div></div></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div><div class="gmail_quote">On Thu, Dec 11, 2014 at 8:12 PM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br></div></div></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello and Welcome!<br>
<br>
Some more information is needed. What toolchain are you using? Are you<br>
using Gaisler's RCC? Or the RPMs? Or did you build your own, if so did<br>
you use RTEMS Source Builder to help? What host distro are you on?<br>
(Sometimes helps to know.)<br>
<br>
How do you build RTEMS? What 'configure' command line? Were there any<br>
errors during 'configure'?<br>
<br>
The log you posted looks like you already attempted 'make' before, and<br>
it failed. What was the output from the first try?<br>
<br>
-Gedare<br>
<div><div><br>
<br>
<br>
On Thu, Dec 11, 2014 at 2:09 PM, Rui Pedro Caldeira<br>
<<a href="mailto:rpcaldeira@outlook.com" target="_blank">rpcaldeira@outlook.com</a>> wrote:<br>
> Hey guys! I'm new here and to RTEMS. I swear i tried to find this elsewhere<br>
> before bothering you.<br>
><br>
> I'm compiling RTEMS 4.10 for sparc leon3<br>
><br>
> and i get the following complilation error:<br>
><br>
> fc38848@Clevo:/opt/RTEMS/4.10.<u></u>2_build$ make all install<br>
> Making all in make<br>
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/make'<br>
> make[1]: Nothing to be done for `all'.<br>
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/make'<br>
> Making all in tools/build<br>
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>tools/build'<br>
> make  all-am<br>
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>tools/build'<br>
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>tools/build'<br>
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>tools/build'<br>
> Making all in tools/cpu<br>
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>tools/cpu'<br>
> Making all in generic<br>
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>tools/cpu/generic'<br>
> make[2]: Nothing to be done for `all'.<br>
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>tools/cpu/generic'<br>
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>tools/cpu'<br>
> make[2]: Nothing to be done for `all-am'.<br>
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>tools/cpu'<br>
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>tools/cpu'<br>
> Making all in sparc-rtems4.10.2/c<br>
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c'<br>
> Making all in .<br>
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c'<br>
> make[2]: Nothing to be done for `all-am'.<br>
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c'<br>
> Making all in leon3<br>
> make[2]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3'<br>
> Making all in .<br>
> make[3]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3'<br>
> make[3]: Nothing to be done for `all-am'.<br>
> make[3]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3'<br>
> Making all in cpukit<br>
> make[3]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit'<br>
> make  all-recursive<br>
> make[4]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit'<br>
> Making all in .<br>
> make[5]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit'<br>
> make[5]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit'<br>
> Making all in score<br>
> make[5]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit/score'<br>
> Making all in cpu<br>
> make[6]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit/score/cpu'<br>
> Making all in sparc<br>
> make[7]: Entering directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit/score/cpu/sparc'<br>
> rm -f libscorecpu.a<br>
> no cru libscorecpu.a libscorecpu_a-cpu.o libscorecpu_a-cpu_asm.o<br>
> /bin/bash: no: command not found<br>
> make[7]: *** [libscorecpu.a] Error 127<br>
> make[7]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit/score/cpu/sparc'<br>
> make[6]: *** [all-recursive] Error 1<br>
> make[6]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit/score/cpu'<br>
> make[5]: *** [all-recursive] Error 1<br>
> make[5]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit/score'<br>
> make[4]: *** [all-recursive] Error 1<br>
> make[4]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit'<br>
> make[3]: *** [all] Error 2<br>
> make[3]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3/<u></u>cpukit'<br>
> make[2]: *** [all-recursive] Error 1<br>
> make[2]: Leaving directory<br>
> `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c/leon3'<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/<u></u>sparc-rtems4.10.2/c'<br>
> make: *** [all-recursive] Error 1<br>
><br>
> Anyone can help me?<br>
><br>
> Best Regards,<br>
> Rui Pedro Caldeira<br>
><br>
</div></div>> ______________________________<u></u>_________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></div></div></div></div></blockquote></div></div>
______________________________<u></u><u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/<u></u>mailman<u></u>/listinfo/users</a></div></div></blockquote></div>
</blockquote></div></div>