We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).
The original report had attachments: build.log
see attached build.log for complete build log. Below is the failed compilation step:
build.log
/usr/bin/c++ -fPIC -O3 -DNDEBUG -Wl,-rpath,/usr/local/lib/gazebo-4.0/plugins pthread -L/usr/local/lib -L/usr/local/lib/gazebo-4.0/plugins -lgazebo_transport -lgazebo_physics -lgazebo_sensors -lgazebo_rendering -lgazebo_gui -lgazebo_msgs -lgazebo_math -lgazebo_common -lgazebo -lboost_thread-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_regex-mt -lboost_iostreams-mt -lboost_date_time-mt -Wl,-rpath,/usr/local/lib/gazebo-4.0/plugins -L/usr/local/lib -L/usr/local/lib/gazebo-4.0/plugins -shared -Wl,-soname,libgazebo_ros_paths_plugin.so -o /tmp/ws/devel/lib/libgazebo_ros_paths_plugin.so CMakeFiles/gazebo_ros_paths_plugin.dir/src/gazebo_ros_paths_plugin.cpp.o -lgazebo_transport -lgazebo_physics -lgazebo_sensors -lgazebo_rendering -lgazebo_gui -lgazebo_msgs -lgazebo_math -lgazebo_common -lgazebo -lboost_thread-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_regex-mt -lboost_iostreams-mt -lboost_date_time-mt /usr/local/lib/libgazebo.so /usr/local/lib/libgazebo_common.so /usr/local/lib/libgazebo_gimpact.so /usr/local/lib/libgazebo_gui.so /usr/local/lib/libgazebo_gui_building.so /usr/local/lib/libgazebo_gui_viewers.so /usr/local/lib/libgazebo_math.so /usr/local/lib/libgazebo_msgs.so /usr/local/lib/libgazebo_ode.so /usr/local/lib/libgazebo_opcode.so /usr/local/lib/libgazebo_opende_ou.so /usr/local/lib/libgazebo_physics.so /usr/local/lib/libgazebo_physics_ode.so /usr/local/lib/libgazebo_rendering.so /usr/local/lib/libgazebo_selection_buffer.so /usr/local/lib/libgazebo_sensors.so /usr/local/lib/libgazebo_skyx.so /usr/local/lib/libgazebo_transport.so /usr/local/lib/libgazebo_util.so /usr/local/lib/libgazebo_ccd.so -lprotobuf -lsdformat -lsdformat /opt/ros/hydro/lib/libroslib.so /opt/ros/hydro/lib/libtf.so /opt/ros/hydro/lib/libtf2_ros.so /opt/ros/hydro/lib/libactionlib.so /opt/ros/hydro/lib/libmessage_filters.so /opt/ros/hydro/lib/libroscpp.so -lboost_signals-mt -lboost_filesystem-mt /opt/ros/hydro/lib/libxmlrpcpp.so /opt/ros/hydro/lib/libtf2.so /opt/ros/hydro/lib/librosconsole.so /opt/ros/hydro/lib/librosconsole_log4cxx.so /opt/ros/hydro/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex-mt /opt/ros/hydro/lib/libdynamic_reconfigure_config_init_mutex.so /opt/ros/hydro/lib/libroscpp_serialization.so /opt/ros/hydro/lib/librostime.so -lboost_date_time-mt -lboost_system-mt -lboost_thread-mt -lpthread /opt/ros/hydro/lib/libcpp_common.so /opt/ros/hydro/lib/libconsole_bridge.so -lboost_thread-mt -lpthread /opt/ros/hydro/lib/libcpp_common.so /opt/ros/hydro/lib/libconsole_bridge.so -Wl,-rpath,/usr/local/lib:/opt/ros/hydro/lib: make[2]: Leaving directory `/tmp/ws/build' /usr/bin/cmake -E cmake_progress_report /tmp/ws/build/CMakeFiles /usr/bin/cmake -E cmake_progress_report /tmp/ws/build/CMakeFiles
with error:
c++: error: pthread: No such file or directory [ 91%] make[2]: *** [/tmp/ws/devel/lib/libgazebo_ros_paths_plugin.so] Error 1 make[2]: Leaving directory `/tmp/ws/build' make[1]: *** [gazebo_ros_pkgs/gazebo_ros/CMakeFiles/gazebo_ros_paths_plugin.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
Looking at installed lib/pkgconfig/gazebo.pc, there is a pthread by itself:
lib/pkgconfig/gazebo.pc
pthread
Libs: -Wl,-rpath,${prefix}/lib/gazebo-4.0/plugins -L${libdir} -L${prefix}/lib/gazebo-4.0/plugins -lgazebo_transport -lgazebo_physics -lgazebo_sensors -lgazebo_rendering -lgazebo_gui -lgazebo_msgs -lgazebo_math -lgazebo_common -lgazebo -L/usr/lib -lboost_thread-mt pthread -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_regex-mt -lboost_iostreams-mt -lboost_date_time-mt CFlags: -I${includedir}/gazebo-4.0 -I/usr/include
removing pthread appears to fix compilation.
The text was updated successfully, but these errors were encountered:
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).
pull request #1207 implements a way of keeping pthread in pkgconfig but using the corresponding -l
Sorry, something went wrong.
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
This has been failing on the jenkins precise machine for a while:
http://build.osrfoundation.org/job/gazebo-default-devel-precise-amd64/1164/testReport/junit/%28root%29/PkgConfig/CC/
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
No branches or pull requests
Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).
The original report had attachments: build.log
see attached
build.log
for complete build log. Below is the failed compilation step:with error:
Looking at installed
lib/pkgconfig/gazebo.pc
, there is apthread
by itself:removing
pthread
appears to fix compilation.The text was updated successfully, but these errors were encountered: