[ros-users] ros-users Digest, Vol 2, Issue 85

Brian Gerkey gerkey at willowgarage.com
Tue Apr 20 20:48:55 UTC 2010


It'd be interesting the output from two commands (assuming your
package is called 'foo'):

Dependencies:
  rospack deps foo

Verbose build output:
  roscd foo
  VERBOSE=1 make

	brian.

On Tue, Apr 20, 2010 at 12:43 PM, Josh Faust <jfaust at willowgarage.com> wrote:
> Which packages does your package depend on?
>
> Josh
>
> On Tue, Apr 20, 2010 at 12:04 PM, Robbie Plankenhorn
> <rplankenhorn at gmail.com> wrote:
>>
>> Josh,
>> Thanks for you reply.  I am using the pre-build Ubuntu packages and so I
>> don't build any of the ros packages when I compile.  I have been updating to
>> the latest packages but I haven't necessary recompiled every time because I
>> wasn't working on that code.
>> Also, I don't think I am using any Boost.System calls.  I am only using
>> ros libraries to interact with the boost libraries I am assuming.
>> Thanks,
>> Robbie
>>
>> On Tue, Apr 20, 2010 at 3:00 PM, <ros-users-request at code.ros.org> wrote:
>>>
>>> Send ros-users mailing list submissions to
>>>        ros-users at code.ros.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>        https://code.ros.org/mailman/listinfo/ros-users
>>> or, via email, send a message with subject or body 'help' to
>>>        ros-users-request at code.ros.org
>>>
>>> You can reach the person managing the list at
>>>        ros-users-owner at code.ros.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of ros-users digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>   1. error: undefined reference to
>>>      'boost::system::get_system_category()' (Robbie Plankenhorn)
>>>   2. Re: error: undefined reference to
>>>      'boost::system::get_system_category()' (Josh Faust)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Tue, 20 Apr 2010 10:30:13 -0400
>>> From: Robbie Plankenhorn <rplankenhorn at gmail.com>
>>> Subject: [ros-users] error: undefined reference to
>>>        'boost::system::get_system_category()'
>>> To: ros-users at code.ros.org
>>> Message-ID:
>>>        <g2p2651fdcd1004200730wed87c224sd672458cf0e717fe at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>> 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
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: /discuss/ros-users/attachments/20100420/d34ecb22/attachment.html
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Tue, 20 Apr 2010 11:00:53 -0700
>>> From: Josh Faust <jfaust at willowgarage.com>
>>> Subject: Re: [ros-users] error: undefined reference to
>>>        'boost::system::get_system_category()'
>>> To: ros-users at code.ros.org
>>> Message-ID:
>>>        <m2x3a39da831004201100h77b1327ese8b0555a63e4153f at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>> 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 at 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 at code.ros.org
>>> > https://code.ros.org/mailman/listinfo/ros-users
>>> >
>>> >
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: /discuss/ros-users/attachments/20100420/1235c55a/attachment-0001.htm
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>> End of ros-users Digest, Vol 2, Issue 85
>>> ****************************************
>>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



More information about the ros-users mailing list