/bin/bash: no: command not found.

Wang, John (IVV-1800) john.wang-1 at nasa.gov
Fri Mar 18 14:32:56 UTC 2016


So I am compiling for the Leon 3 compiler

The command I am running after the configure is

sudo make all CC=/opt/rtems-4.10/bin/sparc-rtems-gcc 

make[7]: Entering directory `/opt/rtems-4.10build/sparc-rtems4.10/c/leon3/cpukit/score/cpu/sparc'
/opt/rtems-4.10/bin/sparc-rtems-gcc -DHAVE_CONFIG_H   -I../../.. -I../../../../cpukit/../../../leon3/lib/include   -mcpu=cypress -msoft-float -O2 -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libscorecpu_a-cpu.o -MD -MP -MF .deps/libscorecpu_a-cpu.Tpo -c -o libscorecpu_a-cpu.o `test -f 'cpu.c' || echo '../../../../../../../../rtems-4.10a/c/src/../../cpukit/score/cpu/sparc/'`cpu.c
mv -f .deps/libscorecpu_a-cpu.Tpo .deps/libscorecpu_a-cpu.Po
/opt/rtems-4.10/bin/sparc-rtems-gcc --pipe -DHAVE_CONFIG_H   -I../../.. -I../../../../cpukit/../../../leon3/lib/include  -DASM -mcpu=cypress -msoft-float -O2 -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -mcpu=cypress -msoft-float -O2 -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libscorecpu_a-cpu_asm.o -MD -MP -MF .deps/libscorecpu_a-cpu_asm.Tpo -c -o libscorecpu_a-cpu_asm.o `test -f 'cpu_asm.S' || echo '../../../../../../../../rtems-4.10a/c/src/../../cpukit/score/cpu/sparc/'`cpu_asm.S
mv -f .deps/libscorecpu_a-cpu_asm.Tpo .deps/libscorecpu_a-cpu_asm.Po
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.10build/sparc-rtems4.10/c/leon3/cpukit/score/cpu/sparc'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/opt/rtems-4.10build/sparc-rtems4.10/c/leon3/cpukit/score/cpu'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/opt/rtems-4.10build/sparc-rtems4.10/c/leon3/cpukit/score'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/rtems-4.10build/sparc-rtems4.10/c/leon3/cpukit'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/rtems-4.10build/sparc-rtems4.10/c/leon3/cpukit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/rtems-4.10build/sparc-rtems4.10/c/leon3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/rtems-4.10build/sparc-rtems4.10/c'
make: *** [all-recursive] Error 1

thanks

John 


________________________________________
From: Chris Johns [chrisj at rtems.org]
Sent: Thursday, March 17, 2016 6:19 PM
To: Wang, John (IVV-1800); users at rtems.org
Subject: Re: /bin/bash: no: command not found.

[ I removed the devel list to avoid cross posting.
   This is a user question and not an RTEMS developer question. ]

On 18/03/2016 07:28, Wang, John (IVV-1800) wrote:
> *So I got much further with make.  Now I have the following errors:*
>
> no cru libscorecup.a libscorecup_a-cpu.o libscorecpu_a-cp_asm.o
>
> /bin/bash: no: command not found.
>
> Can anyone shed some light on this?
>

Can you please provide some more detail? Maybe the last part of the
output with the error, your host and the command you entered?

Thanks
Chris



More information about the users mailing list