[Tinyos-help] warning: internal error: unsupported relocation error

Xiaohui Liu whulxh at gmail.com
Fri Apr 9 22:37:21 PDT 2010


Thanks.

Would you please give me some more information on how to use the link map to
locate the error and get rid of the warning?

On Tue, Apr 6, 2010 at 1:01 PM, Michael Schippling <schip at santafe.edu>wrote:

> I got a link map from an atmega compile by adding this to the makefile:
>
> CFLAGS  += -Xlinker -M
>
> YMMV...
> MS
>
>
>
>
> Xiaohui Liu wrote:
>
>> Can anybody help? This warning seems to be causing strange behaviour of my
>> program. Thanks in advance.
>>
>> On Wed, Mar 31, 2010 at 12:47 AM, Michael Schippling <schip at santafe.edu<mailto:
>> schip at santafe.edu>> wrote:
>>
>>    oops....I was shooting from the hip and didn't read the whole
>>    message... Presuming that "text" is 0 it seems that the program
>>    should fit.
>>
>>    Is there are way to cause gcc to cough up a link table?
>>
>>    Otherwise, perhaps some experimental code removal could
>>    focus in on where the problem lies.
>>
>>    MS
>>
>>    Xiaohui Liu wrote:
>>
>>        Hi,
>>
>>        Thanks for your attention. Could you please give me some further
>>        info on what is causing the error and how to fix it? I really
>>        appreciate your help.
>>
>>        On Tue, Mar 30, 2010 at 5:15 PM, Philip Levis
>>        <pal at cs.stanford.edu <mailto:pal at cs.stanford.edu>
>>        <mailto:pal at cs.stanford.edu <mailto:pal at cs.stanford.edu>>> wrote:
>>
>>
>>           On Mar 30, 2010, at 1:39 PM, Michael Schippling wrote:
>>
>>            > How big is your program? You may have overrun your Flash
>>        memory size.
>>            > MS
>>
>>           0x9424 is smaller than 48K (telosb); it sounds like an
>> msp430-gcc
>>           internal linker error.
>>
>>            >
>>            >
>>            > Xiaohui Liu wrote:
>>            >> Hi,
>>            >>
>>            >> After I compile my program using "make telosb", the
>> following
>>           warning
>>            >> pops up: "app.c:(.text+0x9424): warning: internal error:
>>        unsupported
>>            >> relocation error". I looked up some of the related
>>        threads, none of
>>            >> which gives a solution. Can anybody tell me what causes this
>>           warning and
>>            >> how to get rid of it? Thanks.
>>            >>
>>            >> --
>>            >> -Xiaohui Liu
>>            >>
>>
>>           Phil
>>
>>
>>
>>
>>        --         -Xiaohui Liu
>>
>>
>>
>>
>> --
>> -Xiaohui Liu
>>
>


-- 
-Xiaohui Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100410/dd02f20f/attachment.htm 


More information about the Tinyos-help mailing list