Heya... I'm working on the sony branch of the viewer, however I've
run across a really wierd error message whenever I compile. All
.c files compile fine, but when its linking everything together it
comes across the error:

/usr/local/palm/bin/m68k-palmos-gcc -g  -DNON_INTERNATIONAL 
-DERROR_CHECK_LEVEL=ERROR_CHECK_NONE  -DNEWGCC   -DSONY_SDK viewer.o os.o screen.o 
metadocument.o doclist.o control.o bookmarkform.o resultform.o emailform.o dbmgrform.o 
util.o externalform.o mainform.o prefsform.o detailsform.o controlform.o searchform.o 
categoryform.o bookmark.o session.o document.o image.o history.o search.o prefsdata.o 
anchor.o paragraph.o uncompress.o debug.o buttonform.o ramfile.o gestureform.o 
sclform.o genericfile.o vfsfile.o jogdialform.o Plucker-sections.o -o viewer 
Plucker-sections.ld
/usr/local/palm/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xe0):hooks.c: relocation 
truncated to fit: DISP16 start
/usr/local/palm/m68k-palmos/lib/libcrt.a(gdbstub.o)(.text+0x3c):gdbstub.c: relocation 
truncated to fit: DISP16 start
/usr/local/palm/m68k-palmos/lib/libcrt.a(multi_dreloc.o)(.text+0xe):dreloc.c: 
relocation truncated to fit: DISP16 start
collect2: ld returned 1 exit status
make: *** [viewer] Error 1

If anyone else here has the Sony SDK on their machine, .. please download the
sony branch of CVS, and try running these commands:

./autogen.sh --with-sony=/path/to/sony/sdk/
cd viewer
make viewer_app

I'm 99% certain its being caused by my jogdialform.c file somewhere,
becuase if I compile it without sony-sdk support, it skips that file and
all its related code and everything works perfectly.

Any help or opinions would be appreciated ... thx

-- 
Adam McDaniel
Infrastructure Technology Consultant
M-Tech Mercury Information Technology, Inc.

Reply via email to