Are you using any of the boost libraries that relies on Boost.System?  If so you need to add system to the boost rospack_link_boost line.

If not a package you depend on is exposing it in its headers and not exporting the boost flags.  Adding system to your link line will still work, but we should figure out which package it is.

Josh

On Tue, Apr 20, 2010 at 7:30 AM, Robbie Plankenhorn <rplankenhorn@gmail.com> wrote:
Is there any reason why I would be getting this error when compiling my own packages?  I just started getting this error.

/usr/bin/ld: CMakeFiles/test_client.dir/test_client.o: in function __static_initialization_and_destruction_0(int, int):test_client.cpp(.text+0x1be): error: undefined reference to 'boost::system::get_system_category()'
  /usr/bin/ld: CMakeFiles/test_client.dir/test_client.o: in function __static_initialization_and_destruction_0(int, int):test_client.cpp(.text+0x1c8): error: undefined reference to 'boost::system::get_generic_category()'
  /usr/bin/ld: CMakeFiles/test_client.dir/test_client.o: in function __static_initialization_and_destruction_0(int, int):test_client.cpp(.text+0x1d2): error: undefined reference to 'boost::system::get_generic_category()'
  /usr/bin/ld: CMakeFiles/test_client.dir/test_client.o: in function __static_initialization_and_destruction_0(int, int):test_client.cpp(.text+0x1dc): error: undefined reference to 'boost::system::get_generic_category()'
  /usr/bin/ld: CMakeFiles/test_client.dir/test_client.o: in function __static_initialization_and_destruction_0(int, int):test_client.cpp(.text+0x1e6): error: undefined reference to 'boost::system::get_system_category()'

Robbie

_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users