Mega2560 Error: ...relocation truncated to fit: R_AVR_13_PCREL ...

Do you have the same problem using the standard IDE?