Have a look for Multisegment...
Henk
Pradeepkumar Chaturvedi wrote:
Hi All,
I need a urgent help and I am highly thankful for that.
I am compiling a 68K application and I am getting these errors while compilation. I do not know what to do now. All object files are getting created but IDE not able to link them, probable solution is to change linking order but how to do it in POSDS.
*---------------------------------------------------------------------------------------------------------------------------------- /usr/m68k-palmos/bin/ld: region coderes is full (PalmClient section .text) /usr/m68k-palmos/lib/crt0.o(.text+0x46): In function `start': crt0.c:62: relocation truncated to fit: DISP16 _GccRelocateData /usr/m68k-palmos/lib/crt0.o(.text+0x50):crt0.c:64: relocation truncated to fit: DISP16 __do_bhook /usr/m68k-palmos/lib/crt0.o(.text+0x5a):crt0.c:67: relocation truncated to fit: DISP16 __do_ctors /usr/m68k-palmos/lib/crt0.o(.text+0x70):crt0.c:72: relocation truncated to fit: DISP16 __do_dtors /usr/m68k-palmos/lib/crt0.o(.text+0x7a):crt0.c:74: relocation truncated to fit: DISP16 __do_ehook src/DevicePalmHWData.o(.text+0x11a): In function `SYDevicePalmHWData::SYDevicePalmHWData(void)': DevicePalmHWData.cpp:69: relocation truncated to fit: DISP16 __throw src/DevicePalmHWData.o(.text+0x230):DevicePalmHWData.cpp: relocation truncated to fit: DISP16 __throw src/DevicePalmHWData.o(.text+0x234):DevicePalmHWData.cpp: relocation truncated to fit: DISP16 terminate(void) src/DevicePalmHWData.o(.text+0x300): In function `SYDevicePalmHWData::~SYDevicePalmHWData(void)': DevicePalmHWData.cpp:74: relocation truncated to fit: DISP16 __builtin_delete src/HTTPSupport.o(.text+0x1ae): In function `SYHTTPSupport::DetachMessage(char *&)': HTTPSupport.cpp:190: relocation truncated to fit: DISP16 __builtin_vec_new src/PalmCArchive.o(.text+0x62): In function `CArchive::~CArchive(void)': PalmCArchive.cpp:85: relocation truncated to fit: DISP16 __builtin_delete /usr/m68k-palmos/lib/libcrt.a(single_dreloc.o)(.text+0x30): In function `_GccRelocateData': dreloc.c:37: relocation truncated to fit: DISP16 start /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0x16): In function `__do_bhook': hooks.c:28: relocation truncated to fit: DISP16 start /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0x64): In function `__do_ehook': hooks.c:44: relocation truncated to fit: DISP16 start /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xa6): In function `__do_ctors': hooks.c:60: relocation truncated to fit: DISP16 start /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xe0): In function `__do_dtors': hooks.c:76: relocation truncated to fit: DISP16 start collect2: ld returned 1 exit status make: *** [PalmClient] Error 1 *----------------------------------------------------------------------------------------------------------------------------------
Regards, Pradeep
-- ------------------------------------------------------------------------- Henk Jonas Palm OS � certified developer
[EMAIL PROTECTED] www.metaviewsoft.de/palmos -------------------------------------------------------------------------
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
