Compilation error
Rui Pedro Caldeira
rpcaldeira at outlook.com
Fri Dec 12 12:38:10 UTC 2014
Hello to all!
I just solved the problem and wanted to state the solution for the record.
Since the error was occurring in the
*/opt/RTEMS/4.10.2_build/sparc-rtems4.10.2/c/leon3/cpukit/score/cpu/sparc*
directory I've decided to go and take a look at its *Makefile*. 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 *(ln -s
./sparc-rtems4.10-ar no)* and the compilation was without a problem after
that.
Thanks for all your help everyone :)
Regards and Happy Holidays,
Rui
Cumprimentos,
Rui Pedro Caldeira
On Thu, Dec 11, 2014 at 8:46 PM, Rui Pedro Caldeira <rpcaldeira at outlook.com>
wrote:
>
> Hello again Gedare, and thank you for the warm welcome :)
>
> I'm sorry if i did not put up this information previously but here it
> comes:
>
>
> - OS: Xubuntu 14.04
> - fc38848 at Clevo:~$ uname -a
> 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
> - Toolchain: RTEMS Source Builder - Command:
> ../source-builder/sb-set-builder --log=l-sparc.txt
> --prefix=/opt/RTEMS/4.10.2_tools/ 4.10/rtems-sparc
> - 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
> - Configure log: http://pastebin.com/duHk618n
> - First time make log: http://pastebin.com/UiDYy5Js
>
> Thanks for all your help really :)
> Rui
>
>
> Cumprimentos,
> Rui Pedro Caldeira
>
> On Thu, Dec 11, 2014 at 8:12 PM, Gedare Bloom <gedare at rtems.org> wrote:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20141212/d0dafa67/attachment-0002.html>
More information about the users
mailing list