Impossible compile Mega2560 bootloader

How did you go about it? What error messages did you get?