start-jsk / rtmros_common

OpenRTM - ROS interoperability packages
http://wiki.ros.org/rtmros_common
12 stars 52 forks source link

make failed at hrpsys_ros_bridge #398

Closed eisoku9618 closed 10 years ago

eisoku9618 commented 10 years ago
catkin_make --only-pkg-with-deps hrpsys_ros_bridge

したところ,

/usr/lib/libomniORB4.so.1: could not read symbols: Invalid operation

というエラーが出て,makeが通りません.

https://code.google.com/p/rtm-ros-robotics/issues/detail?id=79#c17 で報告されているエラーと同様のもの(boostがomniorbに置き換わっただけ)だと思うのですが,どうすれば通るのか僕には分かりませんでした.

@mmurooka さんも同様のエラーが出ているそうです.

どうすればよいか教えていただけないでしょうか? よろしくお願いいたします.

[ 90%] Built target samplerobot_hrpsys_ros_bridge_compile_all
Linking CXX executable /home/eisoku/ros/hydro/devel/lib/hrpsys_ros_bridge/GraspControllerServiceROSBridgeComp
/usr/bin/ld: CMakeFiles/AbsoluteForceSensorServiceROSBridgeComp.dir/src_gen/AbsoluteForceSensorServiceROSBridge.cpp.o: undefined reference to symbol '_omniFinalCleanup::_omniFinalCleanup()'
/usr/bin/ld: note: '_omniFinalCleanup::_omniFinalCleanup()' is defined in DSO /usr/lib/libomniORB4.so.1 so try adding it to the linker command line
/usr/lib/libomniORB4.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

http://www.jsk.t.u-tokyo.ac.jp/~kuroiwa/public/github/issue/make-failed-at-hrpsys_ros_bridge.log

garaemon commented 10 years ago

/usr/lib/libomniORB.so.1はありますか?

-- ryohei

On Tue, Apr 1, 2014 at 4:23 PM, Eisoku Kuroiwa notifications@github.comwrote:

catkin_make --only-pkg-with-deps hrpsys_ros_bridge

したところ,

/usr/lib/libomniORB4.so.1: could not read symbols: Invalid operation

というエラーが出て,makeが通りません.

https://code.google.com/p/rtm-ros-robotics/issues/detail?id=79#c17で報告されているエラーと同様のもの(boostがomniorbに置き換わっただけ)だと思うのですが,どうすれば通るのか僕には分かりませんでした

@mmurooka https://github.com/mmurooka さんも同様のエラーが出ているそうです.

どうすればよいか教えていただけないでしょうか? よろしくお願いいたします.

  • 上記のエラー文周りのログ

[ 90%] Built target samplerobot_hrpsys_ros_bridge_compile_all Linking CXX executable /home/eisoku/ros/hydro/devel/lib/hrpsys_ros_bridge/GraspControllerServiceROSBridgeComp /usr/bin/ld: CMakeFiles/AbsoluteForceSensorServiceROSBridgeComp.dir/src_gen/AbsoluteForceSensorServiceROSBridge.cpp.o: undefined reference to symbol '_omniFinalCleanup::_omniFinalCleanup()' /usr/bin/ld: note: '_omniFinalCleanup::_omniFinalCleanup()' is defined in DSO /usr/lib/libomniORB4.so.1 so try adding it to the linker command line /usr/lib/libomniORB4.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status

  • ログ全文

http://www.jsk.t.u-tokyo.ac.jp/~kuroiwa/public/github/issue/make-failed-at-hrpsys_ros_bridge.log

— Reply to this email directly or view it on GitHubhttps://github.com/start-jsk/rtmros_common/issues/398 .

garaemon commented 10 years ago
$ ls -l /usr/lib/libomniORB4.so*
lrwxrwxrwx 1 root root      16 Dec 13  2011 /usr/lib/libomniORB4.so -> libomniORB4.so.1
lrwxrwxrwx 1 root root      18 Dec 13  2011 /usr/lib/libomniORB4.so.1 -> libomniORB4.so.1.6
-rw-r--r-- 1 root root 1742992 Dec 13  2011 /usr/lib/libomniORB4.so.1.6
eisoku9618 commented 10 years ago

はい.同じ結果になりました.

$ command ls -l /usr/lib/libomniORB4.so*
lrwxrwxrwx 1 root root      16 Dec 13  2011 /usr/lib/libomniORB4.so -> libomniORB4.so.1
lrwxrwxrwx 1 root root      18 Dec 13  2011 /usr/lib/libomniORB4.so.1 -> libomniORB4.so.1.6
-rw-r--r-- 1 root root 1742992 Dec 13  2011 /usr/lib/libomniORB4.so.1.6
garaemon commented 10 years ago

cound not read...じゃなくてそのまえの/usr/bin/ld: CMakeFiles/AbsoluteForceSensorServiceROSBridgeComp.dir/src_gen/AbsoluteForceSensorServiceROSBridge.cpp.o: undefined reference to symbol '_omniFinalCleanup::_omniFinalCleanup()' が致命的に見えます

@snozawa これって先ほどのtrunkの変更に関係してますか?

garaemon commented 10 years ago

シンボル名が変更されたのが関係しているのでは、という気がします。 build, develをrmしてみても結果は変わらないですね? > @eisoku9618

k-okada commented 10 years ago
(cd build; make VERBOSE=1)

はどうでしょうか?

eisoku9618 commented 10 years ago
cd ros/hydro
rm -rf build devel
source /opt/ros/hydro/setup.bash
catkin_make

したらhrpsys_ros_bridgeは通りました.ありがとうございます.

ただ, @mmurooka さんに言われて再び

cd ~/ros/hydro
catkin_make --only-pkgs-with-deps hrpsys_ros_bridge

したら再び同じエラーが出てしまいました.

また,今まで

  1. ctakin_makeしたらhrpsys_ros_bridgeのmakeに失敗した
  2. srcを変えてみる
  3. もう一回makeしてみよう

のときには

cd ros/hydro
rm -rf build/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge
catkin_make --only-pkg-with-deps hrpsys_ros_bridge

や,

catkin_make --only-pkg-with-deps hrpsys_ros_bridge --force-make

をしていた(二個目のはやっていないかも)のですが,今回この方法では結果が変わりませんでしたが,hrpsys_ros_bridgeだけ何か特別なのでしょうか?

k-okada commented 10 years ago

もう一回makeしてみよう

は,

catkin_make

だけでよいはずですが.逆に--only...をするとなにかおかしいことになる気はします.

eisoku9618 commented 10 years ago

分かりました. ありがとうございました.

garaemon commented 10 years ago

うーん、二回目以降に--only-pkg-with-depsつけても問題ないはずですが...

k-okada commented 10 years ago

二回目に--only-pkg-with-depsを付けて,エラーになった時の(cd build; make VERBOSE=1)は何になるでしょうか?

garaemon commented 10 years ago

僕の手元では二回目以降もエラーが出ませんね

mmurooka commented 10 years ago
murooka@murooka-ThinkPad-T430:~/ros_catkin_ws/hydro/src/rtm-ros-robotics/rtmros_common$ strings /usr/lib/libomniORB4.so.1 | c++filt | grep omniFinal
_omniFinalCleanup::_omniFinalCleanup()
_omniFinalCleanup::~_omniFinalCleanup()
_omniFinalCleanup::~_omniFinalCleanup()
_omniFinalCleanup::_omniFinalCleanup()
garaemon commented 10 years ago

僕の環境だと

Linking CXX executable /home/jsk/ueda/ros/hydro/devel/lib/hrpsys_ros_bridge/CollisionDetectorServiceROSBridgeComp
cd /home/jsk/ueda/ros/hydro/build/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge && /usr/bin/cmake -E cmake_link_script CMakeFiles/CollisionDetectorServiceROSBridgeComp.dir/link.txt --verbose=1
/usr/bin/c++       CMakeFiles/CollisionDetectorServiceROSBridgeComp.dir/src_gen/CollisionDetectorServiceROSBridge.cpp.o CMakeFiles/CollisionDetectorServiceROSBridgeComp.dir/src_gen/CollisionDetectorServiceROSBridgeComp.cpp.o  -o /home/jsk/ueda/ros/hydro/devel/lib/hrpsys_ros_bridge/CollisionDetectorServiceROSBridgeComp -rdynamic -L/opt/ros/hydro/lib -L/home/jsk/ueda/ros/hydro/devel/lib -L/usr/lib/atlas-base/atlas /opt/ros/hydro/lib/librobot_state_publisher_solver.so /opt/ros/hydro/lib/libtf_conversions.so /opt/ros/hydro/lib/libkdl_conversions.so /opt/ros/hydro/lib/libkdl_parser.so /opt/ros/hydro/lib/liburdf.so /opt/ros/hydro/lib/liburdfdom_sensor.so /opt/ros/hydro/lib/liburdfdom_model_state.so /opt/ros/hydro/lib/liburdfdom_model.so /opt/ros/hydro/lib/liburdfdom_world.so /opt/ros/hydro/lib/librosconsole_bridge.so /opt/ros/hydro/lib/libtf.so /opt/ros/hydro/lib/libtf2_ros.so /opt/ros/hydro/lib/libactionlib.so /opt/ros/hydro/lib/libtf2.so /opt/ros/hydro/lib/libcamera_info_manager.so /opt/ros/hydro/lib/libimage_transport.so /opt/ros/hydro/lib/libmessage_filters.so -ltinyxml /opt/ros/hydro/lib/libclass_loader.so -lPocoFoundation -ldl /opt/ros/hydro/lib/libroscpp.so -lboost_signals-mt -lboost_filesystem-mt /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/libxmlrpcpp.so /opt/ros/hydro/lib/libroslib.so /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 -luuid -ldl -lpthread -lomniORB4 -lomnithread -lomniDynamic4 -lRTC -lcoil -lhrpCollision-3.1 -lhrpModel-3.1 -lhrpPlanner-3.1 -lhrpUtil-3.1 -lblas -llapack -lboost_filesystem -lboost_signals -lboost_program_options -lboost_regex -ljpeg -lpng -lz -luuid -ldl -lpthread -lomniORB4 -lomnithread -lomniDynamic4 -lRTC -lcoil -lGraspControllerServiceStub -lGraspControllerServiceSkel -lGraspControllerServiceStub -lGraspControllerServiceSkel -lSoftErrorLimiterServiceStub -lSoftErrorLimiterServiceSkel -lSoftErrorLimiterServiceStub -lSoftErrorLimiterServiceSkel -lNullServiceStub -lNullServiceSkel -lNullServiceStub -lNullServiceSkel -lStateHolderServiceStub -lStateHolderServiceSkel -lStateHolderServiceStub -lStateHolderServiceSkel -lpointcloudStub -lpointcloudSkel -lpointcloudStub -lpointcloudSkel -lSequencePlayerServiceStub -lSequencePlayerServiceSkel -lSequencePlayerServiceStub -lSequencePlayerServiceSkel -lExecutionProfileServiceStub -lExecutionProfileServiceSkel -lExecutionProfileServiceStub -lExecutionProfileServiceSkel -lCollisionDetectorServiceStub -lCollisionDetectorServiceSkel -lCollisionDetectorServiceStub -lCollisionDetectorServiceSkel -lKalmanFilterServiceStub -lKalmanFilterServiceSkel -lKalmanFilterServiceStub -lKalmanFilterServiceSkel -lDataLoggerServiceStub -lDataLoggerServiceSkel -lDataLoggerServiceStub -lDataLoggerServiceSkel -lRobotHardwareServiceStub -lRobotHardwareServiceSkel -lRobotHardwareServiceStub -lRobotHardwareServiceSkel -lImpedanceControllerServiceStub -lImpedanceControllerServiceSkel -lImpedanceControllerServiceStub -lImpedanceControllerServiceSkel -lTorqueFilterServiceStub -lTorqueFilterServiceSkel -lTorqueFilterServiceStub -lTorqueFilterServiceSkel -lWavPlayerServiceStub -lWavPlayerServiceSkel -lWavPlayerServiceStub -lWavPlayerServiceSkel -lVirtualForceSensorServiceStub -lVirtualForceSensorServiceSkel -lVirtualForceSensorServiceStub -lVirtualForceSensorServiceSkel -lTorqueControllerServiceStub -lTorqueControllerServiceSkel -lTorqueControllerServiceStub -lTorqueControllerServiceSkel -lTimeKeeperServiceStub -lTimeKeeperServiceSkel -lTimeKeeperServiceStub -lTimeKeeperServiceSkel -lStabilizerServiceStub -lStabilizerServiceSkel -lStabilizerServiceStub -lStabilizerServiceSkel -lAbsoluteForceSensorServiceStub -lAbsoluteForceSensorServiceSkel -lAbsoluteForceSensorServiceStub -lAbsoluteForceSensorServiceSkel -lForwardKinematicsServiceStub -lForwardKinematicsServiceSkel -lForwardKinematicsServiceStub -lForwardKinematicsServiceSkel -lAutoBalancerServiceStub -lAutoBalancerServiceSkel -lAutoBalancerServiceStub -lAutoBalancerServiceSkel -lImgStub -lImgSkel -lImgStub -lImgSkel -lServoControllerServiceStub -lServoControllerServiceSkel -lServoControllerServiceStub -lServoControllerServiceSkel -lOGMap3DServiceStub -lOGMap3DServiceSkel -lOGMap3DServiceStub -lOGMap3DServiceSkel -lHRPDataTypesStub -lHRPDataTypesSkel -lHRPDataTypesStub -lHRPDataTypesSkel -lhrpCollision-3.1 -lhrpModel-3.1 -lhrpPlanner-3.1 -lhrpUtil-3.1 -lblas -llapack -lboost_filesystem -lboost_signals -lboost_program_options -lboost_regex -ljpeg -lpng -lz -lGraspControllerServiceStub -lGraspControllerServiceSkel -lGraspControllerServiceStub -lGraspControllerServiceSkel -lSoftErrorLimiterServiceStub -lSoftErrorLimiterServiceSkel -lSoftErrorLimiterServiceStub -lSoftErrorLimiterServiceSkel -lNullServiceStub -lNullServiceSkel -lNullServiceStub -lNullServiceSkel -lStateHolderServiceStub -lStateHolderServiceSkel -lStateHolderServiceStub -lStateHolderServiceSkel -lpointcloudStub -lpointcloudSkel -lpointcloudStub -lpointcloudSkel -lSequencePlayerServiceStub -lSequencePlayerServiceSkel -lSequencePlayerServiceStub -lSequencePlayerServiceSkel -lExecutionProfileServiceStub -lExecutionProfileServiceSkel -lExecutionProfileServiceStub -lExecutionProfileServiceSkel -lCollisionDetectorServiceStub -lCollisionDetectorServiceSkel -lCollisionDetectorServiceStub -lCollisionDetectorServiceSkel -lKalmanFilterServiceStub -lKalmanFilterServiceSkel -lKalmanFilterServiceStub -lKalmanFilterServiceSkel -lDataLoggerServiceStub -lDataLoggerServiceSkel -lDataLoggerServiceStub -lDataLoggerServiceSkel -lRobotHardwareServiceStub -lRobotHardwareServiceSkel -lRobotHardwareServiceStub -lRobotHardwareServiceSkel -lImpedanceControllerServiceStub -lImpedanceControllerServiceSkel -lImpedanceControllerServiceStub -lImpedanceControllerServiceSkel -lTorqueFilterServiceStub -lTorqueFilterServiceSkel -lTorqueFilterServiceStub -lTorqueFilterServiceSkel -lWavPlayerServiceStub -lWavPlayerServiceSkel -lWavPlayerServiceStub -lWavPlayerServiceSkel -lVirtualForceSensorServiceStub -lVirtualForceSensorServiceSkel -lVirtualForceSensorServiceStub -lVirtualForceSensorServiceSkel -lTorqueControllerServiceStub -lTorqueControllerServiceSkel -lTorqueControllerServiceStub -lTorqueControllerServiceSkel -lTimeKeeperServiceStub -lTimeKeeperServiceSkel -lTimeKeeperServiceStub -lTimeKeeperServiceSkel -lStabilizerServiceStub -lStabilizerServiceSkel -lStabilizerServiceStub -lStabilizerServiceSkel -lAbsoluteForceSensorServiceStub -lAbsoluteForceSensorServiceSkel -lAbsoluteForceSensorServiceStub -lAbsoluteForceSensorServiceSkel -lForwardKinematicsServiceStub -lForwardKinematicsServiceSkel -lForwardKinematicsServiceStub -lForwardKinematicsServiceSkel -lAutoBalancerServiceStub -lAutoBalancerServiceSkel -lAutoBalancerServiceStub -lAutoBalancerServiceSkel -lImgStub -lImgSkel -lImgStub -lImgSkel -lServoControllerServiceStub -lServoControllerServiceSkel -lServoControllerServiceStub -lServoControllerServiceSkel -lOGMap3DServiceStub -lOGMap3DServiceSkel -lOGMap3DServiceStub -lOGMap3DServiceSkel -lHRPDataTypesStub -lHRPDataTypesSkel -lHRPDataTypesStub -lHRPDataTypesSkel -Wl,-rpath,/opt/ros/hydro/lib:/home/jsk/ueda/ros/hydro/devel/lib:/usr/lib/atlas-base/atlas:
mmurooka commented 10 years ago
Linking CXX executable /home/murooka/ros_catkin_ws/hydro/devel/lib/hrpsys_ros_bridge/CollisionDetectorServiceROSBridgeComp
cd /home/murooka/ros_catkin_ws/hydro/build/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge && /usr/bin/cmake -E cmake_link_script CMakeFiles/CollisionDetectorServiceROSBridgeComp.dir/link.txt --verbose=1
/usr/bin/c++       CMakeFiles/CollisionDetectorServiceROSBridgeComp.dir/src_gen/CollisionDetectorServiceROSBridge.cpp.o CMakeFiles/CollisionDetectorServiceROSBridgeComp.dir/src_gen/CollisionDetectorServiceROSBridgeComp.cpp.o  -o /home/murooka/ros_catkin_ws/hydro/devel/lib/hrpsys_ros_bridge/CollisionDetectorServiceROSBridgeComp -rdynamic -L/home/murooka/ros_catkin_ws/hydro/devel/lib -L/opt/ros/hydro/lib -L/usr/lib/atlas-base/atlas /opt/ros/hydro/lib/librobot_state_publisher_solver.so /opt/ros/hydro/lib/libtf_conversions.so /opt/ros/hydro/lib/libkdl_conversions.so /opt/ros/hydro/lib/libkdl_parser.so /opt/ros/hydro/lib/liburdf.so /opt/ros/hydro/lib/liburdfdom_sensor.so /opt/ros/hydro/lib/liburdfdom_model_state.so /opt/ros/hydro/lib/liburdfdom_model.so /opt/ros/hydro/lib/liburdfdom_world.so /opt/ros/hydro/lib/librosconsole_bridge.so /opt/ros/hydro/lib/libtf.so /opt/ros/hydro/lib/libtf2_ros.so /opt/ros/hydro/lib/libactionlib.so /opt/ros/hydro/lib/libtf2.so /opt/ros/hydro/lib/libcamera_info_manager.so /opt/ros/hydro/lib/libimage_transport.so /opt/ros/hydro/lib/libmessage_filters.so -ltinyxml /opt/ros/hydro/lib/libclass_loader.so -lPocoFoundation -ldl /opt/ros/hydro/lib/libroscpp.so -lboost_signals-mt -lboost_filesystem-mt /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/libxmlrpcpp.so /opt/ros/hydro/lib/libroslib.so /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 -lServoControllerServiceStub -lServoControllerServiceSkel -lServoControllerServiceStub -lServoControllerServiceSkel -lRobotHardwareServiceStub -lRobotHardwareServiceSkel -lRobotHardwareServiceStub -lRobotHardwareServiceSkel -lCollisionDetectorServiceStub -lCollisionDetectorServiceSkel -lCollisionDetectorServiceStub -lCollisionDetectorServiceSkel -lVirtualForceSensorServiceStub -lVirtualForceSensorServiceSkel -lVirtualForceSensorServiceStub -lVirtualForceSensorServiceSkel -lNullServiceStub -lNullServiceSkel -lNullServiceStub -lNullServiceSkel -lTimeKeeperServiceStub -lTimeKeeperServiceSkel -lTimeKeeperServiceStub -lTimeKeeperServiceSkel -lWavPlayerServiceStub -lWavPlayerServiceSkel -lWavPlayerServiceStub -lWavPlayerServiceSkel -lHRPDataTypesStub -lHRPDataTypesSkel -lHRPDataTypesStub -lHRPDataTypesSkel -lStabilizerServiceStub -lStabilizerServiceSkel -lStabilizerServiceStub -lStabilizerServiceSkel -lTorqueFilterServiceStub -lTorqueFilterServiceSkel -lTorqueFilterServiceStub -lTorqueFilterServiceSkel -lStateHolderServiceStub -lStateHolderServiceSkel -lStateHolderServiceStub -lStateHolderServiceSkel -lForwardKinematicsServiceStub -lForwardKinematicsServiceSkel -lForwardKinematicsServiceStub -lForwardKinematicsServiceSkel -lSequencePlayerServiceStub -lSequencePlayerServiceSkel -lSequencePlayerServiceStub -lSequencePlayerServiceSkel -lDataLoggerServiceStub -lDataLoggerServiceSkel -lDataLoggerServiceStub -lDataLoggerServiceSkel -lTorqueControllerServiceStub -lTorqueControllerServiceSkel -lTorqueControllerServiceStub -lTorqueControllerServiceSkel -lAutoBalancerServiceStub -lAutoBalancerServiceSkel -lAutoBalancerServiceStub -lAutoBalancerServiceSkel -lOGMap3DServiceStub -lOGMap3DServiceSkel -lOGMap3DServiceStub -lOGMap3DServiceSkel -lGraspControllerServiceStub -lGraspControllerServiceSkel -lGraspControllerServiceStub -lGraspControllerServiceSkel -lKalmanFilterServiceStub -lKalmanFilterServiceSkel -lKalmanFilterServiceStub -lKalmanFilterServiceSkel -lImpedanceControllerServiceStub -lImpedanceControllerServiceSkel -lImpedanceControllerServiceStub -lImpedanceControllerServiceSkel -lExecutionProfileServiceStub -lExecutionProfileServiceSkel -lExecutionProfileServiceStub -lExecutionProfileServiceSkel -lImgStub -lImgSkel -lImgStub -lImgSkel -lAbsoluteForceSensorServiceStub -lAbsoluteForceSensorServiceSkel -lAbsoluteForceSensorServiceStub -lAbsoluteForceSensorServiceSkel -lpointcloudStub -lpointcloudSkel -lpointcloudStub -lpointcloudSkel -lSoftErrorLimiterServiceStub -lSoftErrorLimiterServiceSkel -lSoftErrorLimiterServiceStub -lSoftErrorLimiterServiceSkel -Wl,-rpath,/home/murooka/ros_catkin_ws/hydro/devel/lib:/opt/ros/hydro/lib:/usr/lib/atlas-base/atlas: 
/usr/bin/ld: CMakeFiles/AbsoluteForceSensorServiceROSBridgeComp.dir/src_gen/AbsoluteForceSensorServiceROSBridge.cpp.o: undefined reference to symbol '_omniFinalCleanup::_omniFinalCleanup()'
/usr/bin/ld: note: '_omniFinalCleanup::_omniFinalCleanup()' is defined in DSO /usr/lib/libomniORB4.so.1 so try adding it to the linker command line
/usr/lib/libomniORB4.so.1: could not read symbols: Invalid operation
mmurooka commented 10 years ago

リンクするライブラリで以下のものは, @garaemon にあって@mmurooka にはないです. omniも含まれているのでこの差が原因のようです.

-lRTC  -lblas  -lboost_filesystem  -lboost_program_options  -lboost_regex  -lboost_signals  -lcoil  -ldl  -lhrpCollision-3.1  -lhrpModel-3.1  -lhrpPlanner-3.1  -lhrpUtil-3.1  -ljpeg  -llapack  -lomniDynamic4  -lomniORB4  -lomnithread  -lpng  -lpthread  -luuid  -lz 
garaemon commented 10 years ago

rmtbuildをdebug trueにしてみました

-- +++ processing catkin package: 'hrpsys_ros_bridge'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge)
-- Using these message generators: gencpp;genlisp;genpy
-- checking for module 'openrtm-aist'
--   found openrtm-aist, version 1.1.0
-- checking for module 'openhrp3.1'
--   found openhrp3.1, version 3.1.5
[rtmbuild_init] Building package /home/jsk/ueda/ros/hydro/src hrpsys_ros_bridge
[rtmbuild_init] - CATKIN_TOPLEVEL = TRUE
[rtmbuild_init] - openrtm_aist_INCLUDE_DIRS -> /home/jsk/ueda/ros/hydro/devel/include;/home/jsk/ueda/ros/hydro/devel/include/coil-1.1;/home/jsk/ueda/ros/hydro/devel/include/openrt
m-1.1;/home/jsk/ueda/ros/hydro/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - openrtm_aist_LIBRARIES    -> uuid;dl;pthread;omniORB4;omnithread;omniDynamic4;RTC;coil
[rtmbuild_init] - openhrp3_INCLUDE_DIRS -> /home/jsk/ueda/ros/hydro/devel/include;/home/jsk/ueda/ros/hydro/devel/include/coil-1.1;/home/jsk/ueda/ros/hydro/devel/include/openrtm-1.
1;/home/jsk/ueda/ros/hydro/devel/include/openrtm-1.1/rtm/idl;/home/jsk/ueda/ros/hydro/devel/include/OpenHRP-3.1;/usr/include/eigen3
[rtmbuild_init] - openhrp3_LIBRARIES    -> hrpCollision-3.1;hrpModel-3.1;hrpPlanner-3.1;hrpUtil-3.1;blas;lapack;boost_filesystem;boost_signals;boost_program_options;boost_regex;jp
eg;png;z;uuid;dl;pthread;omniORB4;omnithread;omniDynamic4;RTC;coil
[rtmbuild_init] - idl2srv_EXECUTABLE     -> /home/jsk/ueda/ros/hydro/src/rtm-ros-robotics/rtmros_common/rtmbuild/scripts/idl2srv.py
[rtmbuild_init] - rtmskel_EXECUTABLE     -> PATH=/home/jsk/ueda/ros/hydro/devel/lib/openrtm_aist/bin:/home/jsk/ueda/ros/hydro/devel/lib/openrtm_aist/bin/:/home/jsk/ueda/ros/hydro/
devel/lib/openrtm_aist/bin/:/opt/ros/hydro/bin:/home/jsk/ueda/ros/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/jsk/ueda/ros/groovy_rosbuild/jsk-ros-pkg/jsk_roseus/roseus/bin:
/usr/local/bin:/usr/local/share/python:/home/jsk/ueda/gprog/elastic-mapreduce-ruby:/usr/local/mahout/bin:/usr/local/bin:/Library/Haskell/bin:/usr/local/heroku/bin:/opt/android-sdk
/tools:/opt/android-sdk/tools:/usr/local/bin:/usr/local/share/python:/home/jsk/ueda/gprog/elastic-mapreduce-ruby:/usr/local/mahout/bin:/usr/local/bin:/Library/Haskell/bin:/usr/loc
al/heroku/bin:/home/jsk/ueda/ros/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/jsk/ueda/ros/hydro/install/bin:/home/jsk/ueda/.rvm/gems/ruby-2.1.0/bin:/home/jsk/ueda/.rvm/gems/
ruby-2.1.0@global/bin:/home/jsk/ueda/.rvm/rubies/ruby-2.1.0/bin:/home/jsk/ueda/.nvm/v0.10.21/bin:/opt/android-sdk/tools:/opt/android-sdk/tools:/usr/local/sbin:/usr/local/bin:/usr/
sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/jsk/ueda/gprog/scan-scripts/bin:/home/jsk/ueda/gprog/platex-create-pkg:/home
/jsk/ueda/gprog/spark:/home/jsk/ueda/gprog/emacs-settings:/home/jsk/ueda/.rvm/bin:/home/jsk/ueda/gprog/git-your-emacs:/home/jsk/ueda/gprog/heroku-nodekit:/usr/local/Cellar/pypy/1.
9/bin/:/home/jsk/ueda/gprog/minify-make:/Applications/SenchaSDKTools-2.0.0-beta3:/home/jsk/ueda/gprog/jq:/usr/local/share/python:/home/jsk/ueda/gprog/snapshotter/bin:/home/jsk/ued
a/gprog/s3sync/:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/jsk/ueda/gprog/scan-scripts/bin:/home/jsk/ueda/gprog/platex-create-pkg:/home/jsk/ueda/gprog/spar
k:/home/jsk/ueda/gprog/emacs-settings:/home/jsk/ueda/gprog/git-your-emacs:/home/jsk/ueda/gprog/heroku-nodekit:/usr/local/Cellar/pypy/1.9/bin/:/home/jsk/ueda/gprog/minify-make:/App
lications/SenchaSDKTools-2.0.0-beta3:/home/jsk/ueda/gprog/jq:/usr/local/share/python:/home/jsk/ueda/gprog/snapshotter/bin:/home/jsk/ueda/gprog/s3sync/;PYTHONPATH=/home/jsk/ueda/ro
s/hydro/devel/lib/openrtm-1.1/py_helper:/opt/ros/hydro/lib/python2.7/dist-packages:/usr/local/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages:/usr/local/lib/pyt
hon2.7/site-packages:/usr/local/lib/python2.7/site-packages:/home/jsk/ueda/ros/hydro/install/lib/python2.7/dist-packages:/home/jsk/ueda/gprog/scan-scripts:/home/jsk/ueda/gprog/sca
n-scripts;/home/jsk/ueda/ros/hydro/devel/lib/openrtm_aist/bin/rtm-skelwrapper
[rtmbuild_init] - rtm_idlc               -> /usr/bin/omniidl
[rtmbuild_init] - rtm_idlflags           -> -bcxx;-Wba;-nf;-I/home/jsk/ueda/ros/hydro/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_idldir             -> /home/jsk/ueda/ros/hydro/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_cxx                -> c++
[rtmbuild_init] - rtm_cflags             -> -Wall;-fPIC;-g;-I/home/jsk/ueda/ros/hydro/devel/include;-I/home/jsk/ueda/ros/hydro/devel/include/coil-1.1;-I/home/jsk/ueda/ros/hydro/de
vel/include/openrtm-1.1;-I/home/jsk/ueda/ros/hydro/devel/include/openrtm-1.1/rtm/idl
mmurooka commented 10 years ago
[rtmbuild_init] Building package /home/murooka/ros_catkin_ws/hydro/src hrpsys_ros_bridge
[rtmbuild_init] - CATKIN_TOPLEVEL = TRUE
[rtmbuild_init] - openrtm_aist_INCLUDE_DIRS -> /home/murooka/ros_catkin_ws/hydro/devel/include;/home/murooka/ros_catkin_ws/hydro/devel/include/coil-1.1;/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1;/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - openrtm_aist_LIBRARIES    -> 
[rtmbuild_init] - openhrp3_INCLUDE_DIRS -> /home/murooka/ros_catkin_ws/hydro/devel/include;/home/murooka/ros_catkin_ws/hydro/devel/include/coil-1.1;/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1;/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1/rtm/idl;/home/murooka/ros_catkin_ws/hydro/devel/include/OpenHRP-3.1;/usr/include/eigen3
[rtmbuild_init] - openhrp3_LIBRARIES    -> 
[rtmbuild_init] - idl2srv_EXECUTABLE     -> /home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/rtmros_common/rtmbuild/scripts/idl2srv.py
[rtmbuild_init] - rtmskel_EXECUTABLE     -> PATH=/home/murooka/ros_catkin_ws/hydro/devel/lib/openrtm_aist/bin:/opt/ros/hydro/bin:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/lib:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/lib:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtshell/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtshell/bin;PYTHONPATH=/home/murooka/ros_catkin_ws/hydro/devel/lib/openrtm-1.1/py_helper:/opt/ros/hydro/lib/python2.7/dist-packages;/home/murooka/ros_catkin_ws/hydro/devel/lib/openrtm_aist/bin/rtm-skelwrapper
[rtmbuild_init] - rtm_idlc               -> /usr/bin/omniidl
[rtmbuild_init] - rtm_idlflags           -> -bcxx;-Wba;-nf;-I/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_idldir             -> /home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_cxx                -> c++
[rtmbuild_init] - rtm_cflags             -> -Wall;-fPIC;-g;-I/home/murooka/ros_catkin_ws/hydro/devel/include;-I/home/murooka/ros_catkin_ws/hydro/devel/include/coil-1.1;-I/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1;-I/home/murooka/ros_catkin_ws/hydro/devel/include/openrtm-1.1/rtm/idl
garaemon commented 10 years ago

僕の環境では

$ pkg-config openhrp3.1 --libs
-export-dynamic -L/usr/lib/atlas-base/atlas -L/home/jsk/ueda/ros/hydro/devel/lib -lhrpCollision-3.1 -lhrpModel-3.1 -lhrpPlanner-3.1 -lhrpUtil-3.1 -lblas -llapack -lboost_filesystem -lboost_signals -lboost_program_options -lboost_regex -ljpeg -lpng -lz -luuid -ldl -lpthread -lomniORB4 -lomnithread -lomniDynamic4 -lRTC -lcoil  

$ pkg-config openrtm-aist --libs
-export-dynamic -L/home/jsk/ueda/ros/hydro/devel/lib -luuid -ldl -lpthread -lomniORB4 -lomnithread -lomniDynamic4 -lRTC -lcoil  
garaemon commented 10 years ago

なんか怪しい気がしてきたので、travisを再度走らせてみます。 https://travis-ci.org/start-jsk/rtmros_common/builds/21655986

garaemon commented 10 years ago

手元でworkspaceを綺麗にしてから再度makeしてみましたが、この問題は再現しませんでした

garaemon commented 10 years ago

https://travis-ci.org/start-jsk/rtmros_common テスト通りますね

pkg-configをコマンドラインから呼ぶと値が返ってくるのに、cmakeのpkg_check_modulesでは殻になっているのが不思議です

mmurooka commented 10 years ago

ソースを全て落としなおして,一回目のcatkin_make

[rtmbuild_init] Building package /home/murooka/ros_catkin_ws/hydro2/src hrpsys_ros_bridge
[rtmbuild_init] - CATKIN_TOPLEVEL = TRUE
[rtmbuild_init] - openrtm_aist_INCLUDE_DIRS -> /home/murooka/ros_catkin_ws/hydro2/devel/include;/home/murooka/ros_catkin_ws/hydro2/devel/include/coil-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - openrtm_aist_LIBRARIES    -> uuid;dl;pthread;omniORB4;omnithread;omniDynamic4;RTC;coil
[rtmbuild_init] - openhrp3_INCLUDE_DIRS -> /home/murooka/ros_catkin_ws/hydro2/devel/include;/home/murooka/ros_catkin_ws/hydro2/devel/include/coil-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl;/home/murooka/ros_catkin_ws/hydro2/devel/include/OpenHRP-3.1;/usr/include/eigen3
[rtmbuild_init] - openhrp3_LIBRARIES    -> hrpCollision-3.1;hrpModel-3.1;hrpPlanner-3.1;hrpUtil-3.1;blas;lapack;boost_filesystem;boost_signals;boost_program_options;boost_regex;jpeg;png;z;uuid;dl;pthread;omniORB4;omnithread;omniDynamic4;RTC;coil
[rtmbuild_init] - idl2srv_EXECUTABLE     -> /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/rtmbuild/scripts/idl2srv.py
[rtmbuild_init] - rtmskel_EXECUTABLE     -> PATH=/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm_aist/bin/:/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm_aist/bin/:/opt/ros/hydro/bin:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/lib:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/lib:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtshell/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtshell/bin;PYTHONPATH=/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm-1.1/py_helper:/opt/ros/hydro/lib/python2.7/dist-packages;/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm_aist/bin/rtm-skelwrapper
[rtmbuild_init] - rtm_idlc               -> /usr/bin/omniidl
[rtmbuild_init] - rtm_idlflags           -> -bcxx;-Wba;-nf;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_idldir             -> /home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_cxx                -> c++
[rtmbuild_init] - rtm_cflags             -> -Wall;-fPIC;-g;-I/home/murooka/ros_catkin_ws/hydro2/devel/include;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/coil-1.1;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_libs               -> -luuid;-ldl;-export-dynamic;-L/home/murooka/ros_catkin_ws/hydro2/devel/lib;-lpthread;;-lomniORB4;-lomnithread;-lomniDynamic4;-lRTC;-lcoil
[rtmbuild_init] - hrp_idldir             -> /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/openrtm_common/openhrp3/share/OpenHRP-3.1/idl
[rtmbuild_init] Generating bridge compornents from /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl
[rtmbuild_init] - hrpsys_ros_bridge_idl_files : /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ServoControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/RobotHardwareService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/CollisionDetectorService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/VirtualForceSensorService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/NullService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TimeKeeperService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/WavPlayerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/HRPDataTypes.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/StabilizerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TorqueFilterService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/StateHolderService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ForwardKinematicsService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/SequencePlayerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/DataLoggerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TorqueControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/AutoBalancerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/OGMap3DService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/GraspControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/KalmanFilterService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ImpedanceControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ExecutionProfileService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/Img.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/AbsoluteForceSensorService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/pointcloud.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/SoftErrorLimiterService.idl
[_rtmbuild_genbridge_init] Get msgs/srvs filenames from /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ServoControllerService.idl
[_rtmbuild_genbridge_init] running
mmurooka commented 10 years ago

二回目のcatkin_make

[rtmbuild_init] Building package /home/murooka/ros_catkin_ws/hydro2/src hrpsys_ros_bridge
[rtmbuild_init] - CATKIN_TOPLEVEL = TRUE
[rtmbuild_init] - openrtm_aist_INCLUDE_DIRS -> /home/murooka/ros_catkin_ws/hydro2/devel/include;/home/murooka/ros_catkin_ws/hydro2/devel/include/coil-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - openrtm_aist_LIBRARIES    -> 
[rtmbuild_init] - openhrp3_INCLUDE_DIRS -> /home/murooka/ros_catkin_ws/hydro2/devel/include;/home/murooka/ros_catkin_ws/hydro2/devel/include/coil-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1;/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl;/home/murooka/ros_catkin_ws/hydro2/devel/include/OpenHRP-3.1;/usr/include/eigen3
[rtmbuild_init] - openhrp3_LIBRARIES    -> hrpCollision-3.1;hrpModel-3.1;hrpPlanner-3.1;hrpUtil-3.1;blas;lapack;boost_filesystem;boost_signals;boost_program_options;boost_regex;jpeg;png;z;uuid;dl;pthread;omniORB4;omnithread;omniDynamic4;RTC;coil
[rtmbuild_init] - idl2srv_EXECUTABLE     -> /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/rtmbuild/scripts/idl2srv.py
[rtmbuild_init] - rtmskel_EXECUTABLE     -> PATH=/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm_aist/bin:/opt/ros/hydro/bin:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/lib:/home/murooka/ros_catkin_ws/hydro/devel/lib/rtshell:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/lib:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtshell/bin:/home/murooka/ros_catkin_ws/hydro/src/jsk-ros-pkg/jsk_roseus/roseus/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/bin:/home/murooka/ros_catkin_ws/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtshell/bin;PYTHONPATH=/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm-1.1/py_helper:/opt/ros/hydro/lib/python2.7/dist-packages;/home/murooka/ros_catkin_ws/hydro2/devel/lib/openrtm_aist/bin/rtm-skelwrapper
[rtmbuild_init] - rtm_idlc               -> /usr/bin/omniidl
[rtmbuild_init] - rtm_idlflags           -> -bcxx;-Wba;-nf;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_idldir             -> /home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_cxx                -> c++
[rtmbuild_init] - rtm_cflags             -> -Wall;-fPIC;-g;-I/home/murooka/ros_catkin_ws/hydro2/devel/include;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/coil-1.1;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1;-I/home/murooka/ros_catkin_ws/hydro2/devel/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_libs               -> -luuid;-ldl;-export-dynamic;-L/home/murooka/ros_catkin_ws/hydro2/devel/lib;-lpthread;;-lomniORB4;-lomnithread;-lomniDynamic4;-lRTC;-lcoil
[rtmbuild_init] - hrp_idldir             -> /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/openrtm_common/openhrp3/share/OpenHRP-3.1/idl
[rtmbuild_init] Generating bridge compornents from /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl
[rtmbuild_init] - hrpsys_ros_bridge_idl_files : /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ServoControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/RobotHardwareService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/CollisionDetectorService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/VirtualForceSensorService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/NullService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TimeKeeperService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/WavPlayerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/HRPDataTypes.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/StabilizerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TorqueFilterService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/StateHolderService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ForwardKinematicsService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/SequencePlayerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/DataLoggerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TorqueControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/AutoBalancerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/OGMap3DService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/GraspControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/KalmanFilterService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ImpedanceControllerService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ExecutionProfileService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/Img.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/AbsoluteForceSensorService.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/pointcloud.idl;/home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/SoftErrorLimiterService.idl
[_rtmbuild_genbridge_init] Get msgs/srvs filenames from /home/murooka/ros_catkin_ws/hydro2/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/ServoControllerService.idl
[_rtmbuild_genbridge_init] running
mmurooka commented 10 years ago

各パッケージのソースを落としてくるところから再度やりなおしてみたら通って, --only-pkg-with-deps hrpsys_ros_bridge を付けて繰り返しcatkin_makeしても通りました. openrtm_commonの中の各リポジトリのどれかのアップデートを忘れていたのだと思います. お騒がせしました.

garaemon commented 10 years ago

hrpsys_gazebo_tutorialsをcatkin_makeしてからhrpsys_ros_bridge_tutorialsをcatkin_makeするとエラーが出る by @mmurooka

garaemon commented 10 years ago

再現しました

mmurooka commented 10 years ago
catkin_make --only-pkg-with-deps hrpsys_gazebo_tutorials
catkin_make

で再現します.

rtmros_gazebo か rtmros_tutorials の中に問題があるのかもしれません.

garaemon commented 10 years ago

https://github.com/start-jsk/rtmros_gazebo/pull/26/files#diff-d7386ae56fa6c47b9e18e8d6e1660274R13 これか?

garaemon commented 10 years ago

hrpsys_ros_bridge, hrpsys_gazebo_tutorialsでhrpsys_LIBRARIESを空にしている。 これが原因かはまだ調査中

garaemon commented 10 years ago

殻になっていたのはopenhrp3_LIBRARIES. これをnilにしているのはhrpsys_gazebo_tutorialsのみ。

mmurooka commented 10 years ago

以下のcatkin.cmakeで unset(openhrp3_LIBRARIES CACHE) しているのが原因のようです. ただ,この行をコメントアウトすると別のエラーが出ます. https://github.com/start-jsk/rtmros_tutorials/blob/master/hrpsys_ros_bridge_tutorials/catkin.cmake#L23 https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_tutorials/catkin.cmake#L14

garaemon commented 10 years ago

@k-okada 確認ですが、openrtm_aist hrpsys openhrpはfind_package(catkin ...) してはいけない、plg_check_moduleすべきというので正しいですか?

2014年4月4日金曜日、mmurookanotifications@github.comさんは書きました:

以下のcatkin.cmakeで unset(openhrp3_LIBRARIES CACHE) しているのが原因のようです. ただ,この行をコメントアウトすると別のエラーが出ます.

https://github.com/start-jsk/rtmros_tutorials/blob/master/hrpsys_ros_bridge_tutorials/catkin.cmake#L23

https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_tutorials/catkin.cmake#L14

— Reply to this email directly or view it on GitHubhttps://github.com/start-jsk/rtmros_common/issues/398#issuecomment-39549975 .

from iPhone

k-okada commented 10 years ago

はい そうデザインしているつもりです

k-okada commented 10 years ago

@mmurooka, @garaemon @eisoku9618 以下の状況はgroovy? hydro?

catkin_make --only-pkg-with-deps hrpsys_gazebo_tutorials
catkin_make
で再現します.
rtmros_gazebo か rtmros_tutorials の中に問題があるのかもしれません.
garaemon commented 10 years ago

hydroです. groovyでは確認していません

k-okada commented 10 years ago
/home/k-okada/catkin_ws/ws_rtmros_gazebo/src/rtm-ros-robotics/rtmros_gazebo/hrpsys_gazebo_general/src/GetVelPlugin.cpp:41:25: エラー: ‘class sdf::Element’ has no member named ‘Get’

がでるけど,osrfからgazeboはインストールするのかな?

k-okada commented 10 years ago

gazebo-1.8 が使われているようだ

[ 76%] Building CXX object rtm-ros-robotics/rtmros_gazebo/hrpsys_gazebo_general/CMakeFiles/AddForcePlugin.dir/src/AddForcePlugin.cpp.o
cd /home/k-okada/catkin_ws/ws_rtmros_gazebo/build/rtm-ros-robotics/rtmros_gazebo/hrpsys_gazebo_general && /usr/bin/c++   -DAddForcePlugin_EXPORTS -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"hrpsys_gazebo_general\" -DROSCONSOLE_BACKEND_LOG4CXX -fPIC -I/opt/ros/hydro/include/gazebo-1.8 -I/opt/ros/hydro/include/gazebo-1.8/gazebo -I/home/k-okada/catkin_ws/ws_rtmros_gazebo/devel/include -I/home/k-okada/catkin_ws/ws_rtmros_common/devel/include -I/opt/ros/hydro/include -I/usr/include/eigen3    -o CMakeFiles/AddForcePlugin.dir/src/AddForcePlugin.cpp.o -c /home/k-okada/catkin_ws/ws_rtmros_gazebo/src/rtm-ros-robotics/rtmros_gazebo/hrpsys_gazebo_general/src/AddForcePlugin.cpp
k-okada commented 10 years ago

sudo apt-get remove ros-hydro-gazebo したら動くようになりました.お騒がせしました.で,問題の箇所も再現しました.直します.

k-okada commented 10 years ago

https://github.com/start-jsk/rtmros_gazebo/pull/28 で直ったとおもいます. 確認して下さい. > @eisoku9618 @mmurooka

eisoku9618 commented 10 years ago

wstool updaterm -rf build develをしたあとに,catkin_makeをしたところ, 途中で下記のようなエラーが出て,

-- Using these message generators: gencpp;geneus;genlisp;genpy
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build
cd build && make 
make[2]: Entering directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[3]: Entering directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[4]: Entering directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[4]: Leaving directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[4]: Entering directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
[ 33%] Building CXX object CMakeFiles/collada_to_urdf.dir/src/collada_to_urdf.cpp.o
/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/src/collada_to_urdf.cpp:9:31: fatal error: assimp/IOSystem.hpp: No such file or directory
compilation terminated.
make[4]: *** [CMakeFiles/collada_to_urdf.dir/src/collada_to_urdf.cpp.o] Error 1
make[4]: Leaving directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[3]: *** [CMakeFiles/collada_to_urdf.dir/all] Error 2
make[3]: Leaving directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/build/robot_model/collada_urdf'
make: *** [urdf_to_collada] Error 2
make: Leaving directory `/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch'
Error copying file "/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/collada_urdf_jsk_patch/urdf_to_collada" to "/home/eisoku/ros/hydro/devel/lib/collada_urdf_jsk_patch".

最終的に下記のようなメッセージで止まりました.

CMake Error at rtm-ros-robotics/rtmros_common/rtmbuild/cmake/rtmbuild.cmake:9 (include):
  include could not find load file:

    /cmake/servicebridge.cmake
Call Stack (most recent call first):
  rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/catkin.cmake:36 (include)
  rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/CMakeLists.txt:2 (include)

CMake Error at rtm-ros-robotics/rtmros_common/rtmbuild/cmake/rtmbuild.cmake:41 (rosbuild_find_ros_package):
  Unknown CMake command "rosbuild_find_ros_package".
Call Stack (most recent call first):
  rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/catkin.cmake:78 (rtmbuild_init)
  rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/CMakeLists.txt:2 (include)

-- Configuring incomplete, errors occurred!
Base path: /home/eisoku/ros/hydro
Source space: /home/eisoku/ros/hydro/src
Build space: /home/eisoku/ros/hydro/build
Devel space: /home/eisoku/ros/hydro/devel
Install space: /home/eisoku/ros/hydro/install
####
#### Running command: "cmake /home/eisoku/ros/hydro/src -DCATKIN_DEVEL_PREFIX=/home/eisoku/ros/hydro/devel -DCMAKE_INSTALL_PREFIX=/home/eisoku/ros/hydro/install" in "/home/eisoku/ros/hydro/build"
####
Invoking "cmake" failed
eisoku9618 commented 10 years ago

assimp/IOSystem.hpp が見つからないというエラーでした.

garaemon commented 10 years ago

Do you mixed up catkin and rosbuild environment? You can clean up src directory by git clean -xfd

hoge=$(find . - name .git  | xargs -n 1 dirname)
for h in $(echo $hoge)
do 
  (cd $h ; git clean -xfd)
done
eisoku9618 commented 10 years ago

/opt/ros/hydro/setup.bash してからcatkin_make すると動き出しました.

# for rosbuild                                                                                                      
if(NOT COMMAND _rtmbuild_genbridge_init)
  include(${rtmbuild_PACKAGE_PATH}/cmake/servicebridge.cmake)
  set(use_catkin FALSE)
endif()

の部分で,_rtmbuild_genbridge_init がないとおもって,include側に入っているようです. これは,

  catkin_package(
    DEPENDS omniorb
    CATKIN_DEPENDS message_generation std_msgs
    CFG_EXTRAS servicebridge.cmake rtmbuild.cmake
    )

の部分でfind_packageすると自動でrtmbuild.cmakeの前にservicebridge.cmakeが読み込まれることを前提にしていますが,/opt/ros/hydro以下に古い(1.0.5)のrtmbuildがインストールされていて, このようなことが起こっているように思いました.

eisoku9618 commented 10 years ago

その後進むと,はやりnao_msgsがコンパイルされません. http://jenkins.jsk.imi.i.u-tokyo.ac.jp:8080/job/jsk.rosbuild/DEBIAN_REPOSITORY=ros,FULL_SOURCE=full_source,ROS_DISTRO=hydro,slave=ec2/ も同じ所でエラーなのでそういうものでしょうか.

Cannot load type 'actionlib_msgs/GoalStatus'.  Perhaps the package is missing a dependency.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named msg
[ERROR] Could not get md5sum for nao_msgs JointTrajectoryActionResult //home/eisoku/ros/hydro/devel/share/nao_msgs/msg/JointTrajectoryActionResult.msg
 PYTHONPATH=/home/eisoku/ros/hydro/devel/lib/python2.7/dist-packages:/opt/ros/hydro/lib/python2.7/dist-packages:/opt/ros/hydro/share/openrtm_aist_python/lib/python2.7/site-packages:/opt/ros/hydro/share/rtshell/lib/python2.7/site-packages:/home/eisoku/ros/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtctree/lib/python2.7/site-packages:/home/eisoku/ros/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtsprofile/lib/python2.7/site-packages
 ROS_PACKAGE_PATH=/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp:/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_roseus/geneus:/home/eisoku/ros/hydro/src:/opt/ros/hydro/share:/opt/ros/hydro/stacks
[ 14%] make[2]: *** [/home/eisoku/.ros/roseus/hydro/nao_msgs/msg/JointTrajectoryActionResult.l] Error 255
make[2]: *** Waiting for unfinished jobs....
[ 14%] Generating Lisp code from hrpsys_ros_bridge/OpenHRP_SequencePlayerService_interpolationMode.msg
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named msg
Generating Lisp code from hrpsys_ros_bridge/RTC_ModeCapable.msg
[ERROR] Could not get md5sum for nao_msgs JointAnglesWithSpeedActionResult //home/eisoku/ros/hydro/devel/share/nao_msgs/msg/JointAnglesWithSpeedActionResult.msg
 PYTHONPATH=/home/eisoku/ros/hydro/devel/lib/python2.7/dist-packages:/opt/ros/hydro/lib/python2.7/dist-packages:/opt/ros/hydro/share/openrtm_aist_python/lib/python2.7/site-packages:/opt/ros/hydro/share/rtshell/lib/python2.7/site-packages:/home/eisoku/ros/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtctree/lib/python2.7/site-packages:/home/eisoku/ros/hydro/src/rtm-ros-robotics/openrtm_common/rtshell_core/rtsprofile/lib/python2.7/site-packages
 ROS_PACKAGE_PATH=/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp:/home/eisoku/ros/hydro/src/jsk-ros-pkg/jsk_roseus/geneus:/home/eisoku/ros/hydro/src:/opt/ros/hydro/share:/opt/ros/hydro/stacks
make[2]: *** [/home/eisoku/.ros/roseus/hydro/nao_msgs/msg/JointAnglesWithSpeedActionResult.l] Error 255

場当たり的ですが, cd build/humanoid_stacks/nao_robot/nao_msgs; make してからcatkin_make したら進みました.

eisoku9618 commented 10 years ago

there is a typo in https://github.com/start-jsk/rtmros_common/issues/398#issuecomment-39826296 ( space between - and name)

hoge=$(find . -name .git  | xargs -n 1 dirname)
for h in $(echo $hoge)
do 
  (cd $h ; git clean -xfd)
done
eisoku9618 commented 10 years ago
catkin_make --only-pkg-with-deps hrpsys_gazebo_tutorials
catkin_make
で再現します.
rtmros_gazebo か rtmros_tutorials の中に問題があるのかもしれません

https://github.com/start-jsk/rtmros_gazebo/pull/28 で治ったと思います.

また,

cd build/humanoid_stacks/nao_robot/nao_msgs; make
してからcatkin_make したら進みました.

https://github.com/jsk-ros-pkg/jsk_roseus/pull/56 で対応しました.

多分大丈夫だと思うので,一旦クローズします.