In that case you need to select the correct board - in Tools -> Board select 'Arduino AVR Boards' and then 'Arduino Uno'. The make sure you have selected the correct serial port. Now compile and upload again.
In that case you need to select the correct board - in Tools -> Board select 'Arduino AVR Boards' and then 'Arduino Uno'. The make sure you have selected the correct serial port. Now compile and upload again.