When using any 18F PIC, you must use MPASM instead of PM.

Be sure you have the latest version of MPASM (or MPLAB) and it should work.