Also check waf with -v.
after adding the path it gives the following error with -v
--
Waf: Entering directory `/home/lunatic/development/rtems/test/rtems-tools/build'
[227/229] Linking build/tester/covoar/trace-converter
03:22:35 runner ['/usr/bin/g++', 'tester/covoar/TraceConverter.cc.2.o',
'tester/covoar/TraceList.cc.2.o', 'tester/covoar/TraceReaderBase.cc.2.o',
'tester/covoar/TraceReaderLogQEMU.cc.2.o',
'tester/covoar/TraceWriterBase.cc.2.o', 'tester/covoar/TraceWriterQEMU.cc.2.o',
'-o/home/lunatic/development/rtems/test/rtems-tools/build/tester/covoar/trace-converter',
'-Wl,-Bstatic', '-Ltester/covoar', '-Lrtemstoolkit', '-lccovoar', '-lrld',
'-ldwarf', '-lelf', '-liberty', '-Wl,-Bdynamic']
[229/229] Linking build/tester/covoar/covoar
03:22:35 runner ['/usr/bin/g++', 'tester/covoar/covoar.cc.3.o',
'-o/home/lunatic/development/rtems/test/rtems-tools/build/tester/covoar/covoar',
'-Wl,-Bstatic', '-Ltester/covoar', '-Lrtemstoolkit', '-lccovoar', '-lrld',
'-ldwarf', '-lelf', '-liberty', '-Wl,-Bdynamic']
tester/covoar/libccovoar.a(DesiredSymbols.cc.1.o): In function
`Coverage::DesiredSymbols::determineSourceLines(Coverage::CoverageRanges*,
Coverage::ExecutableInfo*)':
/home/lunatic/development/rtems/test/rtems-tools/build/../tester/covoar/DesiredSymbols.cc:413:
undefined reference to
`rld::path::__xpg_basename(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
/home/lunatic/development/rtems/test/rtems-tools/build/../tester/covoar/DesiredSymbols.cc:415:
undefined reference to
`rld::path::__xpg_basename(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status