fkanehiro / openhrp3

Open Architecture Human-centered Robotics Platform
http://www.openrtp.jp/openhrp3
Other
26 stars 34 forks source link

ARM だとコンパイルできない? #97

Closed k-okada closed 7 years ago

k-okada commented 8 years ago

http://build.ros.org/job/Kbin_arm_uXhf__openhrp3__ubuntu_xenial_armhf__binary/1/console

[ 32%] Building CXX object hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/TimeUtil.o
cd /tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/obj-arm-linux-gnueabihf/hrplib/hrpPlanner && /usr/lib/ccache/arm-linux-gnueabihf-g++   -DOPENHRP_COLLADA_FOUND -D__OSVERSION__=2 -D__arm__ -D__linux__ -DhrpPlanner_3_1_EXPORTS -I/usr/include/eigen3 -I/opt/ros/kinetic/include/openrtm-1.1/rtm/idl -I/opt/ros/kinetic/include/openrtm-1.1 -I/opt/ros/kinetic/include/coil-1.1 -I/tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/obj-arm-linux-gnueabihf/hrplib -I/tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/hrplib  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG   -fPIC   -DNDEBUG -O2 -I/opt/ros/kinetic/include -I/opt/ros/kinetic/include/coil-1.1 -I/opt/ros/kinetic/include/openrtm-1.1 -I/opt/ros/kinetic/include/openrtm-1.1/rtm/idl  -o CMakeFiles/hrpPlanner-3.1.dir/TimeUtil.o -c /tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/hrplib/hrpPlanner/TimeUtil.cpp
/tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/hrplib/hrpPlanner/TimeUtil.cpp: In function ‘tick_t get_tick()’:
/tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/hrplib/hrpPlanner/TimeUtil.cpp:13:55: error: impossible constraint in ‘asm’
     __asm__ __volatile__("rdtsc" : "=a" (l), "=d" (h));
                                                       ^