Can't compile code for Atmega328

Now using a 328P instead of 328 and it works perfectly. Thanks all for the help.