catkin build and make fails
I am following this which is the script installs everything you need: PX4, ROS "Kinetic", the Gazebo 7 simulator, and MAVROS.
source ubuntu_sim_ros_gazebo.sh
here the end message before the error:
Profile: default
Extending: [env] /opt/ros/kinetic
Workspace: /home/yograj
-------------------------------------------------
Source Space: [exists] /home/yograj/src
Log Space: [missing] /home/yograj/logs
Build Space: [exists] /home/yograj/build
Devel Space: [exists] /home/yograj/devel
Install Space: [unused] /home/yograj/install
DESTDIR: [unused] None
-------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
-------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-------------------------------------------------
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
-------------------------------------------------
[build] Found '1' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 1.7 seconds ]
Starting >>> px4
_______________________________________________________________________________
Errors << px4:make /home/yograj/logs/px4/build.make.000.log
make[2]: *** [uORB/topics/actuator_armed.h] Error 1
make[1]: *** [msg/CMakeFiles/uorb_headers.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /home/yograj/build/px4; catkin build --get-env px4 | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << px4:make [ Exited with code 2 ]
Failed <<< px4 [ 3.9 seconds ]
[build] Summary: 1 of 2 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 5.6 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
ROS catkin_ws setup.bash already in .bashrc