[Tinyos-help] Compilation Error: section vectors overlap

whulxh at gmail.com whulxh at gmail.com
Thu Jun 18 21:18:59 PDT 2009


I tried "make telosb -v" and "make -v telosb", but no addtional information  
crops up. Any suggestion?

-Xiaohui

On Jun 18, 2009 9:28pm, Eric Decker <cire831 at gmail.com> wrote:
> add "verbose" to your make line and see what options are being fed to gcc

> eric

> On Thu, Jun 18, 2009 at 12:59 PM, whulxh at gmail.com> wrote:

> How do I check whether the optimizer is enabled or not? If not, how can I  
> turn it on?
> Thanks.


> -Xiaohui

> On Jun 18, 2009 1:33am, Eric Decker cire831 at gmail.com> wrote:
> > ".text" is a strange (historical and I don't remember why) reference to  
> code space. Rom/Flash etc.

> >
> > You are overflowing the code space which is 48K. Your previous program  
> 48564 and then you added 100 lines of code and bam!
> >
> >
> >
> > Are you compiling with the optimizer on? If it is then you will have to  
> rework what your code is doing.

> >
> >
> > eric
> >
> >
> > On Wed, Jun 17, 2009 at 8:51 PM, Xiaohui Liu whulxh at gmail.com> wrote:
> >
> > Hi all,
> >
> > I came across the following compiling error on telosB:

> > "msp430-ld: region text is full (build/telosb/main.exe section .text)
> >
> >
> > msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps  
> section .text [00004000 -> 00010255]
> > msp430-ld: build/telosb/main.exe: section .vectors lma 0xffe0 overlaps  
> previous sections

> >
> >
> > make: *** [exe0] Error 1"
> >
> >
> > After some online search, it seems to be due to program oversize (see  
> 4.3). Actually, this program is the same with my previous program except  
> the addition of around 100 lines of code. My previous program compiles  
> successfully and generates a result of

> >
> >
> > "compiled testAppC to build/telosb/main.exe
> > 48564 bytes in ROM
> > 5370 bytes in RAM"
> >
> >
> >
> >
> > I checked telosB datasheet, which indicates it has RAM of 10 KB.  
> Anybody has a idea on what's going wrong here? Is my program really too  
> large? If yes, is there any way to shrink the size of compiled file  
> without changing the program? I have already tries everything to make it  
> smaller, yet still encounter the same error.

> >
> >
> >
> >
> > BTW, what does ROM mean here? We can download our compiled program into  
> ROM!!??
> >
> >
> > Your attention is greatly appreciated.
> >
> >
> > -Xiaohui

> >
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Tinyos-help mailing list
> >
> > Tinyos-help at millennium.berkeley.edu

> >
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> >
> >

> > --
> > Eric B. Decker
> > Senior (over 50 :-) Researcher
> > Autonomous Systems Lab
> > Jack Baskin School of Engineering
> > UCSC
> >
> >
> >
> >



> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
> Autonomous Systems Lab
> Jack Baskin School of Engineering
> UCSC


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090619/268fa99d/attachment-0001.htm 


More information about the Tinyos-help mailing list