Burn new bootloader in Arduino Mega 2560 R3

you try to compile the original Atmel bootloader
why not use Optiboot?