Ask Your Question
0

error when compiling packages on crosscompile ros for nao robot

asked 2012-08-13 15:58:25 -0600

ryann2k1 gravatar image

updated 2012-08-15 01:35:15 -0600

AHornung gravatar image

I am having error message when compiling packages rosmake common as in the tutorial (step 7): http://www.ros.org/wiki/nao/Tutorials/Cross-Compiling I am using Natty 11.04 with diamondback and NAO SDk 1.10.52.

anshar@anshar:~/rosfornao/ros/diamondback$ rosmake common
[ rosmake ] Packages requested are: ['common']                                  
[ rosmake ] Logging to directory/home/anshar/.ros/rosmake/rosmake_output-20120814-203550
[ rosmake ] Expanded args ['common'] to:
['smclib', 'filters', 'xacro', 'test_bond', 'test_nodelet', 'bfl', 'nodelet_topic_tools', 'bondcpp', 'bond', 'tinyxml', 'actionlib', 'yaml_cpp', 'pluginlib', 'nodelet', 'bondpy']
[ rosmake ] Checking rosdeps compliance for packages common.  This may take a few seconds.
[ rosmake ] rosdep check passed all system dependencies in packages             
[ rosmake ] Starting >>> tools/rospack                                          
[ rosmake ] Finished <<< tools/rospack                                          
[rosmake-0] Starting >>> smclib [ make ]                                        
[rosmake-1] Starting >>> cpp_common [ make ]                                    
[rosmake-0] Finished <<< smclib [PASS] [ 0.07 seconds ]                         
[rosmake-0] Starting >>> rosbuild [ make ]                                      
[rosmake-0] Finished <<< rosbuild  No Makefile in package rosbuild              
[rosmake-0] Starting >>> roslang [ make ]                                       
[rosmake-0] Finished <<< roslang  No Makefile in package roslang                
[rosmake-0] Starting >>> roslib [ make ]                                        
[rosmake-1] Finished <<< cpp_common [PASS] [ 0.65 seconds ]                     
[rosmake-1] Starting >>> rostime [ make ]                                       
[rosmake-0] Finished <<< roslib [PASS] [ 1.26 seconds ]                         
[rosmake-0] Starting >>> roscpp_traits [ make ]                                 
[rosmake-1] Finished <<< rostime [PASS] [ 1.05 seconds ]                        
[rosmake-1] Starting >>> rosconsole [ make ]                                    
[rosmake-0] Finished <<< roscpp_traits [PASS] [ 0.77 seconds ]                  
[rosmake-0] Starting >>> roscpp_serialization [ make ]                          
[rosmake-1] Finished <<< rosconsole [PASS] [ 1.13 seconds ]                     
[rosmake-1] Starting >>> xmlrpcpp [ make ]                                      
[rosmake-0] Finished <<< roscpp_serialization [PASS] [ 0.88 seconds ]           
[rosmake-0] Starting >>> std_msgs [ make ]                                      
[rosmake-1] Finished <<< xmlrpcpp [PASS] [ 0.80 seconds ]                       
[rosmake-1] Starting >>> tinyxml [ make ]                                       
[rosmake-1] Finished <<< tinyxml [PASS] [ 0.81 seconds ]                        
[rosmake-1] Starting >>> pluginlib [ make ]                                     
[rosmake-1] Finished <<< pluginlib [PASS] [ 2.15 seconds ]                      
[rosmake-1] Starting >>> rosclean [ make ]                                      
[rosmake-1] Finished <<< rosclean [PASS] [ 0.78 seconds ]                       
[rosmake-1] Starting >>> rosgraph [ make ]                                      
[rosmake-0] Finished <<< std_msgs [PASS] [ 5.02 seconds ]                       
[rosmake-0] Starting >>> rosgraph_msgs [ make ]                                 
[rosmake-1] Finished <<< rosgraph [PASS] [ 0.74 seconds ]                       
[rosmake-1] Starting >>> rosparam [ make ]                                      
[rosmake-1] Finished <<< rosparam [PASS] [ 0.67 seconds ]                       
[rosmake-1] Starting >>> rosmaster [ make ]                                     
[rosmake-0] Finished <<< rosgraph_msgs [PASS] [ 1.10 seconds ]                  
[rosmake-0] Starting >>> roscpp [ make ]                                        
[rosmake-1] Finished <<< rosmaster [PASS] [ 0.60 seconds ]                      
[rosmake-1] Starting >>> rospy [ make ]                                         
[rosmake-1] Finished <<< rospy [PASS] [ 0.61 seconds ]                          
[rosmake-1] Starting >>> rosunit [ make ]                                       
[rosmake-1] Finished <<< rosunit [PASS] [ 0.69 seconds ]                        
[rosmake-1] Starting >>> bond [ make ]                                          
[rosmake-0] Finished <<< roscpp [PASS] [ 2.48 seconds ]                         
[rosmake-0] Starting >>> filters [ make ]                                       
[rosmake-1] Finished <<< bond [PASS] [ 1.28 seconds ]                           
[rosmake-1] Starting >>> rosout [ make ]                                        
[ rosmake ] All 32 linesilters: 1.3 sec ] [ rosou... [ 2 Active 23/39 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  -- OE_CROSS2: sss/opt/naoqi-sdk-1.10.52/nao-cross-toolchain/cross/geode
  [rosbuild] Building package rosout
  [rosbuild] Including /home/anshar/rosfornao/ros/diamondback/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /home/anshar/rosfornao/ros/diamondback/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /home/anshar/rosfornao/ros/diamondback/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/anshar/rosfornao/ros/diamondback/ros_comm/tools/rosout/build
  cd build && make -l2
  make[1]: Entering directory `/home/anshar/rosfornao/ros/diamondback/ros_comm/tools/rosout/build'
  make[2]: Entering directory `/home/anshar/rosfornao/ros/diamondback/ros_comm/tools/rosout/build'
  make[3]: Entering directory `/home/anshar/rosfornao/ros/diamondback/ros_comm/tools ...
(more)
edit retag flag offensive close merge delete

Comments

Please add the correct tags to your question, so it can be found (nao, rospack, ...). That looks like a linker error, could you post the complete output in your question?

AHornung gravatar imageAHornung ( 2012-08-13 23:59:53 -0600 )edit

I have updated my question. Thanks

ryann2k1 gravatar imageryann2k1 ( 2012-08-14 01:00:23 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2012-08-15 01:41:40 -0600

daniel_maier gravatar image

updated 2012-08-15 01:42:19 -0600

can you try to follow the tutorial exactly as described in the tutorial, step-by-step and just copy&paste the shell scripts/commands into your terminal, leaving everything unchanged?

edit flag offensive delete link more

Comments

Its exactly the same as the tutorial as only one difference, I compile the diamond ros for Desktop install, not the RosBone (The source: http://www.ros.org/wiki/diamondback/Installation/Ubuntu/Source). tried previously to install the Rod Bones but the rosinstall didnt produce tf and bullet. thanks

ryann2k1 gravatar imageryann2k1 ( 2012-08-15 14:54:24 -0600 )edit

you also used a different path which lets me assume that you did not just copy&paste the instructions. there will be a tutorial for fuerte comming soon, maybe you also want to wait for that?

daniel_maier gravatar imagedaniel_maier ( 2012-08-16 22:08:27 -0600 )edit

when will the fuerte tutorial be released? Btw, I have changed the the path according to the tutorial, but still the same error occured. /media/external/ros/diamondback/ros/tools/rospack/lib/librospack.so: undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)@GLIBCXX_3.4.14'

ryann2k1 gravatar imageryann2k1 ( 2013-01-20 13:53:16 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-08-13 15:58:25 -0600

Seen: 206 times

Last updated: Aug 15 '12