Page 1 of 1

Firmware not compiling (SOLVED)

Posted: Sun Jun 05, 2022 11:25 pm
by SoCalSteve
I downloaded the latest everything and unpacked the files.

The last time I had my machine on I was troubleshooting it, so I'm starting at ground zero with this. the problem I'm having is that the code in the repitier file does not compile. am I missing something or is there an easy fix? FYI, this is for my Rostock v2

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
...

^

C:\Users\SoCal\AppData\Local\Temp\ccLTqs30.ltrans0.ltrans.o: In function `__vector_17':

C:\Users\SoCal\Downloads\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX\Repetier/HAL.cpp:678: undefined reference to `stepperWait'

C:\Users\SoCal\Downloads\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX\Repetier/HAL.cpp:678: undefined reference to `stepperWait'

C:\Users\SoCal\Downloads\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX\Repetier/HAL.cpp:678: undefined reference to `stepperWait'

C:\Users\SoCal\Downloads\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX\Repetier/HAL.cpp:678: undefined reference to `stepperWait'

C:\Users\SoCal\Downloads\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX\Repetier/HAL.cpp:678: undefined reference to `stepperWait'

C:\Users\SoCal\AppData\Local\Temp\ccLTqs30.ltrans0.ltrans.o:C:\Users\SoCal\Downloads\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX-master\Repetier-091-ROSTOCKMAX\Repetier/HAL.cpp:678: more undefined references to `stepperWait' follow

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board Arduino Mega or Mega 2560

Re: Firmware not compiling

Posted: Mon Jun 06, 2022 8:26 am
by Mac The Knife
Arduino: 1.8.19 may be to new of a version,,,,, try version 1.6.0 instead?

Re: Firmware not compiling

Posted: Mon Jun 06, 2022 9:19 am
by geneb
Yes, 1.6.0 is required. Anything later that that generates problematic binaries, if it works at all.

g.

Re: Firmware not compiling

Posted: Mon Jun 06, 2022 5:41 pm
by SoCalSteve
Thank you. One less problem!
This also revived my screen as well. Apparently, I ran into this issue before without a solution my printer was left idle after running the clear eeprom code.

Resolved. Thank you.

Re: Firmware not compiling (SOLVED)

Posted: Tue Jun 07, 2022 9:22 am
by geneb
\o/