{"action":"created","issue":{"url":"https://api.github.com/repos/mavlink/mavros/issues/698","repository_url":"https://api.github.com/repos/mavlink/mavros","labels_url":"https://api.github.com/repos/mavlink/mavros/issues/698/labels{/name}","comments_url":"https://api.github.com/repos/mavlink/mavros/issues/698/comments","events_url":"https://api.github.com/repos/mavlink/mavros/issues/698/events","html_url":"https://github.com/mavlink/mavros/issues/698","id":225230344,"number":698,"title":"failed build mavros in raspberry pi 2 ","user":{"login":"gibranmfw","id":25610259,"avatar_url":"https://avatars1.githubusercontent.com/u/25610259?v=3","gravatar_id":"","url":"https://api.github.com/users/gibranmfw","html_url":"https://github.com/gibranmfw","followers_url":"https://api.github.com/users/gibranmfw/followers","following_url":"https://api.github.com/users/gibranmfw/following{/other_user}","gists_url":"https://api.github.com/users/gibranmfw/gists{/gist_id}","starred_url":"https://api.github.com/users/gibranmfw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibranmfw/subscriptions","organizations_url":"https://api.github.com/users/gibranmfw/orgs","repos_url":"https://api.github.com/users/gibranmfw/repos","events_url":"https://api.github.com/users/gibranmfw/events{/privacy}","received_events_url":"https://api.github.com/users/gibranmfw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-29T03:31:13Z","updated_at":"2017-04-29T04:07:37Z","closed_at":"2017-04-29T04:07:37Z","body":"### Issue details\r\n\r\nHello, i was following the step for installing mavros from sources in this guide \r\n[https://github.com/mavlink/mavros/blob/master/mavros/README.md#installation](url)\r\nThen i got an error saying about missing dependencies. Then i tried to install all of the dependencie using rosinstall until all. But when i tried to build using \r\n\r\n`catkin build`\r\n\r\ni got errors \r\n\r\n> [  1%] ^[[32mBuilding CXX object src/CMakeFiles/orocos-kdl.dir/articulatedbodyinertia.cpp.o^[[0m^M\r\n[3%] ^[[32mBuilding CXX object src/CMakeFiles/orocos-kdl.dir/chain.cpp.o^[[0m^M\r\nIn file included from /usr/include/c++/4.9/vector:69:0,^M\r\n                 from /home/pi/ros_catkin_ws/src/orocos_kinematics_dynamics/orocos_kdl/src/segment.hpp:29,^M\r\n                 from /home/pi/ros_catkin_ws/src/orocos_kinematics_dynamics/orocos_kdl/src/chain.hpp:25,^M\r\n                 from /home/pi/ros_catkin_ws/src/orocos_kinematics_dynamics/orocos_kdl/src/chain.cpp:22:^M\r\n/usr/include/c++/4.9/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = KDL::Segment; _Alloc = std::allocator<KDL::Segment>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<KDL::Segment*, std::vector<KDL::Segment> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = KDL::Segment*; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = KDL::Segment]’:^M\r\n/usr/include/c++/4.9/bits/vector.tcc:449:5: internal compiler error: in build_int_cst_wide, at tree.c:1200^M\r\n     vector<_Tp, _Alloc>::^M\r\n     ^^M\r\nPlease submit a full bug report,^M\r\nwith preprocessed source if appropriate.^M\r\nSee <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.^M\r\nPreprocessed source stored into /tmp/ccYTzBvr.out file, please attach this to your bugreport.^M\r\nsrc/CMakeFiles/orocos-kdl.dir/build.make:86: recipe for target 'src/CMakeFiles/orocos-kdl.dir/chain.cpp.o' failed^M\r\nmake[2]: *** [src/CMakeFiles/orocos-kdl.dir/chain.cpp.o] Error 1^M\r\nmake[2]: *** Waiting for unfinished jobs....^M\r\n/home/pi/ros_catkin_ws/src/orocos_kinematics_dynamics/orocos_kdl/src/articulatedbodyinertia.cpp: In constructor ‘KDL::ArticulatedBodyInertia::ArticulatedBodyInertia(const KDL::RigidBodyInertia&)’:^M\r\n/home/pi/ros_catkin_ws/src/orocos_kinematics_dynamics/orocos_kdl/src/articulatedbodyinertia.cpp:30:3: internal compiler error: Segmentation fault^M\r\n   ArticulatedBodyInertia::ArticulatedBodyInertia(const RigidBodyInertia& rbi)^M\r\n   ^^M\r\nPlease submit a full bug report,^M\r\nwith preprocessed source if appropriate.^M\r\nSee <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.^M\r\nPreprocessed source stored into /tmp/ccAp7MyB.out file, please attach this to your bugreport.^M\r\nsrc/CMakeFiles/orocos-kdl.dir/build.make:62: recipe for target 'src/CMakeFiles/orocos-kdl.dir/articulatedbodyinertia.cpp.o' failed^M\r\nmake[2]: *** [src/CMakeFiles/orocos-kdl.dir/articulatedbodyinertia.cpp.o] Error 1^M\r\nCMakeFiles/Makefile2:135: recipe for target 'src/CMakeFiles/orocos-kdl.dir/all' failed^M\r\nmake[1]: *** [src/CMakeFiles/orocos-kdl.dir/all] Error 2^M\r\nMakefile:127: recipe for target 'all' failed^M\r\nmake: *** [all] Error 2^M\r\n\r\n\r\n### MAVROS version and platform\r\n\r\nROS: Kinetic\r\nRaspbian : Jessie"},"comment":{"url":"https://api.github.com/repos/mavlink/mavros/issues/comments/298145538","html_url":"https://github.com/mavlink/mavros/issues/698#issuecomment-298145538","issue_url":"https://api.github.com/repos/mavlink/mavros/issues/698","id":298145538,"user":{"login":"TSC21","id":5048656,"avatar_url":"https://avatars2.githubusercontent.com/u/5048656?v=3","gravatar_id":"","url":"https://api.github.com/users/TSC21","html_url":"https://github.com/TSC21","followers_url":"https://api.github.com/users/TSC21/followers","following_url":"https://api.github.com/users/TSC21/following{/other_user}","gists_url":"https://api.github.com/users/TSC21/gists{/gist_id}","starred_url":"https://api.github.com/users/TSC21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TSC21/subscriptions","organizations_url":"https://api.github.com/users/TSC21/orgs","repos_url":"https://api.github.com/users/TSC21/repos","events_url":"https://api.github.com/users/TSC21/events{/privacy}","received_events_url":"https://api.github.com/users/TSC21/received_events","type":"User","site_admin":false},"created_at":"2017-04-29T04:07:37Z","updated_at":"2017-04-29T04:07:37Z","body":"This is not related to mavros. `orocos` is not a dependency of mavros. Hint: try to update your GCC version"}}
{"actor":{"display_login":"TSC21"}}