On 23/07/2012 04:03, Adriano dos Santos Fernandes wrote:

> I tried it, with official NDK but got error compiling common/CharSet.cpp
> which needs ICU. So not even the client compiled.
>
> ---------------------------------------
> asfernandes:~/fb/dev/trunk.git$ echo $NDK
> /home/asfernandes/android/android-ndk-r8
>
> asfernandes:~/fb/dev/trunk.git$ ./autogen.sh --with-cross-build=android.arme
>
> /home/asfernandes/android/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++
> -ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DARM -pipe -MMD
> -fPIC -fmessage-length=0
> -I/home/asfernandes/fb/dev/trunk.git/extern/libtommath
> --sysroot=/home/asfernandes/android/android-ndk-r8/platforms/android-9/arch-arm
> -I/home/asfernandes/fb/dev/trunk.git/extern/icu/source/common
> -I/home/asfernandes/fb/dev/trunk.git/extern/icu/source/i18n -O3
> -fno-omit-frame-pointer
> -I/home/asfernandes/fb/dev/trunk.git/src/include/gen
> -I/home/asfernandes/fb/dev/trunk.git/src/include  -pthread -fno-rtti
> -c /home/asfernandes/fb/dev/trunk.git/src/common/CharSet.cpp -o
> /home/asfernandes/fb/dev/trunk.git/temp/Release/common/CharSet.o
> In file included from
> /home/asfernandes/fb/dev/trunk.git/extern/icu/source/common/unicode/utypes.h:36,
>                   from
> /home/asfernandes/fb/dev/trunk.git/extern/icu/source/common/unicode/ucnv.h:56,
>                   from
> /home/asfernandes/fb/dev/trunk.git/src/common/../jrd/../common/unicode_util.h:33,
>                   from
> /home/asfernandes/fb/dev/trunk.git/src/common/../jrd/intl_classes.h:35,
>                   from
> /home/asfernandes/fb/dev/trunk.git/src/common/CharSet.cpp:95:
> /home/asfernandes/fb/dev/trunk.git/extern/icu/source/common/unicode/umachine.h:52:33:
> error: unicode/platform.h: No such file or directory
> ---------------------------------------

Since I tried to compile Firebird2.1, I add inch by inch libraries wich 
were missing in the NDK to compile. I take them from a debian ARM 
virtual machine. And I carry out the libfbclient.so successfully.

Now, I will test this library. With Java, it's seems impossible because 
it can't communicate with Firebird for the moment. So I will try to use 
Qt Necessitas. Do you think Necessitas can runs with Firebird ?

Jean-Louis Meuriot


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to