Building rtems-4.11

Kev Fei kev1fei at gmail.com
Sat Nov 23 00:33:30 UTC 2013


Hello,

I am trying to build rtems 4.11 on Linux Mint 13 LTS 64-bit for sparc as
part of Google Code-In.

I used the RTEMS Source Builder to build these tools and I think I have
them installed correctly:

ls /opt/rtems-4.11/bin
> cklength                    sparc-rtems4.11-gcov
> eolstrip                    sparc-rtems4.11-gdb
> install-if-change           sparc-rtems4.11-gprof
> packhex                     sparc-rtems4.11-ld
> rtems-bin2c                 sparc-rtems4.11-ld.bfd
> sparc-rtems4.11-addr2line   sparc-rtems4.11-nm
> sparc-rtems4.11-ar          sparc-rtems4.11-objcopy
> sparc-rtems4.11-as          sparc-rtems4.11-objdump
> sparc-rtems4.11-c++         sparc-rtems4.11-ranlib
> sparc-rtems4.11-c++filt     sparc-rtems4.11-readelf
> sparc-rtems4.11-cpp         sparc-rtems4.11-run
> sparc-rtems4.11-difftest    sparc-rtems4.11-sis
> sparc-rtems4.11-elfedit     sparc-rtems4.11-size
> sparc-rtems4.11-g++         sparc-rtems4.11-sorttimes
> sparc-rtems4.11-gcc-4.8.1   sparc-rtems4.11-strings
> sparc-rtems4.11-gcc-ar      sparc-rtems4.11-strip
> sparc-rtems4.11-gcc-nm      unhex
> sparc-rtems4.11-gcc-ranlib  xmlwf
>
> Now I'm trying to build rtems, following the Quick Start.

In $HOME/GCIdevelopment/rtems,
*Terminal:

> git clone git://git.rtems.org/rtems.git rtems
> cd rtems
> export PATH=/opt/rtems-4.11/bin:$PATH
> ./bootstrap
>

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.

../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis
> --enable-tests=samples --disable-posix
> make
>

And I get:

> configure: error: no acceptable cc found in $PATH
>

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.

I try the above two commands again and it still doesn't work.
Output:

> Making all in tools/build
> make[1]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'
> make  all-am
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'
> make[1]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/build'
> Making all in tools/cpu
> make[1]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'
> Making all in generic
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu/generic'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu/generic'
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'
> make[1]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/tools/cpu'
> Making all in testsuites/tools
> make[1]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'
> Making all in generic
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools/generic'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools/generic'
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'
> make[1]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/testsuites/tools'
> Making all in sparc-rtems4.11/c
> make[1]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'
> Making all in .
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'
> Making all in sis
> make[2]: Entering directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c/sis'
> make[2]: *** No rule to make target `all'.  Stop.
> make[2]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c/sis'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/kevin/GCIdevelopment/rtems/b-sis/sparc-rtems4.11/c'
> make: *** [all-recursive] Error 1
>

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.

Does anybody have any ideas on what's going on? Thank you!

Kevin Fei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20131122/883257b2/attachment.html>


More information about the users mailing list