But i have got the CareSec2.h and CareSec2.c files..
The code written in CareSec2.h is
///////////////////////
#define SEC2_SEC __attribute__ ((section("sec2form")))
void PreFillEditStructure() SEC2_SEC;
////// and the CareSec2.c file contains the
implementation of PreFillEditStructure().. The sample
code written is
//////////////////
#include "CareSec2.h"
#include "Palmos.h"
void PreFillEditStructure()
{
char * edit;
char b[1];
int i;
....................
..............
..........
}
/////////////////////
Plzz see my prevoius email for the .def and Makefile
thanks for the reply.
Regards,
Husnain Malik
--- kcorey <[EMAIL PROTECTED]> wrote:
> On Thu, 2003-11-06 at 06:17, husnain malik wrote:
> > Hi all,
> > This error has been bugging for the last week. But
> i
> > cant
> > get rid of it.This is when i have segmented my
> > application .. Is it
> > because of my prctools ??
> >
> > [....]
> > Care.o(.text+0x7462):Care.c: undefined reference
> to
> > `__text__sec2form'
> > collect2: ld returned 1 exit status
> > make: *** [Care] Error 1
>
> I usually see this error when I declare a segment
> and then don't put
> anything in it.
>
> -Ken
>
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/