Compiling error

Hey peeps, I was creating a new config for the ProffieOS v7.7 using the config helper tool and when I had installed the arduino plugin 3.6 installed and the v7.7 downloaded from the official release site I get the following error

Arduino: 1.8.19 (Linux), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 MHz, Smallest Code"











/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
fork/exec /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/tools/linux//dfu-suffix: no such file or directory
Error compiling for board Proffieboard V2.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
et the following error

I followed the installation guide of the arduino ide for my linux distro (ubuntu 22.0.4 LTS) am I missing something?

EDIT: oops wrong sketch. Please ignore.

so I was looking at the sketch and applied the config and got the FLASH error, so I started removing the functions and the relevant preset and I’m getting the following error.

Arduino: 1.8.19 (Linux), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 MHz, Smallest Code"

/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 8 bytes
fork/exec /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/tools/linux//dfu-suffix: no such file or directory
Error compiling for board Proffieboard V2.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I think maybe you need to make sure that you have support for running 32-bit binaries installed.
If you run

ldd /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/tools/linux/dfu-suffix

What do you get?

the output is as follows.

ldd /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/tools/linux/dfu-suffix
	not a dynamic executable

What about if you run file on it?

Maybe this page will help?

(Not sure what linux dist your running.)

Operating System: Ubuntu 22.04.2 LTS
Kernel: Linux 5.19.0-42-generic
Architecture: x86-64

worked a treat. thanks.

in the event people require it if you are running

Operating System: Ubuntu 22.04.2 LTS
Kernel: Linux 5.19.0-42-generic
Architecture: x86-64

To run a 32-bit executable file on a 64-bit multi-architecture Ubuntu system, you have to add the i386 architecture and install the three library packages libc6:i386, libncurses5:i386, and libstdc++6:i386:

sudo dpkg --add-architecture i386

Then:

sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386