Marlin erro won't compile

C:\Users\SAMUEL~1\AppData\Local\Temp\cchHk06T.ltrans0.ltrans.o: In function `zigzag':

sketch/nozzle.h:125:(.text+0x311a): relocation truncated to fit: R_AVR_7_PCREL against `no symbol'

collect2.exe: error: ld returned 1 exit status

exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.

I don't understand what this means. Am I missing something like a library. I uninstalled Arduino and reinstalled it and even used an older version. I've been trying but it won't compile and there for I can,t configure new settings for my printer.

plz help me. :o

Marlin is a very complex program. You would be better asking this question where there are people familiar with it - such as on the RepRap Forum. Or maybe there is a Marlin forum or help web-page.

This Arduino Forum is really for helping people write their own programs.

Do you know what version of the Arduino IDE your Marlin program was written for?