PX4 Compile Issues

Hello,

I am trying to compile the PX4 firmware for px4fmu-v3_default and I am running into several errors. I’m not sure where to begin addressing the issues here. Below is the output from running “sudo make px4fmu-v3_default”.

Building px4fmu-v3
[1/829] Building px4io-v2
[1/149] Generating nuttx/include/nut...sion.h, nuttx/include/nuttx/config.h
FAILED: cd /home/jonathan/src/Firmware/build/px4io-v2_default/NuttX/nuttx && make --quiet --no-print-directory context >nuttx_build.log
/bin/sh: 3: tools/version.sh: Permission denied
chmod: cannot access '.version': No such file or directory
make[2]: *** [/home/jonathan/src/Firmware/build/px4io-v2_default/NuttX/nuttx/.version] Error 1
ninja: build stopped: subcommand failed.
Makefile:153: recipe for target 'px4io-v2_default' failed
make[1]: *** [px4io-v2_default] Error 1
[3/829] Generating nuttx/include/nuttx/version.h, nuttx/include/nuttx/config.h
FAILED: cd /home/jonathan/src/Firmware/build/px4fmu-v3_default/NuttX/nuttx && make --quiet --no-print-directory context >nuttx_build.log
/bin/sh: 3: tools/version.sh: Permission denied
chmod: cannot access '.version': No such file or directory
make[1]: *** [/home/jonathan/src/Firmware/build/px4fmu-v3_default/NuttX/nuttx/.version] Error 1
[3/829] Generating git hash header
FAILED: cd /home/jonathan/src/Firmware && make --no-print-directory px4io-v2_default
ninja: build stopped: subcommand failed.
Makefile:153: recipe for target 'px4fmu-v3_default' failed
make: *** [px4fmu-v3_default] Error 1

I previously posted about using the code without Git here, which is where I though the issues came from at first, but I don’t not see any issues with Git in the log.

Thanks,
Jon