Continuous errors with compiling Marlin Kimbra script

Hello,

I bought a Ultratronics V1.0 Pro for building a 3D printer

I want to program the motherboard with Marlin Kimbra 4, which I downloaded from:

I encounter some problems/error messages which are visible in the picture attached.
Some errors are recurring:

  1. I encounter the problem redefined (enabled as default) a few times and have no idea why, I did not change anything in the script.
  2. I receive a note: this is the location of the previous definition. I have no idea what this means. which previous definition?

In the end it states that there is an undefined reference to 'setup' and 'loop'. When I run that particular file (main), it has no errors whatsoever (by creating a blank sketch and adding the main.h in the same folder).

Does anybody know what these errors are and how to eliminate them? It would be a big help!

If anything is unclear, I am happy to elaborate!

Thanks in advance,

Peter

MK4due.ino (14.6 KB)

Post error messages, not pictures.

Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board:"Arduino Due (Native USB Port)"

C:\Users\p.sap\AppData\Local\Temp\arduino_build_115161/core\core.a(main.cpp.o): In function `main':

\S02-ART.artechno.local\Users\p.sap\Documents\ArduinoData\packages\arduino\hardware\sam\1.6.12\cores\arduino\sketchMAIN/main.cpp:57: undefined reference to `setup'

\S02-ART.artechno.local\Users\p.sap\Documents\ArduinoData\packages\arduino\hardware\sam\1.6.12\cores\arduino\sketchMAIN/main.cpp:61: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

exit status 1

Fout bij het compileren voor board Arduino Due (Native USB Port)

Translation: Fault at compiling for board Arduino Due

main.cpp (1.44 KB)