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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,764 Views
wyliek
Contributor I
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



Labels (1)
0 Kudos
1 Reply

318 Views
CrasyCat
Specialist III
Hello
 
This might be due to an incompatibility between a compiler option of some sort and the linker file.
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
0 Kudos