Ask Your Question
0

Catkin Make Error Invoking "make -j8 -l8" failed

asked 2016-11-15 02:56:01 -0500

updated 2016-11-15 04:06:48 -0500

mgruhler gravatar image

just the copy'n'paste of the console...

aswin@aswinpc:~/nash_ws$ catkin_make
Base path: /home/aswin/nash_ws
Source space: /home/aswin/nash_ws/src
Build space: /home/aswin/nash_ws/build
Devel space: /home/aswin/nash_ws/devel
Install space: /home/aswin/nash_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/aswin/nash_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/home/aswin/nash_ws/build"
####
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] [  0%] Built target nav_msgs_generate_messages_cpp
Built target std_msgs_generate_messages_lisp
[  0%] [  0%] Built target nav_msgs_generate_messages_py
Built target nav_msgs_generate_messages_lisp
[  0%] Built target std_msgs_generate_messages_py
[  0%] [  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRecoveryInfo
[  0%] [  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetSearchPosition
Built target _hector_nav_msgs_generate_messages_check_deps_GetDistanceToObstacle
Built target _hector_nav_msgs_generate_messages_check_deps_GetNormal
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRobotTrajectory
[  0%] Built target _velodyne_msgs_generate_messages_check_deps_VelodyneScan
[  0%] Built target _custom_msgs_generate_messages_check_deps_baroSample
[  0%] [  0%] Built target _custom_msgs_generate_messages_check_deps_sensorSample
Built target _custom_msgs_generate_messages_check_deps_BaroSensorSample
[  0%] [  0%] Built target _custom_msgs_generate_messages_check_deps_GnssSensorSample
Built target _velodyne_msgs_generate_messages_check_deps_VelodynePacket
[  0%] [  0%] Built target _custom_msgs_generate_messages_check_deps_Internal
Built target _custom_msgs_generate_messages_check_deps_gnssSample
[  0%] Built target sensor_msgs_generate_messages_lisp
[  0%] Built target sensor_msgs_generate_messages_cpp
[  0%] [  0%] Built target sensor_msgs_generate_messages_py
Built target rosgraph_msgs_generate_messages_cpp
[  0%] Built target _catkin_empty_exported_target
[  0%] [  0%] Built target geometry_msgs_generate_messages_cpp
Built target geometry_msgs_generate_messages_py
[  0%] [  0%] Built target geometry_msgs_generate_messages_lisp
Built target _custom_msgs_generate_messages_check_deps_orientationEstimate
[  0%] [  0%] [  0%] Built target _custom_msgs_generate_messages_check_deps_velocityEstimate
Built target actionlib_msgs_generate_messages_py
Built target actionlib_msgs_generate_messages_lisp
[  0%] Built target _custom_msgs_generate_messages_check_deps_XsensQuaternion
[  0%] Built target _custom_msgs_generate_messages_check_deps_ImuSensorSample
[  0%] [  0%] Built target actionlib_msgs_generate_messages_cpp
Built target roscpp_generate_messages_cpp
[  0%] [  0%] Built target rosgraph_msgs_generate_messages_py
Built target _custom_msgs_generate_messages_check_deps_positionEstimate
[  0%] [  0%] Built target roscpp_generate_messages_py
[  0%] Built target roscpp_generate_messages_lisp
Built target rosgraph_msgs_generate_messages_lisp
[  0%] Built target map_to_image_node
[  0%] Built target _segway_msgs_generate_messages_check_deps_Faultlog
[  0%] [  0%] [  0%] [  0%] [  0%] Built target _segway_msgs_generate_messages_check_deps_Dynamics
Built target _segway_msgs_generate_messages_check_deps_ConfigCmd
Generating dynamic reconfigure files from cfg/segway.cfg: /home/aswin/nash_ws/devel/include/segway_ros/segwayConfig.h /home/aswin/nash_ws/devel/lib/python2.7/dist-packages/segway_ros/cfg/segwayConfig.py
Built target _segway_msgs_generate_messages_check_deps_Status
[  0%] Built target _segway_msgs_generate_messages_check_deps_AuxPower
Built target _segway_msgs_generate_messages_check_deps_Configuration
/home/aswin/nash_ws/build/segway_v3/segway_ros/setup_custom_pythonpath.sh: 4: exec: /home/aswin/nash_ws/src/segway_v3/segway_ros/cfg/segway.cfg: Permission denied
make[2]: *** [/home/aswin/nash_ws/devel/include/segway_ros/segwayConfig.h] Error 126
make[1]: *** [segway_v3/segway_ros/CMakeFiles/segway_ros_gencfg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Built target tf_generate_messages_cpp
[  1%] [  1%] [  1%] [  1%] [  1%] Built target tf2_msgs_generate_messages_py
Built target imu_attitude_to_tf_node
Built target visualization_msgs_generate_messages_lisp
Built target _segway_msgs_generate_messages_check_deps_Propulsion
Built target tf_generate_messages_lisp
[  2%] Built target pose_and_orientation_to_imu_node
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
edit retag flag offensive close merge delete

Comments

try "sudo catkin_make".

ghkraju gravatar image ghkraju  ( 2016-11-15 02:59:41 -0500 )edit
2

@Aswin Sarang: please add a bit more descriptive text to your question. As it is, this is just a dump of an error message. Without some context we're only going to be able to guess.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-15 04:04:50 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2016-11-15 04:28:15 -0500

MarkyMark2012 gravatar image

Looks like you have a permissions issue:

Built target _segway_msgs_generate_messages_check_deps_Configuration
/home/aswin/nash_ws/build/segway_v3/segway_ros/setup_custom_pythonpath.sh: 4: exec: /home/aswin/nash_ws/src/segway_v3/segway_ros/cfg/segway.cfg: **Permission denied**

Mark

edit flag offensive delete link more
0

answered 2016-11-15 04:48:45 -0500

Check if your workspace is created successfully.

do this command.

echo $ROS_PACKAGE_PATH

edit flag offensive delete link more
0

answered 2016-11-16 00:26:16 -0500

DavidN gravatar image

updated 2016-11-16 00:26:31 -0500

Try to set permission for your cfg file by sudo chmod 777 /home/aswin/nash_ws/src/segway_v3/segway_ros/cfg/segway.cfg

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-11-15 02:56:01 -0500

Seen: 1,994 times

Last updated: Nov 16 '16