SPE build errors on Ubuntu 22.04 64 bit ARM VM (running on Mac M2)

I am getting the following error when attempting to build the SPE on my Ubuntu 22.04 64bit VM.

mkdir -p /home/parallels/nvdia/spe-freertos-bsp/rt-aux-cpu-demo-fsp/out/t19x
CC clk.c
/home/parallels/nvdia/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc: 1: ELF: not found
/home/parallels/nvdia/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc: 1: Syntax error: Unterminated quoted string
make: *** [Makefile:325: /home/parallels/nvdia/spe-freertos-bsp/rt-aux-cpu-demo-fsp/out/t19x/clk.o] Error 2

I downloaded and unzipped the files using ‘tar -xpf’ command. I assume it is something to do with being a 64 bit build/machine, but can’t figure out how I would resolve the issue.

I found one similar issue that mentioned using tar -xpf to unzip the files, but as noted that didn’t work.

Note that I set SPE_FREERTOS_BSP and CROSS_COMPILE env variables as noted in the instructions.

It looks more like environment issue, and unrelated to SPE.
You can try to compile a simple hello-world app with that tool first to make sure the building environment is good.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.