I had the same problem using the compiler and mplab. So, I just stopped using mplab and everything works fine now. I use the 'programmer's file editor' written by Alan Phillips as my editor. In this editor you can define dos-commands to certain keys so by the press of a function key, I start the compiler, look at the error-list and so on. Very nice.
 
Bye
    Thierry Vanmarcke