Make sure you are compiling for an 18F4550.

The PIC's with ethernet controllers have the same type of controller built-in to them.
So the register names are already defined in the PIC18ETH.BAS file.

But that file is only used with the ethernet enabled PIC's.