I had logged the verbose output from waf building the testsuite, but I missed a couple of linker options in my makefile. It links now. Is there a standalone rtems-libbsd example with a waf script or makefile? Thank your for your quick response, Alan
On Fri, Feb 28, 2020 at 1:25 AM Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote: > > On 28/02/2020 04:40, Alan Cudmore wrote: > > Hi Lou, > > Did you ever solve this problem? > > I just tried linking an out of tree program for the beaglebone black > > BSP and have the same undefined symbols. The testsuite links correctly > > and the symbols are in the testsuite binaries, but not in libbsd.a > > For libbsd it is required that you link with the section garbage > collection enabled: -Wl,--gc-sections > > This is how the tests are linked. If you omit the -Wl,--gc-sections in > your application you do something which is not tested. > > -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel