Error in Trace-buffering example

Chris Johns chrisj at rtems.org
Mon Mar 19 05:50:00 UTC 2018


On 19/03/2018 03:44, Joel Sherrill wrote:
> On Mar 18, 2018 6:48 AM, "Vidushi Vashishth" <reachvidu at gmail.com
> <mailto:reachvidu at gmail.com>> wrote:
> 
>     Hello!
> 
>     I am hoping to apply to Gsoc'18 for the runtime tracing project. I am
>     following the RTEMS tracing documentation [1] and have been trying to run
>     the fileio trace sample to familiarise with how traces are generated. I have
>     set the rtems-path to the installed BSP erc32 in the fileio-trace.ini. The
>     directory structure of my set up is the same as provided in the User manual.
>     However while trying to link the fileio.exe I get a few errors:
> 
>     Command: 
> 
>     sparc-rtems5-gcc -Bsparc-rtems5/erc32/lib/ -specs bsp_specs -qrtems \
> 
>               -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \
> 
>               -Wmissing-prototypes -Wimplicit-function-declaration
>     -Wstrict-prototypes \
> 
>               -Wnested-externs -Wl,--gc-sections -mcpu=cypress \
> 
>               -o sparc-rtems5/c/erc32/testsuites/samples/fileio/fileio.exe
>     sparc-rtems5/c/erc32/testsuites/samples/fileio/init.o
> 
> 
> The -B option should have a full path not a partial one. The $prefix used when
> building the BSP is missing.
> 
> Did you use a full path? Is there an argument missing to the invocation?
> 

The link provided to our wiki does not have the full path. I am not sure why ...

>     References:
>     [1] https://devel.rtems.org/wiki/Developer/Tracing/Trace_Buffering
>     <https://devel.rtems.org/wiki/Developer/Tracing/Trace_Buffering>

Chris



More information about the devel mailing list