You don't have the right board selected - first line in the error message.
The correct board is going to be listed as "Arduino Mega or Mega 2560".
Did you get the Repetier code from SeeMeCNC's git repo? If so, you have to do that - "regular" Repetier won't work.
g.