liuxinwust / test_robot

aubo robot meta-package. http://ros.org/wiki/aubo_robot
56 stars 27 forks source link

aubo_driver does not build on armhf #3

Closed tfoote closed 7 years ago

tfoote commented 7 years ago

From here: http://build.ros.org/view/Ibin_arm_uThf/job/Ibin_arm_uThf__aubo_driver__ubuntu_trusty_armhf__binary/66/console

gnueabihf/CMakeFiles 1
08:15:49 [100%] Building CXX object CMakeFiles/aubo_driver.dir/src/aubo_driver.cpp.o
08:15:49 /usr/bin/arm-linux-gnueabihf-g++   -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"aubo_driver\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -D_FORTIFY_SOURCE=2  -I/tmp/binarydeb/ros-indigo-aubo-driver-0.3.12/include -I/opt/ros/indigo/include -I/tmp/binarydeb/ros-indigo-aubo-driver-0.3.12/include/aubo_driver/control_api    -o CMakeFiles/aubo_driver.dir/src/aubo_driver.cpp.o -c /tmp/binarydeb/ros-indigo-aubo-driver-0.3.12/src/aubo_driver.cpp
08:16:56 Linking CXX executable devel/lib/aubo_driver/aubo_driver
08:16:56 /usr/bin/cmake -E cmake_link_script CMakeFiles/aubo_driver.dir/link.txt --verbose=1
08:16:56 /usr/bin/arm-linux-gnueabihf-g++   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -D_FORTIFY_SOURCE=2     CMakeFiles/aubo_driver.dir/src/aubo_driver.cpp.o  -o devel/lib/aubo_driver/aubo_driver -rdynamic /opt/ros/indigo/lib/libroscpp.so -lboost_signals -lboost_filesystem /opt/ros/indigo/lib/librosconsole.so /opt/ros/indigo/lib/librosconsole_log4cxx.so /opt/ros/indigo/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/indigo/lib/libxmlrpcpp.so /opt/ros/indigo/lib/libroscpp_serialization.so /opt/ros/indigo/lib/librostime.so -lboost_date_time /opt/ros/indigo/lib/libcpp_common.so -lboost_system -lboost_thread -lpthread -lconsole_bridge ../lib/lib32/libcontrolAPI.a -lm ../lib/lib32/libev.a -lpthread -Wl,-rpath,/opt/ros/indigo/lib 
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 /usr/bin/ld: ../lib/lib32/libcontrolAPI.a(our_control_api_v1.o): Relocations in generic ELF (EM: 3)
08:16:56 ../lib/lib32/libcontrolAPI.a: error adding symbols: File in wrong format
08:16:56 collect2: error: ld returned 1 exit status
08:16:56 make[4]: *** [devel/lib/aubo_driver/aubo_driver] Error 1
08:16:56 make[4]: Leaving directory `/tmp/binarydeb/ros-indigo-aubo-driver-0.3.12/obj-arm-linux-gnueabihf'
08:16:56 make[3]: *** [CMakeFiles/aubo_driver.dir/all] Error 2
08:16:56 make[3]: Leaving directory `/tmp/binarydeb/ros-indigo-aubo-driver-0.3.12/obj-arm-linux-gnueabihf'
08:16:56 make[2]: *** [all] Error 2
08:16:56 make[2]: Leaving directory `/tmp/binarydeb/ros-indigo-aubo-driver-0.3.12/obj-arm-linux-gnueabihf'
08:16:56 dh_auto_build: make -j1 returned exit code 2
gavanderhoorn commented 7 years ago

Looks like aubo_driver/lib/* is x86/x64 only:

$ file our_control_api_v1.o
our_control_api_v1.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped