I have a PIC18F2320 and PIC18F242 and would like to run either one @ 40MHz with 4 x pll using a 10MHz crystal.

I cannot get my PBP program to compile.
I am using:
MicroCode Studio Plus V3.0.0.0.
PicBasic Pro 2.47
Asembler = MPASM


The first two lines of my pbp program is:

@ __CONFIG _CONFIG1H, _OSCS_OFF_1H & _HSPLL_OSC_1H
' Oscillator switch OFF
' Use HSPLL (fosc X 4) oscillator (10mhz)

DEFINE OSC 40


If I try to compile my program for the PIC18F2320, I get the following error message:

'Symbol not previously define (_OSCS_OFF_1H)'

If I try to compile my program for the PIC18F242, I get the following error message:

'Overwriting previous address contents'


I noticed that the .inc file for the 18f2320 differs from the .inc file for the 18f242 as follow:

18f2320: __CONFIG _CONFIG1H, _XT_OSC_1H
18f242 : __CONFIG _CONFIG1H, _OSCS_OFF_1H & _XT_OSC_1H

I also tried to change the inc file for the 18f2320 to

__CONFIG _CONFIG1H, _OSCS_OFF_1H & _XT_OSC_1H

but then I get one additional compiler error for the 18f2320.inc file:

Symbol not previously defined (_OSCS_OFF_1H)


Please help!!
Thank you.