I am really screewed to this foolish segmentation. Finally I found that some of lines (PART X) causes this error;
"Signed .word overflow; switch may be too large; 33596 at 0x13ce make: *** [soccer.o] Error 1"
If I disable these lines (which includes if(), WinCopyRectangle(), WinDrawBitMap()) no error occurs and app works. There are no special functions. Shouldnt I write more code lines here? Is it the end of road ? Is it a problem about capacity of switch() function ?
What a foolish thing ? Would you please help me ?
I'll be very happy if someone explains me what should I have to do ? Really I dont understood what my mistake is !
Your problem is that you have too much code in the code section, and some jump from one part of the code to the other part is exceeding 32K. The only way to fix this is to break up your big function into smaller functions, and move those parts into other code sections.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
