BBSIZ is the Boot Block Size.

Goto
C:\Program Files\Microchip\MPASM Suite
and find the file "P18F4685.INC"
That is where you will find all of the config options, near the end of the file. Do not modify this file.

So, you are saying that the code does not compile from post #9?