[Rock-dev] The "undefined symbols" warnings at the end of the autoproj build is NOT just for the beauty of magenta text

Sylvain Joyeux sylvain.joyeux at dfki.de
Thu Dec 16 11:06:10 CET 2010


They are a real problem and *need* to be fixed

To check where the undefined symbols come from, do

   ldd -r LIBRARY


Example on iMoby builds:
   WARN: /home/sylvain/imoby/install/lib/libasguard-viz.so has undefined 
symbols
   WARN: /home/sylvain/imoby/install/lib/libcorridor_planner_vis.so has 
undefined symbols
   WARN: /home/sylvain/imoby/install/lib/libenview.so has undefined symbols
   WARN: /home/sylvain/imoby/install/lib/libenvire-viz.so has undefined 
symbols
   WARN: /home/sylvain/imoby/install/lib/libeslam-viz.so has undefined 
symbols
   WARN: /home/sylvain/imoby/install/lib/libeslam.so has undefined symbols

And

ldd -r /home/sylvain/imoby/install/lib/libcorridor_planner_vis.so

Gives


undefined symbol: _ZN6envire25AsynchronousEventListener10getHandlerEv 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZTIN6envire25AsynchronousEventListenerE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZN6envire13EventListener10getHandlerEv 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: 
_ZN6envire13EventListener12itemAttachedEPNS_15EnvironmentItemE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: 
_ZN6envire13EventListener12itemDetachedEPNS_15EnvironmentItemE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZN6envire13EventListener10childAddedEPNS_5LayerES2_ 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZN6envire13EventListener12childRemovedEPNS_5LayerES2_ 
        (/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: 
_ZN6envire13EventListener12itemModifiedEPNS_15EnvironmentItemE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZTVN6envire25AsynchronousEventListenerE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZTVN6envire25AsynchronousEventListener7HandlerE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZN6envire25AsynchronousEventListener13processEventsEv 
        (/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: 
_ZN6envire11Environment16addEventListenerEPNS_13EventListenerE 
(/home/sylvain/imoby/install/lib/libenview.so)
undefined symbol: _ZNK6envire25AsynchronousEventListener9hasEventsEv 
(/home/sylvain/imoby/install/lib/libenview.so)

The problem is therefore in libenview, not corridor_planner in this case

Sylvain


More information about the Rock-dev mailing list