On Mon, 31 Jan 2000, Joseph Showalter wrote:
> I am trying to compile the tutorial that comes with GCC.
> I get the following error. I have made all the corrections to the file that
> are specified.
> I made the Hello World prg from O'Reilly's manual and get the same
> 'relocation truncated' error.
>
> What is wrong?
>
> C:\gcc\tools\tutorial>m68k-palmos-coff-gcc -O1 -c tex2hex.c -o tex2hex.o
>
> C:\gcc\tools\tutorial>m68k-palmos-coff-gcc -O1 tex2hex.o -o tex2hex
> tex2hex.o(.text+0x3ca):tex2hex.c: relocation truncated to fit: DISP16
> MemhandleUnLock
>
> ======
> Joseph
Try using MemHandleUnlock (H not h and l not L). "reclocation truncated
to fit" is GCCs way of saying "I don't know this function name".
Remember, C is case-sensitive :-)
Cheers
Richard
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html