Thanks! It works. :) you helped me a lot! Asher.
On 5/26/05, Ben Combee <[EMAIL PROTECTED]> wrote: > At 02:48 AM 5/26/2005, you wrote: > >Hi Everyone, > > > >* This is my first time that I am using Mailing group... > >I hope someone can help with my problem. > > > >After adding few code lines and compile it, > >I got the following error msg: > >" > >/usr/m68k-palmos/bin/ld: region datares is full (MyApp section .bss) > >collect2: ld returned 1 exit status > >make: *** [MyApp] Error 1 > >Build complete for project MyApp > >" > > > >I define a second segment (after using the first one succfully) and > >attach it on the function header which use these few code lines but it > >didn't have any effect. :( > > This is not a segment issue. You have too many global variables in your > application, and they are exceeding the 32K limit that prc-tools > has. Fortunately, since this occurs in .bss, this means that you've got > some large uninitialized array that you could change from being a global > variable to being a global pointer, with the space allocated at runtime > using MemPtrNew. > > A "region coderes is full" error would mean a segment was too large. Data > isn't affected by segmenting. > > > -- 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/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
