rtems-tools build errors after coverage tools patches
Joel Sherrill
joel at rtems.org
Sun May 28 09:28:20 UTC 2017
The namespace rld is the RTEMS loader. The type rld::strings is
defined in rld.h. This is a case where either grep or a tool like
cscope is very handy. :)
$ grep strings *.h
rld.h: typedef std::vector < std::string > strings;
The question is whether the file includes rld.h or not. And whether the
code you are modifying has the include path to see that file.
The code and waf infrastructure has progressed since the patches you
are starting with so expect some breakage, build system changes, etc..
That should be enough to find the issue but Chris may have more
insight when he is awake.
--joel
On Sat, May 27, 2017 at 5:28 PM, Cillian O'Donnell <cpodonnell8 at gmail.com>
wrote:
> Ok sorry I've just realised the const strings split(...) function is
> obviously something else with the split bit.
>
> For the problem line void write_lines (const rld::strings& ss);
>
> If I remove 'const' I get
> ../rtl-host/rld-process.h:175:30: error: ‘rld::strings’ has not been
> declared
> void write_lines (rld::strings& ss);
>
> If I change to 'const' to 'void' I get
> ../rtl-host/rld-process.h:175:42: error: expected unqualified-id before
> ‘&’ token
> void write_lines (void rld::strings& ss);
> ^
> ../rtl-host/rld-process.h:175:42: error: expected ‘)’ before ‘&’ token
> ../rtl-host/rld-process.h:175:42: error: expected ‘;’ at end of member
> declaration
> ../rtl-host/rld-process.h:175:44: error: ‘ss’ does not name a type
> void write_lines (void rld::strings& ss);
>
> If I remove the line completely just to see will it run without it
> [146/147] Linking build/tester/covoar/covoar
> /usr/bin/ld: cannot find -lrld
> /usr/bin/ld: cannot find -liberty
> /usr/bin/ld: cannot find -lelf
> collect2: error: ld returned 1 exit status
>
> I can't really think of anything else to try, any hints at all would be
> great.
>
> Thanks,
>
> Cillian.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170528/97a270ec/attachment-0002.html>
More information about the devel
mailing list