ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

cross-compiling cannot find -lrospack

asked 2012-01-10 02:58:16 -0500

dougnets22 gravatar image

updated 2012-01-11 07:21:17 -0500

When cross-compiling for the NAO, I get the error cannot find -lrospack. This also shows up:

collect2: ld returned 1 exit status

make[2]: * * * [../lib/libroslib.so] Error 1

make[1]: * * * [CMakeFiles/roslib.dir/all] Error 2

I'm using the process found here: http://www.ros.org/wiki/nao/Tutorials/Cross-Compiling. Any suggestions? Thanks

[edit] It happens when I type 'make' in the /media/external/ros/electric/ros directory. I have definitely checked that I have followed all prior steps (multiple checks). I am using ROS electric and the NAO's 1.12 sdk and toolchain. I have Ubuntu 11.10 installed

edit retag flag offensive close merge delete

Comments

At which step does that happen, have you followed all the other steps? What system are you crosscompiling under with which ROS and NAO versions? Please be a little more specific.
AHornung gravatar image AHornung  ( 2012-01-10 06:45:22 -0500 )edit
Thanks for responding AHornung. It happens when I type 'make' in the /media/external/ros/electric/ros directory. I have definitely checked that I have followed all prior steps (multiple checks). I am using ROS electric and the NAO's 1.12 sdk and toolchain.
dougnets22 gravatar image dougnets22  ( 2012-01-10 07:24:29 -0500 )edit
Please edit this information into your original question to make answering it easier. What OS are you running this on? I'm not sure if NaoQI 1.12 requires any changes or tweaks but I know it works with 1.10.
AHornung gravatar image AHornung  ( 2012-01-10 19:19:26 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2012-01-11 08:46:34 -0500

dougnets22 gravatar image

updated 2012-01-11 08:47:09 -0500

So, I decided to revert back to an earlier version of the NAO's SDK (1.10.44). I still get a library error. And I followed the instructions on the wiki to the letter. The error that is get is:

/media/external/nao-cross-toolchain-1.10.44/cross/geode/bin/../libexec/gcc/i586-linux/4.3.3/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

edit flag offensive delete link more

Comments

Stefan Osswald gravatar image Stefan Osswald  ( 2012-01-11 18:45:46 -0500 )edit

Question Tools

Stats

Asked: 2012-01-10 02:58:16 -0500

Seen: 408 times

Last updated: Jan 11 '12