cmake build error

i tried to build using the command $./waf build sub
i got the following error

Build failed
-> task in ‘bin/ardurover’ failed (exit status 2):
{task 139970367842656: cmake_build_task -> }
[’/usr/bin/cmake’, ‘–build’, ‘/home/sudheesh/ardupilot/build/px4-v2/modules/PX4Firmware’, ‘–target’, ‘build_firmware_px4fmu-v2’]

can anyone help me to solve ?