error message reads 'LEDred' was not declared in this scope

This is not a bootloader issue.

I can't see where any of your LED pin numbers are defined.

And when you've fixed that, the compiler will have all sorts of messages about the fact that you don't have code in loop()