"make" command isn't working

I get this error when I type the ‘make’ command:

pablo@pablo-VirtualBox:~/Desktop/PYNQ-master/sdbuild$ make
fatal: not a git repository (or any of the parent directories): .git
/opt/qemu/bin/qemu-aarch64-static -version | fgrep 4.0.0
qemu-aarch64 version 4.0.0
/opt/qemu/bin/qemu-arm-static -version | fgrep 4.0.0
qemu-arm version 4.0.0
vivado -version | fgrep 2020.1
Makefile:356: recipe for target ‘checkenv’ failed
make: *** [checkenv] Error 1

However, I sourced the settings64.sh files of Vitis, Vivado, and PetaLinux, and ran again the setup_host.sh file. I don’t know what else to do to fix this issue. I’m on Ubunto 18.04.4 LTS, and I’m using Vivado 2020.2.

1 Like

Hi @PaulTheRoman,

The latest pynq image is build with Vivado and petalinux 2020.1, any other version is untested and can fail as you are experiencing. Please use the corresponding version

https://pynq.readthedocs.io/en/latest/pynq_sd_card.html

Mario