Mystery Tip: search first, ask later

[EMAIL PROTECTED] wrote:

Hi,

I am able to compile my code but getting the following linking error
Please help me it I have the three .c files and three .h files




/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
Fortress.o(.text+0x7ce): In function `IntializeTexthandles':
Fortress.c:554: relocation truncated to fit: DISP16 des_ecb3_encrypt
Fortress.o(.text+0xe36): In function `DrawCustomTableItem':
Fortress.c:902: relocation truncated to fit: DISP16 des_ecb3_encrypt
Fortress.o(.text+0x61ea): In function `TimeToString':
Fortress.c:5177: relocation truncated to fit: DISP16 __udivsi3
Fortress.o(.text+0x61fa):Fortress.c:5178: relocation truncated to fit: DISP16 
__umodsi3
Fortress.o(.text+0x6208):Fortress.c: relocation truncated to fit: DISP16 
__udivsi3
Fortress.o(.text+0x6218):Fortress.c:5179: relocation truncated to fit: DISP16 
__umodsi3
Fortress.o(.text+0x6226):Fortress.c: relocation truncated to fit: DISP16 
__umodsi3
Fortress.o(.text+0x6324): In function `CryptoPrepareKey':
Fortress.c:5222: relocation truncated to fit: DISP16 des_set_odd_parity
Fortress.o(.text+0x632e):Fortress.c:5223: relocation truncated to fit: DISP16 
des_set_key
Fortress.o(.text+0x6408): In function `EncryptRecord':
Fortress.c:5277: relocation truncated to fit: DISP16 des_ecb3_encrypt
Fortress.o(.text+0x66a0): In function `DecryptRecord':
Fortress.c:5409: relocation truncated to fit: DISP16 des_ecb3_encrypt
Fortress.o(.text+0x67e4): In function `SetPassword2FormHandleEvent':
Fortress.c:5469: relocation truncated to fit: DISP16 MD5
Fortress.o(.text+0x69fa): In function `SetPassword1FormHandleEvent':
Fortress.c:5605: relocation truncated to fit: DISP16 MD5
/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: *** [Fortress] Error 1




--
-------------------------------------------------------------------------
  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