EmbeddedRelated.com
Forums

C18 PIC compiler problems

Started by Ali Topping June 16, 2005
Hi everyone.

Im trying to get to grips with the Microchip C18 compiler and im
having problems getting it to compile. I get past the syntax error
stage and im gettin an error such that ...

...from rest of output...
===============================
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - mixing extended and non-extended mode modules not allowed.
Errors : 1

BUILD FAILED: Thu Jun 16 21:01:32 2005

================================

Can anyone help me out here? I think iv got all the relavant
include's and lib files but i still get this error.

Im using a 18F452 with MPLAB version 6.22.

Any suggestions

Cheers

Ali


Are some source code files compiled in "extended" mode instead of
"traditional?" For each C source, make sure the "extended mode" is not
checked (I am a traditionalist!).

Harold > ===============================
> MPLINK 3.90, Linker
> Copyright (c) 2004 Microchip Technology Inc.
> Error - mixing extended and non-extended mode modules not allowed.
> Errors : 1
>
> BUILD FAILED: Thu Jun 16 21:01:32 2005


--
FCC Rules Updated Daily at http://www.hallikainen.com