For the first two errors
http://www.picbasic.co.uk/forum/showthread.php?t=543

The others might be showing the wrong chip was selected at compile time.