Thanks.

I finally found where the problem was coming from.

#define MAXCODELEN 12
#define MAXCODE (1 << MAXCODELEN)

typedef struct {
    int previous, val, next, bro;
} CEntry;

typedef struct {
    CEntry codes[MAXCODE];
    int ncodes, codeLen, datLen;
    int clear, end;
} codeTable_;

The problem seemed to come from "#define MAXCODE (1 << MAXCODELEN) ".

Although, that does not seem to be as large as I initially thought?

Thanks,
Donald

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 05:24 PM 5/14/2005, you wrote:
> >I have added some more code to my project and when I compile I get the
> >following error:
> >
> >/usr/m68k-palmos/bin/ld: region datares is full (a0000.out section .bss)
> >collect2: ld-returned 1 exit status
> >make: *** [Release/WAPUniverse.prc] Error 1
> >
> >It is all C and I cannot seem to figure out where my problem is coming
from.
> >I have searched this form and Googled it, but alas, nothing related to my
> >situation.
>
> Notice that it's saying "region datares is full"  This means your
> application now has more than 32K of global data, and that's the most that
> the prc-tools default configuration can handle.  Multilink can help with
> automatic segmentation, but it can't reduce the amount of data used my
your
> app.
>
> -- Ben Combee, Senior Software Engineer, palmOne, Inc.
>     "Combee on Palm OS" weblog: http://palmos.combee.net/
>     Developer Forum Archives:   http://news.palmos.com/read/all_forums/
>
>



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to