Hy,
I'm developping my application with PODS 1.1. Actually, it contains multiple
code sections defined in the sections.def file and in sections.h
---------------------------------------------------
sections.def :
application { _temp_ TEMP }
multiple code { "code1" "code2" "code3" "code4" }
----------------------------------------------------
sections.h :
#ifndef _SECTIONS_H
#define _SECTIONS_H
#define CLIENT_SECTION_ONE __attribute__ ((section ("code1")))
#define DATA_SECTION_ONE __attribute__ ((section ("code2")))
#define FORMS_SECTION_ONE __attribute__ ((section ("code3")))
#define FORMS_SECTION_TWO __attribute__ ((section ("code4")))
#endif
----------------------------------------------------
If I compile my application with this configuration, no problem.
If I try to add a section, like this (no other change is made):
---------------------------------------------------
sections.def :
application { _temp_ TEMP }
multiple code { "code1" "code2" "code3" "code4" "code5" }
----------------------------------------------------
sections.h :
#ifndef _SECTIONS_H
#define _SECTIONS_H
#define CLIENT_SECTION_ONE __attribute__ ((section ("code1")))
#define DATA_SECTION_ONE __attribute__ ((section ("code2")))
#define FORMS_SECTION_ONE __attribute__ ((section ("code3")))
#define FORMS_SECTION_TWO __attribute__ ((section ("code4")))
#define FORMS_SECTION_THR __attribute__ ((section ("code5")))
#endif
----------------------------------------------------
The following error occured :
----------------------------------------------------
/usr/m68k-palmos/bin/ld: region datares is full (RepManager section .bss)
collect2: ld returned 1 exit status
make: *** [RepManager] Error 1
----------------------------------------------------
Could someone help me? How can I do to add another section to my project ?
Thanks
Dr JM Durieux
PolyHedra sprl
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/