From: Marty B. <mar...@mj...> - 2001-05-27 16:42:38
|
I can't seem to build db-0.3.1 on my Linux box (complete listing attached): m68k-palmos-gcc -g -o db db-sections.ld db-sections.o main.o list.o chooser.o design.o io.o util.o listprop.o prefs.o find.o linkaware.o grid.o edit.o sort.o names.o MobileDB.o JFile3.o -lPalmOSGlue sdkfind: warning: /usr/local/palmdev/sdk does not exist /usr/local/m68k-palmos/lib/gcrt0.o(.text+0x50):crt0.c: relocation truncated to fit: DISP16 __do_bhook /usr/local/m68k-palmos/lib/gcrt0.o(.text+0x5a):crt0.c: relocation truncated to fit: DISP16 __do_ctors /usr/local/m68k-palmos/lib/gcrt0.o(.text+0x60):crt0.c: relocation truncated to fit: DISP16 _GdbStartDebug /usr/local/m68k-palmos/lib/gcrt0.o(.text+0x78):crt0.c: relocation truncated to fit: DISP16 __do_dtors /usr/local/m68k-palmos/lib/gcrt0.o(.text+0x82):crt0.c: relocation truncated to fit: DISP16 __do_ehook db-sections.o(.text+0x2):db-sections.s: relocation truncated to fit: DISP16 _GccLoadCodeAndRelocateData /usr/local/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0x16):hooks.c: relocation truncated to fit: DISP16 start /usr/local/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0x64):hooks.c: relocation truncated to fit: DISP16 start /usr/local/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xa6):hooks.c: relocation truncated to fit: DISP16 start /usr/local/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xe0):hooks.c: relocation truncated to fit: DISP16 start /usr/local/m68k-palmos/lib/libcrt.a(gdbstub.o)(.text+0x3c):gdbstub.c: relocation truncated to fit: DISP16 start /usr/local/m68k-palmos/lib/libcrt.a(multi_dreloc.o)(.text+0xe):dreloc.c: relocation truncated to fit: DISP16 start collect2: ld returned 1 exit status I suspect that my prctools setup isn't quite right (as evidenced by the sdkfind warnings on every invocation), however I am able to build and run a HelloWorld. Here's the gcc that I'm using: marty@linux:db-0.3.1$ m68k-palmos-gcc -v sdkfind: warning: /usr/local/palmdev/sdk does not exist [/usr/local/m68k-palmos/real-bin/gcc] m68k-palmos-gcc -v -isystem /usr/local/palmdev/include -isystem /usr/local/palmdev/include/Core -isystem /usr/local/palmdev/include/Core/Hardware -isystem /usr/local/palmdev/include/Core/System -isystem /usr/local/palmdev/include/Core/System/Unix -isystem /usr/local/palmdev/include/Core/UI -isystem /usr/local/palmdev/include/Dynamic -isystem /usr/local/palmdev/include/Libraries -isystem /usr/local/palmdev/include/Libraries/INet -isystem /usr/local/palmdev/include/Libraries/PalmOSGlue -L/usr/local/palmdev/lib/m68k-palmos-coff Reading specs from /usr/local/lib/gcc-lib/m68k-palmos/2.95.3-kgpd/specs gcc version 2.95.3-kgpd 20010315 (release) Please point me in the right direction if this is a FAQ. Thanks. -- Marty Bower |