What version of the IDE and avr board package, and what OS?
There was a bug fixed in 1.8.3 I think that could cause compilation fails with that error and nothing more at the linking stage, particularly on XP and win10 windows store version...
??? I have the arduino 1.8.5 and I don't know what is the OS ???
The problem is when I try to check and upload a arduino code form youtube, because I have a rc boat to do with arduino, so look for code because I'm not good in arduino.
Thank