li3tuo4 / rc-fpga-zcu

Port fpga-zynq (rocket-chip) to Xilinx ZYNQ Ultrascale+ board (ZCU102)
Other
57 stars 15 forks source link

machine `aarch64' not recognized #6

Closed brlpush closed 3 years ago

brlpush commented 3 years ago

I am getting the following error while executing make fesvr-zynq.

checking build system type... x86_64-unknown-linux-gnu checking host system type... Invalid configuration aarch64-linux-gnu': machineaarch64' not recognized configure: error: /bin/sh scripts/config.sub aarch64-linux-gnu failed

I saw the previous thread as well where they talk about the issue and later said they were able to resolve it but I couldn't figure out any definite solution. Please let me know if I am missing something here. I am using Vivado, SDK and Petalinxu 2018.3 and I have the Xilinx SDK added to my path as well.

https://github.com/li3tuo4/rc-fpga-zcu/issues/5#issuecomment-575149179 -- Here replacing config.sub and config.guess seems to solve the issue but replacing from where ?

li3tuo4 commented 3 years ago

@brlpush A quick fix is to insert a newline "| aarch64 \ " after this line in config.sub

brlpush commented 3 years ago

Thanks for the reply. I am able to resolve it.