Ask Your Question
0

Invoking "make -j4 -l4" failed

asked 2018-05-29 04:47:09 -0500

Maulik_Bhatt gravatar image

updated 2018-05-29 05:08:40 -0500

gvdhoorn gravatar image

Straight dump of error message:

Base path: /home/maulik/catkin_ws
Source space: /home/maulik/catkin_ws/src
Build space: /home/maulik/catkin_ws/build
Devel space: /home/maulik/catkin_ws/devel
Install space: /home/maulik/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/maulik/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/maulik/catkin_ws/build"
####
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_nodejs
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target _beginner_tutorials_generate_messages_check_deps_Num
[  0%] Built target _beginner_tutorials_generate_messages_check_deps_AddTwoInts
[  0%] Built target std_msgs_generate_messages_eus
[ 13%] Built target beginner_tutorials_generate_messages_cpp
[ 40%] Built target beginner_tutorials_generate_messages_py
[ 53%] Built target beginner_tutorials_generate_messages_nodejs
[ 66%] Built target beginner_tutorials_generate_messages_lisp
Scanning dependencies of target listener
Scanning dependencies of target talker
make[2]: *** No rule to make target 'beginner_tutorials/CMakeFiles/listener.dir/build'.  Stop.
CMakeFiles/Makefile2:443: recipe for target 'beginner_tutorials/CMakeFiles/listener.dir/all' failed
make[1]: *** [beginner_tutorials/CMakeFiles/listener.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 86%] Built target beginner_tutorials_generate_messages_eus
[ 93%] Building CXX object beginner_tutorials/CMakeFiles/talker.dir/src/talker.cpp.o
[100%] Linking CXX executable /home/maulik/catkin_ws/devel/lib/beginner_tutorials/talker
[100%] Built target talker
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-29 07:44:41 -0500

mntan gravatar image

Can you post your CMakeLists.txt?

Just a guess, but it looks like you forgot to add listener as an executable in CMakeLists.txt: http://wiki.ros.org/ROS/Tutorials/Wri...

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

Stats

Asked: 2018-05-29 04:47:09 -0500

Seen: 388 times

Last updated: May 29 '18