What is "no" application? nm?

Ralf Corsepius ralf.corsepius at rtems.org
Mon Mar 31 15:43:41 UTC 2008


On Mon, 2008-03-31 at 18:17 +0300, Leon Pollak wrote:
> Hello, all.
> 
> While compiling my BSP under 4.8.0 the compilation fails on the following 
> message:
> 
> no -g -n hello.exe > hello.num
> /bin/sh: no: command not found
> gmake[5]: *** [hello.exe] Error 127
> gmake[5]: Leaving directory 
> `/opt/rtems-4.8.0/build/powerpc-rtems/c/FDR_8247/testsuites/samples/hello'
> gmake[4]: *** [install-recursive] Error 1
> gmake[4]: Leaving directory 
> `/opt/rtems-4.8.0/build/powerpc-rtems/c/FDR_8247/testsuites/samples'
> gmake[3]: *** [install-recursive] Error 1
> gmake[3]: Leaving directory 
> `/opt/rtems-4.8.0/build/powerpc-rtems/c/FDR_8247/testsuites'
> gmake[2]: *** [install-recursive] Error 1
> gmake[2]: Leaving directory `/opt/rtems-4.8.0/build/powerpc-rtems/c/FDR_8247'
> gmake[1]: *** [install-recursive] Error 1
> gmake[1]: Leaving directory `/opt/rtems-4.8.0/build/powerpc-rtems/c'
> make: *** [install-recursive] Error 1
> 
> 
> I guess that 'no' should be "nm", 
Almost, it should be your target's nm (powerpc-rtems4.8-nm).

> but my search in makefiles did not give such 
> string...:-(
> 
> Please, where is the problem?
Probably in your toolchain installation.

Very likely, you either don't have your toolchain installed correctly or
you PATH is set up incorrectly.

If using the rpms, you should have /opt/rtems-4.8/bin (the directory
containing <target>-nm) in $PATH.

Ralf





More information about the users mailing list