Hi
I encountered a problem when building the soem_master using rosmake:
Linking CXX shared library ../lib/orocos/gnulinux/plugins/librtt_rosparam_service-gnulinux.so
make[3]: Entering directory `/home/jonas/catkin_ws/src/orocos/rtt_ros_integration/rtt_rosnode/build'
/usr/bin/ld: cannot find /usr/lib/i386-linux-gnu/libpthread_nonshared.a inside
collect2: ld returned 1 exit status
make[3]: *** [../lib/orocos/gnulinux/plugins/librtt_rosnode-gnulinux.so] Error 1
When i rosmake orocos again:
"rosmake orocos_toolchain rtt_ros_integration rtt_ros_comm rtt_common_msgs rtt_geometry"
I get the same error:
make[3]: Entering directory `/home/jonas/catkin_ws/src/orocos/rtt_ros_integration/rtt_rosnode/build'
Linking CXX shared library ../lib/orocos/gnulinux/plugins/librtt_rosnode-gnulinux.so
/usr/bin/ld: cannot find /usr/lib/i386-linux-gnu/libpthread_nonshared.a inside
collect2: ld returned 1 exit status
make[3]: *** [../lib/orocos/gnulinux/plugins/librtt_rosnode-gnulinux.so] Error 1
The strange thing is that i installed Orocos using rosinstall two weeks ago without problems.
The file libpthread_nonshared.a is btw located inside /usr/lib/i386-linux-gnu/
I am working on ubuntu 12.04, ros_groovy and the latest orocos (2.6)
Can someone help me out?
regards Jonas
failure in rtt_rosnode package
>Hi
>
>I encountered a problem when building the soem_master using rosmake:
> Linking CXX shared library ../lib/orocos/gnulinux/plugins/librtt_rosparam_service-gnulinux.so
> make[3]: Entering directory `/home/jonas/catkin_ws/src/orocos/rtt_ros_integration/rtt_rosnode/build'
> /usr/bin/ld: cannot find /usr/lib/i386-linux-gnu/libpthread_nonshared.a inside
> collect2: ld returned 1 exit status
> make[3]: *** [../lib/orocos/gnulinux/plugins/librtt_rosnode-gnulinux.so] Error 1
>
>When i rosmake orocos again:
>"rosmake orocos_toolchain rtt_ros_integration rtt_ros_comm rtt_common_msgs rtt_geometry"
>I get the same error:
> make[3]: Entering directory `/home/jonas/catkin_ws/src/orocos/rtt_ros_integration/rtt_rosnode/build'
> Linking CXX shared library ../lib/orocos/gnulinux/plugins/librtt_rosnode-gnulinux.so
> /usr/bin/ld: cannot find /usr/lib/i386-linux-gnu/libpthread_nonshared.a inside
> collect2: ld returned 1 exit status
> make[3]: *** [../lib/orocos/gnulinux/plugins/librtt_rosnode-gnulinux.so] Error 1
>
>The strange thing is that i installed Orocos using rosinstall two weeks ago without problems.
>
>The file libpthread_nonshared.a is btw located inside /usr/lib/i386-linux-gnu/
>
>I am working on ubuntu 12.04, ros_groovy and the latest orocos (2.6)
>
>Can someone help me out?
In the CMakeLists.txt in rtt_ros_integration/rtt_rosnode on line 39 and 40
"target_link_libraries" are defined. The comments states they are required
for Groovy or later. Is that comment related to the use of a catkin WS?
(I am not making use of a catkin WS). When i comment lines 39 and 40
the above errors are no longer present and the libraries (librtt_rosnode-gnulinux.so
and librtt_rosparam_service-gnulinux.so) are again present!
Is this the correct way to solve the errors?
Jonas
>
>
>regards Jonas