Error compiling for board Arduino Uno in my arduino ide

Sorry, misread - it's the tone function and the NewPing library both trying to use the same timer interrupt.
I would probably be easier to not use the NewPing library, and simply drive the ranger unit directly.

Either way, it has nothing whatsoever to do with the bootloader, and is simply a programming issue.