strange link error

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

strange link error

1,239 Views
jogging
Contributor I
Hi,
I encountered a strange link error during making a project under IDE.
Here is what IDE prints:

Link Error : Error: unsigned value 0x26C20 cannot fit in 16 bitsRelocation information: relocation : U16_1_0 value : 0x26C20 address : 0x101050A (.APP_CODE(msc8122_0_Data\Core0_Smart_DSP_OS_Release\ObjectCode\io.eln)+0xB5A) into : "_SendPacket" FUNCTION last symbol : "_stOutputRtpHeader"
Tool = LNK | Error ID = 6999

can anyone help me? thanks in advance

Best regards
jogging
Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

236 Views
CrasyCat
Specialist III
Hello
 
From the message you are getting it looks like you are trying to store a 24-bits value in 16-bit wide variable.
This cannot work.
 
I would recommend you to check function SendPacket implemented in module io.c.
This is where the issue arises.
 
If you are not able to figure out the reason for the problem by yourself, you need to submit a service request  for that.
 
To log the issue please go to following URL:
    http://www.freescale.com/TechSupport
and click on "Submit a service request"
 
Make sure to attach a project reproducing the issue to the service request.
Support personal will also need to know which version of CodeWarrior you are using.
To retrieve that info:
    - Start CodeWarrior
    - Select Help -> About Freescale CodeWarrior
    - Click on "Install Products"
    - Click on Save as and save the information to a text file. Attach the text file to your SR as well.
 
I hope this helps.
 
CrasyCat

Message Edited by CrasyCat on 2007-04-13 10:36 AM

0 Kudos
Reply