orocos / rtt_ros_integration

Orocos-ROS integration libraries and tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors << rtt_ros:make /home/xxx/isir/rtt_ros-2.9_ws/logs/rtt_ros/build.make.002.log /usr/bin/ld: 找不到 /lib: 不可识别的文件格式

dbdxnuliba opened this issue · comments

Errors << rtt_ros:make /home/xxx/isir/rtt_ros-2.9_ws/logs/rtt_ros/build.make.002.log
/usr/bin/ld: 找不到 /lib: 不可识别的文件格式

Could you please provide some more information?

  • the command you run to build the workspace
  • which versions or branches of rtt_ros_integration and RTT/OCL?
  • which OS and/or distribution?

Preferably switch the language to English for sending error reports (e.g. by export LC_ALL=C).

The Google translation is

Errors << rtt_ros:make /home/xxx/isir/rtt_ros-2.9_ws/logs/rtt_ros/build.make.002.log
/usr/bin/ld: not found /lib: unrecognized file format

which points to issues with the linker command line built by CMake, and the linker tries to link just /lib instead of a specific library?

$ /usr/bin/ld -shared -o /tmp/test.so /lib
/usr/bin/ld: cannot find /lib: File format not recognized

In this case building with export VERBOSE=1 (or catkin build -v if you use catkin_tools) may help to show the full command line.