<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mar 18, 2018 6:48 AM, "Vidushi Vashishth" <<a href="mailto:reachvidu@gmail.com">reachvidu@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>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:</div><div><br></div><div>Command: </div><div><br></div><div>
<span></span>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">sparc-rtems5-gcc -Bsparc-rtems5/erc32/lib/ -specs bsp_specs -qrtems \</p>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="m_-4897610806608217424gmail-Apple-converted-space"> </span>-mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \</p>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="m_-4897610806608217424gmail-Apple-converted-space"> </span>-Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes \</p>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="m_-4897610806608217424gmail-Apple-converted-space"> </span>-Wnested-externs -Wl,--gc-sections -mcpu=cypress \</p>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="m_-4897610806608217424gmail-Apple-converted-space"> </span>-o sparc-rtems5/c/erc32/<wbr>testsuites/samples/fileio/<wbr>fileio.exe sparc-rtems5/c/erc32/<wbr>testsuites/samples/fileio/<wbr>init.o</p></div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">The -B option should have a full path not a partial one. The $prefix used when building the BSP is missing.</div><div dir="auto"><br></div><div dir="auto">Did you use a full path? Is there an argument missing to the invocation?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Error:</div><div> <span class="m_-4897610806608217424gmail-s1" style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><b>sparc-rtems5-gcc:</b> </span><span class="m_-4897610806608217424gmail-s2" style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>error:<span class="m_-4897610806608217424gmail-Apple-converted-space"> </span></b><span style="color:rgb(0,0,0)">bsp_specs: No such file or director</span></span></div><div><br></div><div><br></div><div>Command:</div><div><br></div><div>
<span></span>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-4897610806608217424gmail-s1" style="font-variant-ligatures:no-common-ligatures">rtems-tld -C fileio-trace.ini -W fileio-wrapper -- -Bsparc-rtems5/erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mcpu=cypress -o sparc-rtems5/c/erc32/<wbr>testsuites/samples/fileio/<wbr>fileio.exe sparc-rtems5/c/erc32/<wbr>testsuites/samples/fileio/<wbr>init.o</span></p>
<br></div><div>Error:</div><div>
<span></span>
<p class="m_-4897610806608217424gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-4897610806608217424gmail-s1" style="font-variant-ligatures:no-common-ligatures">error: /development/rtems/kernel/<wbr>erc32: Invalid RTEMS path</span></p>
<br></div><div>I am in quite a fix. My directory structure seems okay. Would appreciate some insight.</div><div><br></div><div><br></div><div>References:</div><div>[1] <a href="https://devel.rtems.org/wiki/Developer/Tracing/Trace_Buffering" target="_blank">https://devel.rtems.org/<wbr>wiki/Developer/Tracing/Trace_<wbr>Buffering</a></div><div><br></div><div>Best,</div><div>Vidushi</div></div>
<br>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div></div>