[fpc-pascal] Re: android share library with classes unit
darekm at emadar.com
darekm at emadar.com
Wed Apr 13 10:48:01 CEST 2011
> I use this binutils http://www.gnu.org/software/binutils/
> using this command to build crosscompiler
>
> make clean crossinstall CPU_TARGET=arm OS_TARGET=linux
> CROSSBINDIR=/usr/share/fpcsrc/binutils/ OPT="-dFPC_ARMEL -O- -gl"
> CROSSOPT="-dANDROID -CpARMv6 -gl -CfSOFT -O-"
CROSSOPT="-dANDROID -CpARMv6 -dFPC_ARMEL "
I've trace Your debug log. Bug is on line where library is loaded.
It seems be corrupted. I always had once more line with absent of dlopen
D/dalvikvm( 1082): Trying to load lib
/data/data/com.herux.hellojni/lib/libhellojni.so 0x44e7ea48
here something with "dlopen", I don't remember exactly.
^^^^^^^^^^^
I/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
*** ***
Darek
More information about the fpc-pascal
mailing list