rtems-tools build errors after coverage tools patches

Cillian O'Donnell cpodonnell8 at gmail.com
Sat May 27 19:58:06 UTC 2017


Hi,

I am working on the GSOC coverage analysis tools project. There was some
previous work done SOCIS 2014
<http://kmiesowicz.blogspot.ie/2014/07/preparing-environment-for-rtems.html>
and SOCIS 2015 <http://socis2015rtems.blogspot.ie/>. I have just finished
going through and reapplying their patches, not everything still fitted
were it was supposed to. Now when I run ./waf build install

Waf: Entering directory
`/home/cpod/development/rtems/test/rtems-tools/build'
[136/147] Compiling tester/covoar/SymbolSet.cpp
In file included from ../tester/covoar/SymbolSet.cpp:9:0:
../rtl-host/rld-process.h:175:36: error: ‘strings’ in namespace ‘rld’ does
not name a type
       void write_lines (const rld::strings& ss);
                                    ^

Waf: Leaving directory `/home/cpod/development/rtems/test/rtems-tools/build'
Build failed
 -> task in 'ccovoar' failed with exit status 1 (run with -v to display
more information)

The line in question
is in
 namespace rld
 33 {
 34   namespace process
 35   {
          ...
 175   void write_lines (const rld::strings& ss);

There's no other reference to rld::strings in rld-process.h.


In rld.h there is

const strings split (strings&           se,
165                        const std::string& s,
166                        char               delimiter = ' ',
167                        bool               strip_quotes = true,
168                        bool               strip_whitespace = true,
169                        bool               empty = false);
170
171   /**
172    * Join the strings together with the separator.
173    */
174   const std::string join (const strings& ss, const std::string&
separator);

If 'const string split' counts as the definition it seems to match and the
usage in a similar way at the bottom 'const strings& ss', I'm not really
sure where to go with this, any ideas what I should take a look at next?

The current state of my rtems-tools branch is at github-link
<https://github.com/cillianodonnell/rtems-coverage-analysis-tools>.

Thanks,

Cillian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170527/7f317423/attachment.html>


More information about the devel mailing list