<div dir="ltr"><div>Thanks Joel! So rld-process.h couldn't find the typedef. It took a while for that to sink in... Spent yesterday focusing on '..build system changes' . I thought the problem was in covoar/wscript, read alot about waf (Probably be useful later on).<br><br></div>I added #include "rld.h" in rtemstoolkit/rld-process.h and that was it, build successful, happy days!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 May 2017 at 10:28, Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The namespace rld is the RTEMS loader. The type rld::strings is<div>defined in rld.h. This is a case where either grep or a tool like</div><div>cscope is very handy. :)</div><div><br></div><div>$ grep strings *.h </div><div><br></div><div><div>rld.h: typedef std::vector < std::string > strings;</div><div><br></div><div>The question is whether the file includes rld.h or not. And whether the</div><div>code you are modifying has the include path to see that file. </div><div><br></div><div>The code and waf infrastructure has progressed since the patches you</div><div>are starting with so expect some breakage, build system changes, etc..</div><div><br></div><div>That should be enough to find the issue but Chris may have more </div><div>insight when he is awake.</div><div><br></div><div>--joel</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, May 27, 2017 at 5:28 PM, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Ok sorry I've just realised the const strings split(...) function is obviously something else with the split bit. <br><br></div><div>For the problem line void write_lines (const rld::strings& ss);<br><br>If I remove 'const' I get<br>../rtl-host/rld-process.h:175:<wbr>30: error: ‘rld::strings’ has not been declared<br> void write_lines (rld::strings& ss);<br><br></div>If I change to 'const' to 'void' I get<br>../rtl-host/rld-process.h:175:<wbr>42: error: expected unqualified-id before ‘&’ token<br> void write_lines (void rld::strings& ss);<br> <wbr> ^<br>../rtl-host/rld-process.h:175:<wbr>42: error: expected ‘)’ before ‘&’ token<br>../rtl-host/rld-process.h:175:<wbr>42: error: expected ‘;’ at end of member declaration<br>../rtl-host/rld-process.h:175:<wbr>44: error: ‘ss’ does not name a type<br> void write_lines (void rld::strings& ss);<br><br></div>If I remove the line completely just to see will it run without it<br>[146/147] Linking build/tester/covoar/covoar<br>/usr/bin/ld: cannot find -lrld<br>/usr/bin/ld: cannot find -liberty<br>/usr/bin/ld: cannot find -lelf<br>collect2: error: ld returned 1 exit status<br><br></div>I can't really think of anything else to try, any hints at all would be great.<br><br></div>Thanks,<br><br></div>Cillian.<br></div>
<br></div></div>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>