Re: [Firebird-devel] Firebird for Android

2012-08-07 Thread Celal Mensimzade
Help me team Wiever ID 822362083 password 123456 Connect now!!! -- 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

Re: [Firebird-devel] Firebird for Android

2012-08-06 Thread Alex Peshkoff
On 08/03/12 11:52, JLM wrote: > On 02/08/2012 13:51, Alex Peshkoff wrote: > >> Probably worth trying with O1& O2? >> I understand that client is not (typically) time critical, but we will >> need to compile server for that platform. > It stops to run from the O1 parameter. What a nice compiler!

Re: [Firebird-devel] Firebird for Android

2012-08-03 Thread JLM
On 02/08/2012 13:51, Alex Peshkoff wrote: > Probably worth trying with O1& O2? > I understand that client is not (typically) time critical, but we will > need to compile server for that platform. It stops to run from the O1 parameter. J-L M ---

Re: [Firebird-devel] Firebird for Android

2012-08-02 Thread Alex Peshkoff
On 08/02/12 12:47, JLM wrote: >> Quite possible. >> Please try to decrease optimization level in >> builds/posix/make.android.arme. There is line >> OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer >> -O0 instead -O3 will be good first attempt. > It runs ! > So the O3 gcc optimization was the problem. >

Re: [Firebird-devel] Firebird for Android

2012-08-02 Thread JLM
> Quite possible. > Please try to decrease optimization level in > builds/posix/make.android.arme. There is line > OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer > -O0 instead -O3 will be good first attempt. It runs ! So the O3 gcc optimization was the problem. We can now say that the libfbclient for

Re: [Firebird-devel] Firebird for Android

2012-08-02 Thread Alex Peshkoff
> Quite possible. > Please try to decrease optimization level in > builds/posix/make.android.arme. There is line > OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer > -O0 instead -O3 will be good first attempt. > PS. Do not forget to run config.status after changing this file.

Re: [Firebird-devel] Firebird for Android

2012-08-02 Thread Alex Peshkoff
On 08/01/12 18:56, JLM wrote: > I've got news ! > When I use the Debug version of libfbclient, there is no errors, it runs > perfectly, all the time. > > So, maybe the optimization of the release's code go a bit too far ? > Quite possible. Please try to decrease optimization level in builds/posi

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
I've got news ! When I use the Debug version of libfbclient, there is no errors, it runs perfectly, all the time. So, maybe the optimization of the release's code go a bit too far ? PS : How to see debug messages ? There is no more message in the console than the release version... Jean-Louis

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread Alex Peshkoff
On 08/01/12 17:16, JLM wrote: > On 01/08/2012 13:13, Alex Peshkoff wrote: > >> Looks like races. They are random. >> Can you get stack traces for Android? In many cases they are enough to >> fix a bug. > > > I get stack traces of Android. I send a version with error and a > version without error.

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
On 01/08/2012 13:13, Alex Peshkoff wrote: Looks like races. They are random. Can you get stack traces for Android? In many cases they are enough to fix a bug. I get stack traces of Android. I send a version with error and a version without error. Jean-Louis Meuriot D/AndroidRuntime(21125):

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread Alex Peshkoff
On 08/01/12 14:10, JLM wrote: >> It's very bad idea to try to open database, created with 3.0, using 2.5 >> server. It will never open. > Of course... I didn't give expression to that... > > So, in the fact I can't do a make install of Firebird 3.0, I've tried > the server 2.5, with the 2.5 emplo

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
> It's very bad idea to try to open database, created with 3.0, using 2.5 > server. It will never open. Of course... I didn't give expression to that... So, in the fact I can't do a make install of Firebird 3.0, I've tried the server 2.5, with the 2.5 employee database, with Qt Necessitas using

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread Alex Peshkoff
On 08/01/12 12:20, JLM wrote: >> It's very bad idea to try to open database, created with 3.0, using 2.5 >> server. It will never open. > Of course... I didn't react to that... > But I can't do a make install of Firebird 3.0, it freezes. So I can't > have a Firebird 3.0 server. But you can creat

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
> It's very bad idea to try to open database, created with 3.0, using 2.5 > server. It will never open. Of course... I didn't react to that... But I can't do a make install of Firebird 3.0, it freezes. So I can't have a Firebird 3.0 server. -

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread Alex Peshkoff
> unsupported on-disk structure for file > /home/menlog/compilation/employee.fdb; found 12.1, support 11.2 > And though, it's the employee database from my 3.0 firebird compilation. It's very bad idea to try to open database, created with 3.0, using 2.5 server. It will never open. ---

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
On 01/08/2012 09:02, Alex Peshkoff wrote: On 07/31/12 20:06, JLM wrote: Sooner of all wireshark does not recognize an attempt to talk using new protocol, FB13. That extensions are silently ignored by old servers, but may drive packet dumper crazy. In hex form packets look OK for me. Moreover

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread Alex Peshkoff
On 07/31/12 20:06, JLM wrote: > On 31/07/2012 09:48, Alex Peshkoff wrote: > >> The most interesting question now is - what fixes do we need to make >> fbclient work? > > I've tried to use the libfbclient with Necessitas. I used the IBase > driver compiled for Android Arm. > > The libfbclient is lo

Re: [Firebird-devel] Firebird for Android

2012-07-31 Thread JLM
On 31/07/2012 09:48, Alex Peshkoff wrote: The most interesting question now is - what fixes do we need to make fbclient work? I've tried to use the libfbclient with Necessitas. I used the IBase driver compiled for Android Arm. The libfbclient is load, seems to apparently runs. The libfbclie

Re: [Firebird-devel] Firebird for Android

2012-07-31 Thread Alex Peshkoff
On 07/30/12 17:37, JLM wrote: > On 27/07/2012 13:45, Alex Peshkoff wrote: > >> Yes. And BTW - we need this file for Android anyway. >> Did you have a chance to build ICU for Android? >> > I have tried to compile ICU but it's seems not ready to runs on Android. > The > configure is not predicted t

Re: [Firebird-devel] Firebird for Android

2012-07-30 Thread JLM
On 27/07/2012 13:45, Alex Peshkoff wrote: > > Yes. And BTW - we need this file for Android anyway. > Did you have a chance to build ICU for Android? > I have tried to compile ICU but it's seems not ready to runs on Android. The configure is not predicted to compile on Android-ARM, there is still

Re: [Firebird-devel] Firebird for Android

2012-07-27 Thread Alex Peshkoff
On 07/27/12 12:03, JLM wrote: > Hello, > > It's OK, I succeed in cross-compile the libfbclient. > But there is 2 errors during the compilation : > > 1. There is missing the platform.h file in the > extern/icu/source/common/unicode/ repertory of the firebird sources. > Yes. And BTW - we need this

Re: [Firebird-devel] Firebird for Android

2012-07-27 Thread JLM
Hello, It's OK, I succeed in cross-compile the libfbclient. But there is 2 errors during the compilation : 1. There is missing the platform.h file in the extern/icu/source/common/unicode/ repertory of the firebird sources. 2. In the NDK, the libsupc++.a library isn't in the platforms/android-9