Compilation error

Gedare Bloom gedare at rtems.org
Thu Dec 11 20:12:37 UTC 2014


Hello and Welcome!

Some more information is needed. What toolchain are you using? Are you
using Gaisler's RCC? Or the RPMs? Or did you build your own, if so did
you use RTEMS Source Builder to help? What host distro are you on?
(Sometimes helps to know.)

How do you build RTEMS? What 'configure' command line? Were there any
errors during 'configure'?

The log you posted looks like you already attempted 'make' before, and
it failed. What was the output from the first try?

-Gedare



On Thu, Dec 11, 2014 at 2:09 PM, Rui Pedro Caldeira
<rpcaldeira at outlook.com> wrote:
> Hey guys! I'm new here and to RTEMS. I swear i tried to find this elsewhere
> before bothering you.
>
> I'm compiling RTEMS 4.10 for sparc leon3
>
> and i get the following complilation error:
>
> fc38848 at Clevo:/opt/RTEMS/4.10.2_build$ make all install
> Making all in make
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/make'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/make'
> Making all in tools/build
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/tools/build'
> make  all-am
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/tools/build'
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/tools/build'
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/tools/build'
> Making all in tools/cpu
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/tools/cpu'
> Making all in generic
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/tools/cpu/generic'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/tools/cpu/generic'
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/tools/cpu'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/tools/cpu'
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/tools/cpu'
> Making all in sparc-rtems4.10.2/c
> make[1]: Entering directory `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c'
> Making all in .
> make[2]: Entering directory `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c'
> Making all in leon3
> make[2]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3'
> Making all in .
> make[3]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3'
> Making all in cpukit
> make[3]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit'
> make  all-recursive
> make[4]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit'
> Making all in .
> make[5]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit'
> make[5]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit'
> Making all in score
> make[5]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score'
> Making all in cpu
> make[6]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score/cpu'
> Making all in sparc
> make[7]: Entering directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score/cpu/sparc'
> rm -f libscorecpu.a
> no cru libscorecpu.a libscorecpu_a-cpu.o libscorecpu_a-cpu_asm.o
> /bin/bash: no: command not found
> make[7]: *** [libscorecpu.a] Error 127
> make[7]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score/cpu/sparc'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score/cpu'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c'
> make: *** [all-recursive] Error 1
>
> Anyone can help me?
>
> Best Regards,
> Rui Pedro Caldeira
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users



More information about the users mailing list