On 2007-01-09, Durgesh Trivedi <[EMAIL PROTECTED]> wrote: > Frm last some day i m strugling with the segmentation but not get succeed i > got 1 example in the palm database 4 PNO but it not include global variable > in it But during segmentation my global variable are creating problem and in > the forum some 1 suggest me to use the feature manager but still their r some > issue and still some error which i m unable to undestand > in the error line it is giveing the error message > > > > /usr/m68k-palmos/bin/ld: warning: no memory region specified for section > `code2' > DebugSim/ToDayAppMain.o(.text+0x25e4): In function `NewMailFormHandleEvent': > ToDayAppMain.c:19: undefined reference to `__text__code2' > collect2: ld returned 1 exit status > make: *** [DebugSim/ToDay] Error 1 > > > so if some 1 provide me a proper example 4 segmentation with global or some > link regarding it will more help full 4 me > > thanks >
>From the errormessage it seems you are using prc-tools (probably as part of >PODS). See http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC15 for the doc on multiple sections and the sample code (pr-tools-samples) on the downloads page: http://sourceforge.net/project/showfiles.php?group_id=4429 Look at the multiapp sample. If you are using PODS you are probably missing the definistion of your code2 resource in the .def file. HTH Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
