Do you have these steps:

m68k-palmos-gcc -c App-sections.s
m68k-palmos-multigen App.def

and added App-sections.ld to the link step?

Regards
Henk


[EMAIL PROTECTED] wrote:

hi,

I my application have grown large so needed to multisegement

followed thw following step 1) created the def file as follows

application { "adress" STRT } multiple code {mainform editform }

2. Included the macros in the header file
#define MAINFORM_SECTION __attribute__ ((section ("mainform"))) #define EDITFORM_SECTION __attribute__ ((section ("editform")))


and made all funtion declaration in header
void Function_name MAINFORM_SECTION/EDITFORM_SECTION.
Boolean HandleEvent(EventP event ) MAINFORM_SECTION/EDITFORM_SECTION.


Are the steps right? It gives me following error undefine reference to __text__ undefine reference to __text__mainform undefine reference to __text__editform

While building PRC
build_prc App.def Appname -o App.prc

Thanking you in advance

regards ,
Chintan



--
-------------------------------------------------------------------------
  Henk Jonas
  Palm OS Â certified developer

  [EMAIL PROTECTED]                                   www.metaviewsoft.de
-------------------------------------------------------------------------

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

Reply via email to