Kyle Ludwig

MCF52235 - Link Error : Illegal 16-bit PC relative reference to symbol '_msgLenOk'

Discussion created by Kyle Ludwig on Aug 7, 2007
Latest reply on Aug 20, 2007 by CrasyCat
Hi

I working with codewarrior and the MCF52235. I have come across a linker error that I don't understand. Could anyone please explain to me what this error is about?

 Link Error : Illegal 16-bit PC relative reference to symbol '_msgLenOk'
 from address 0x000297B2 in section '.text' of file 'xmCmd.c'.
 This type of reference has a range from 42934528 to 32767 bytes.

 Link failed.

Attached is my .lcf file.

Thanks



Outcomes