<div dir="ltr"><div><div>Hello,<br><br></div>I am trying to build rtems 4.11 on Linux Mint 13 LTS 64-bit for sparc as part of Google Code-In.<br><br></div>I used the RTEMS Source Builder to build these tools and I think I have them installed correctly:<br>
<div><br clear="all"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-family:courier new,monospace">ls /opt/rtems-4.11/bin<br>cklength sparc-rtems4.11-gcov<br>
eolstrip sparc-rtems4.11-gdb<br>install-if-change sparc-rtems4.11-gprof<br>packhex sparc-rtems4.11-ld<br>rtems-bin2c sparc-rtems4.11-ld.bfd<br>sparc-rtems4.11-addr2line sparc-rtems4.11-nm<br>
sparc-rtems4.11-ar sparc-rtems4.11-objcopy<br>sparc-rtems4.11-as sparc-rtems4.11-objdump<br>sparc-rtems4.11-c++ sparc-rtems4.11-ranlib<br>sparc-rtems4.11-c++filt sparc-rtems4.11-readelf<br>sparc-rtems4.11-cpp sparc-rtems4.11-run<br>
sparc-rtems4.11-difftest sparc-rtems4.11-sis<br>sparc-rtems4.11-elfedit sparc-rtems4.11-size<br>sparc-rtems4.11-g++ sparc-rtems4.11-sorttimes<br>sparc-rtems4.11-gcc-4.8.1 sparc-rtems4.11-strings<br>sparc-rtems4.11-gcc-ar sparc-rtems4.11-strip<br>
sparc-rtems4.11-gcc-nm unhex<br>sparc-rtems4.11-gcc-ranlib xmlwf</span><br><br></blockquote>Now I'm trying to build rtems, following the Quick Start.<br></div><div><br>In $HOME/GCIdevelopment/rtems,<br>*Terminal:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-family:courier new,monospace">git clone git://<a href="http://git.rtems.org/rtems.git">git.rtems.org/rtems.git</a> rtems<br>
cd rtems<br>export PATH=/opt/rtems-4.11/bin:$PATH<br>./bootstrap</span><br></blockquote><br>First I had to update automake and autoconf. rtems required versions higher than what the repositories had, so I had to google them and install them from source, which was easy enough.<br>
<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-family:courier new,monospace">../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis --enable-tests=samples --disable-posix<br>
make<br></span></blockquote><br>And I get:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-family:courier new,monospace">configure: error: no acceptable cc found in $PATH<br>
</span></blockquote><br>Although sparc-rtems4.11-gcc-4.8.1 is already in rtems/b-sis/sparc-rtems4.11, I copy the other tools gcc-ar, gcc-nm, and gcc-ranlib too.<br><br>I try the above two commands again and it still doesn't work.<br>
</div><div>Output:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-family:courier new,monospace">Making all in tools/build<br>
make[1]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'<br>
make all-am<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'<br>make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'<br>make[1]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'<br>
Making all in tools/cpu<br>make[1]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'<br>Making all in generic<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu/generic'<br>
make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu/generic'<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'<br>
make[2]: Nothing to be done for `all-am'.<br>make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'<br>make[1]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'<br>Making all in testsuites/tools<br>
make[1]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'<br>Making all in generic<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools/generic'<br>make[2]: Nothing to be done for `all'.<br>
make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools/generic'<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'<br>make[2]: Nothing to be done for `all-am'.<br>
make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'<br>make[1]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'<br>Making all in sparc-rtems4.11/c<br>make[1]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'<br>
Making all in .<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'<br>make[2]: Nothing to be done for `all-am'.<br>make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'<br>
Making all in sis<br>make[2]: Entering directory `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c/sis'<br>make[2]: *** No rule to make target `all'. Stop.<br>make[2]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c/sis'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'<br>make: *** [all-recursive] Error 1</span><br></blockquote></div><div><br clear="all"><div>
<div><div>I have tried --enable-posix instead as well as removing the posix tag altogether. Google searches for ***No rule to make target 'all'. errors have not been very helpful.<br><br></div><div>Does anybody have any ideas on what's going on? Thank you!<br>
<br></div><div>Kevin Fei</div></div></div></div></div>