|
From: Dick R. <dre...@bi...> - 2003-02-22 04:45:37
|
I'm trying to compile pilot-db so that I'll eventually be able to write
and compile my own plugins. So far I've been unable to compile and run
V 1.1 Beta 2.
My setup:
Red Hat 7.2
prc-tools 2.2
pilrc 2.9
palmos-sdk 5.0
4.0 (patched)
pose 3.5
rom platform41_Vx_full_Dbg_enUS.rom
If I do
./configure
make all
Sdk 5 is used to compile. I install on emulator db-en, pilot-db crashes if
I try to duplicate a database. It crashes with the error:
DB (1.1.0B1) called SysFatalAlert with the message:
"DataMgr.c, Line:8638 left unlocked in closed
unprotected DB"
It doesn't matter whether I try to "duplicate everything" or not.
(The database contains only 3 fields and a single record.)
I scrutinized the building.txt file and saw that it mentioned only sdk
versions 3.5 and 4, so I tried to used sdk 4 by running
make distclean
./configure --with-palmos=4
make all
The compile fails on grid.c with lots of warnings (treated as errors)
indicating that functions have not been declared. The first messae is
for a function called WinScaleCoord. Sure enough it is absent from the
includes files for sdk 4 (but is present in the includes files for sdk 5).
So, I assume that the documenation is out of date and that sdk 5
must be used to compile pilot-db.
Finally, when I try to compile the plugins using sdk 5, that compile also
fails, but fails on
/usr/bin/m68k-palmos-gcc -nostartfiles -g -o db-DB3vfs plugin.o
drivers/db3.o io.o util.o iovfs.o double.o localsearch.o
../PlugLib/PlugLib.o ../PlugLib/PlugLib-dispatch.o
../PlugLib/interface.o
-lgcc -lm -lPalmOSGlue
with the error
/usr/m68k-palmos/bin/ld: region coderes is full (db-DB3vfs
section .text)
collect2: ld returned 1 exit status
make[2]: *** [db-DB3vfs] Error 1
Has anyone had luck compiling pilot-db? Does anyone know whats wrong, and
what I need to do.
Thanks,
Dick
|