Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make error in ubuntu mate 16.04 on raspberry pi 3 #216

Open
Tangliang1101 opened this issue Dec 2, 2017 · 1 comment
Open

catkin_make error in ubuntu mate 16.04 on raspberry pi 3 #216

Tangliang1101 opened this issue Dec 2, 2017 · 1 comment

Comments

@Tangliang1101
Copy link

Tangliang1101 commented Dec 2, 2017

I install ubuntu mate 16.04 on raspberry pi 3, and I have installed ros-kinetic on it successfully
but when I want to catkin_make ardrone_autonomy package, error occurs as follow:
(anybody meet same problem???)
Base path: /home/tl/catkin_ws
Source space: /home/tl/catkin_ws/src
Build space: /home/tl/catkin_ws/build
Devel space: /home/tl/catkin_ws/devel
Install space: /home/tl/catkin_ws/install

Running command: "cmake /home/tl/catkin_ws/src -DCATKIN_WHITELIST_PACKAGES= -DCATKIN_DEVEL_PREFIX=/home/tl/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/tl/catkin_ws/install -G Unix Makefiles" in "/home/tl/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/tl/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/tl/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.6
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - ardrone_autonomy
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'ardrone_autonomy'
-- ==> add_subdirectory(ardrone_autonomy)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- ardrone_autonomy: 32 messages, 4 services
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on 'libsdl-dev' but neither
'libsdl-dev_INCLUDE_DIRS' nor 'libsdl-dev_LIBRARIES' is defined.
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
ardrone_autonomy/CMakeLists.txt:65 (catkin_package)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/tl/catkin_ws/build

Running command: "make -j4 -l4" in "/home/tl/catkin_ws/build"

[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_magneto
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_adc_data_frame
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_video_stream
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_LedAnim
[ 0%] Built target geometry_msgs_generate_messages_cpp
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_vision
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_wifi
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_watchdog
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_vision_detect
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_hdvideo_stream
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_altitude
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_trackers_send
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_rc_references
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_gyros_offsets
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_vision_of
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_matrix33
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_CamSelect
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_vision_perf
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_FlightAnim
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_vector21
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_time
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_raw_measures
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_vector31
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_vision_raw
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_demo
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_games
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_phys_measures
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_pressure_raw
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_pwm
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_Navdata
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_kalman_pressure
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_RecordEnable
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_trims
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_references
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_euler_angles
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_wind_speed
[ 0%] Creating directories for 'ardronelib'
[ 0%] Built target _ardrone_autonomy_generate_messages_check_deps_navdata_zimmu_3000
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target geometry_msgs_generate_messages_nodejs
[ 0%] Built target geometry_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_py
[ 2%] Generating EusLisp code from ardrone_autonomy/navdata_trackers_send.msg
[ 2%] Generating C++ code from ardrone_autonomy/navdata_trackers_send.msg
[ 2%] Performing download step (git clone) for 'ardronelib'
[ 2%] Generating Javascript code from ardrone_autonomy/navdata_trackers_send.msg
-- Avoiding repeated git clone, stamp file is up to date: '/home/tl/catkin_ws/devel/src/ardronelib-stamp/ardronelib-gitclone-lastrun.txt'
[ 3%] No patch step for 'ardronelib'
[ 3%] Performing update step for 'ardronelib'
[ 3%] Generating Javascript code from ardrone_autonomy/navdata_wifi.msg
[ 4%] Generating EusLisp code from ardrone_autonomy/navdata_wifi.msg
[ 5%] Generating Javascript code from ardrone_autonomy/navdata_rc_references.msg
[ 5%] Generating EusLisp code from ardrone_autonomy/navdata_rc_references.msg
[ 5%] Generating Javascript code from ardrone_autonomy/navdata_vision_of.msg
[ 6%] Generating EusLisp code from ardrone_autonomy/navdata_vision_of.msg
Note: checking out '2f987029c55531e4c0119c3600f9c57f935851ed'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 2f98702... Merge pull request #2 from kbogert/master
[ 7%] Generating C++ code from ardrone_autonomy/navdata_wifi.msg
[ 8%] Generating Javascript code from ardrone_autonomy/matrix33.msg
[ 8%] Performing configure step for 'ardronelib'
No configure
[ 9%] Performing build step for 'ardronelib'
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
[ 9%] Generating EusLisp code from ardrone_autonomy/matrix33.msg
Libs already extracted
Building target static
[ 9%] Generating Javascript code from ardrone_autonomy/navdata_vision_perf.msg
Architecture armv7l is already built
Creating universal static lib file from architectures armv7l
[ 10%] Generating EusLisp code from ardrone_autonomy/navdata_vision_perf.msg
[ 11%] Generating Javascript code from ardrone_autonomy/vector21.msg
[ 11%] Generating EusLisp code from ardrone_autonomy/vector21.msg
[ 11%] Generating Javascript code from ardrone_autonomy/navdata_time.msg
Build done.
Building ARDroneTool/Lib
[ 11%] Generating C++ code from ardrone_autonomy/navdata_rc_references.msg
[ 12%] Generating Javascript code from ardrone_autonomy/vector31.msg
[ 13%] Generating EusLisp code from ardrone_autonomy/navdata_time.msg
[ 13%] Generating Javascript code from ardrone_autonomy/navdata_raw_measures.msg
[ 13%] Generating EusLisp code from ardrone_autonomy/vector31.msg
[ 14%] Generating Javascript code from ardrone_autonomy/navdata_vision_raw.msg
cc video_mem32.c
[ 15%] Generating EusLisp code from ardrone_autonomy/navdata_raw_measures.msg
[ 15%] Generating Javascript code from ardrone_autonomy/navdata_demo.msg
[ 16%] Generating C++ code from ardrone_autonomy/navdata_vision_of.msg
[ 16%] Generating EusLisp code from ardrone_autonomy/navdata_vision_raw.msg
/tmp/cc4mSZFe.s: Assembler messages:
/tmp/cc4mSZFe.s:74: Error: bad instruction `bswap r3'
generic.makefile:231: recipe for target '../../Soft/Build/targets_versions/vlib_PROD_MODE_Linux_4.4.38-v7+_GNU_Linux_usrbingcc_5.4.0/video_mem32.o' failed
make[8]: *** [../../Soft/Build/targets_versions/vlib_PROD_MODE_Linux_4.4.38-v7+_GNU_Linux_usrbingcc_5.4.0/video_mem32.o] Error 1
vlib.makefile:104: recipe for target 'all' failed
make[7]: *** [all] Error 2
Makefile:167: recipe for target 'build_vlib' failed
make[6]: *** [build_vlib] Error 2
Makefile:170: recipe for target 'all' failed
make[5]: *** [all] Error 2
Makefile:84: recipe for target 'build_libs' failed
make[4]: *** [build_libs] Error 2
Makefile:20: recipe for target 'all' failed
make[3]: *** [all] Error 2
ardrone_autonomy/CMakeFiles/ardronelib.dir/build.make:110: recipe for target '/home/tl/catkin_ws/devel/src/ardronelib-stamp/ardronelib-build' failed
make[2]: *** [/home/tl/catkin_ws/devel/src/ardronelib-stamp/ardronelib-build] Error 2
CMakeFiles/Makefile2:532: recipe for target 'ardrone_autonomy/CMakeFiles/ardronelib.dir/all' failed
make[1]: *** [ardrone_autonomy/CMakeFiles/ardronelib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

[ 17%] Generating EusLisp code from ardrone_autonomy/navdata_demo.msg
[ 18%] Generating Javascript code from ardrone_autonomy/navdata_altitude.msg
[ 18%] Generating C++ code from ardrone_autonomy/matrix33.msg
[ 18%] Generating Javascript code from ardrone_autonomy/navdata_games.msg
[ 18%] Generating EusLisp code from ardrone_autonomy/navdata_altitude.msg
[ 19%] Generating Javascript code from ardrone_autonomy/navdata_gyros_offsets.msg
[ 20%] Generating EusLisp code from ardrone_autonomy/navdata_games.msg
[ 20%] Generating EusLisp code from ardrone_autonomy/navdata_gyros_offsets.msg
[ 20%] Generating Javascript code from ardrone_autonomy/navdata_pressure_raw.msg
[ 21%] Generating C++ code from ardrone_autonomy/navdata_vision_perf.msg
[ 22%] Generating Javascript code from ardrone_autonomy/navdata_pwm.msg
[ 23%] Generating EusLisp code from ardrone_autonomy/navdata_pressure_raw.msg
[ 23%] Generating EusLisp code from ardrone_autonomy/navdata_pwm.msg
[ 23%] Generating Javascript code from ardrone_autonomy/navdata_vision_detect.msg
[ 23%] Generating C++ code from ardrone_autonomy/vector21.msg
[ 24%] Generating EusLisp code from ardrone_autonomy/navdata_vision_detect.msg
[ 25%] Generating Javascript code from ardrone_autonomy/navdata_vision.msg
[ 25%] Generating EusLisp code from ardrone_autonomy/navdata_vision.msg
[ 26%] Generating EusLisp code from ardrone_autonomy/navdata_kalman_pressure.msg
[ 26%] Generating Javascript code from ardrone_autonomy/navdata_kalman_pressure.msg
[ 27%] Generating C++ code from ardrone_autonomy/navdata_time.msg
[ 27%] Generating EusLisp code from ardrone_autonomy/navdata_adc_data_frame.msg
[ 28%] Generating Javascript code from ardrone_autonomy/navdata_adc_data_frame.msg
[ 28%] Generating Javascript code from ardrone_autonomy/navdata_references.msg
[ 29%] Generating EusLisp code from ardrone_autonomy/navdata_references.msg
[ 29%] Generating C++ code from ardrone_autonomy/vector31.msg
[ 30%] Generating Javascript code from ardrone_autonomy/navdata_trims.msg
[ 30%] Generating EusLisp code from ardrone_autonomy/navdata_trims.msg
[ 30%] Generating Javascript code from ardrone_autonomy/navdata_watchdog.msg
[ 31%] Generating EusLisp code from ardrone_autonomy/navdata_watchdog.msg
[ 31%] Generating EusLisp code from ardrone_autonomy/navdata_phys_measures.msg
[ 32%] Generating Javascript code from ardrone_autonomy/navdata_phys_measures.msg
[ 32%] Generating Javascript code from ardrone_autonomy/navdata_video_stream.msg
[ 33%] Generating EusLisp code from ardrone_autonomy/navdata_video_stream.msg
[ 33%] Generating EusLisp code from ardrone_autonomy/navdata_euler_angles.msg
[ 34%] Generating C++ code from ardrone_autonomy/navdata_raw_measures.msg
[ 35%] Generating Javascript code from ardrone_autonomy/navdata_euler_angles.msg
[ 35%] Generating Javascript code from ardrone_autonomy/navdata_wind_speed.msg
[ 36%] Generating EusLisp code from ardrone_autonomy/navdata_wind_speed.msg
[ 36%] Generating C++ code from ardrone_autonomy/navdata_vision_raw.msg
[ 37%] Generating Javascript code from ardrone_autonomy/navdata_hdvideo_stream.msg
[ 37%] Generating EusLisp code from ardrone_autonomy/navdata_hdvideo_stream.msg
[ 37%] Generating Javascript code from ardrone_autonomy/Navdata.msg
[ 38%] Generating EusLisp code from ardrone_autonomy/Navdata.msg
[ 39%] Generating Javascript code from ardrone_autonomy/navdata_zimmu_3000.msg
[ 39%] Generating EusLisp code from ardrone_autonomy/navdata_zimmu_3000.msg
[ 39%] Generating Javascript code from ardrone_autonomy/navdata_magneto.msg
[ 40%] Generating EusLisp code from ardrone_autonomy/navdata_magneto.msg
[ 41%] Generating Javascript code from ardrone_autonomy/LedAnim.srv
[ 42%] Generating C++ code from ardrone_autonomy/navdata_demo.msg
[ 42%] Generating EusLisp code from ardrone_autonomy/LedAnim.srv
[ 42%] Generating Javascript code from ardrone_autonomy/CamSelect.srv
[ 43%] Generating EusLisp code from ardrone_autonomy/CamSelect.srv
[ 44%] Generating Javascript code from ardrone_autonomy/FlightAnim.srv
[ 44%] Generating Javascript code from ardrone_autonomy/RecordEnable.srv
[ 44%] Generating EusLisp code from ardrone_autonomy/FlightAnim.srv
[ 44%] Generating C++ code from ardrone_autonomy/navdata_altitude.msg
[ 44%] Built target ardrone_autonomy_generate_messages_nodejs
[ 45%] Generating C++ code from ardrone_autonomy/navdata_games.msg
[ 46%] Generating EusLisp code from ardrone_autonomy/RecordEnable.srv
[ 46%] Generating EusLisp manifest code for ardrone_autonomy
[ 46%] Generating C++ code from ardrone_autonomy/navdata_gyros_offsets.msg
[ 47%] Generating C++ code from ardrone_autonomy/navdata_pressure_raw.msg
[ 47%] Generating C++ code from ardrone_autonomy/navdata_pwm.msg
[ 48%] Generating C++ code from ardrone_autonomy/navdata_vision_detect.msg
[ 48%] Generating C++ code from ardrone_autonomy/navdata_vision.msg
[ 50%] Generating C++ code from ardrone_autonomy/navdata_kalman_pressure.msg
[ 50%] Generating C++ code from ardrone_autonomy/navdata_adc_data_frame.msg
[ 51%] Generating C++ code from ardrone_autonomy/navdata_references.msg
[ 51%] Generating C++ code from ardrone_autonomy/navdata_trims.msg
[ 52%] Generating C++ code from ardrone_autonomy/navdata_watchdog.msg
[ 52%] Built target ardrone_autonomy_generate_messages_eus
[ 52%] Generating C++ code from ardrone_autonomy/navdata_phys_measures.msg
[ 53%] Generating C++ code from ardrone_autonomy/navdata_video_stream.msg
[ 53%] Generating C++ code from ardrone_autonomy/navdata_euler_angles.msg
[ 54%] Generating C++ code from ardrone_autonomy/navdata_wind_speed.msg
[ 54%] Generating C++ code from ardrone_autonomy/navdata_hdvideo_stream.msg
[ 55%] Generating C++ code from ardrone_autonomy/Navdata.msg
[ 55%] Generating C++ code from ardrone_autonomy/navdata_zimmu_3000.msg
[ 56%] Generating C++ code from ardrone_autonomy/navdata_magneto.msg
[ 56%] Generating C++ code from ardrone_autonomy/LedAnim.srv
[ 57%] Generating C++ code from ardrone_autonomy/CamSelect.srv
[ 57%] Generating C++ code from ardrone_autonomy/FlightAnim.srv
[ 58%] Generating C++ code from ardrone_autonomy/RecordEnable.srv
[ 58%] Built target ardrone_autonomy_generate_messages_cpp
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

@sadiq26
Copy link

sadiq26 commented Jan 2, 2023

How did you solve this? Facing same issue with Raspberry Pi 4 and ROS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants