Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-23 Thread Eric
n Subject: Re: [zeromq-dev] ZeroMQ for Android: Problem in building the    Android APK To: ZeroMQ development list http://www9.zippyshare.com/v/83273893/file.html Just has been tested on a SGSIII, communicates with a PC via TCP transport (with proper android.permissio

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-23 Thread Sharon Ben-Asher
Victor, I can confirm that the precompiled shared object works fine. I will try to re-compile the source with the updated instructions. Sharon. -Original Message- From: Victor Perron Subject: Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK To: ZeroMQ

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-19 Thread Victor Perron
Hello there, I updated the wiki about this. It should work fine with ZeroMQ both 2.2 and 3.x now; I have tested them on my SGSIII, and everything seems OK. The new method (that was actually used in my build scripts) statically embeds the missing definitions from, in particular, libstdc++ into libj

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-19 Thread Victor Perron
Hello, I found the issue. I mismatched a few command line switches when writing the wiki page; I suspect I got confused with all the configuration tweaks ! I'll update the wiki properly in the day, as soon as I tested a few more things. It may also help for libzmq 3.x, though that's not for sure.

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-19 Thread Victor Perron
This is awkward. O have been able to run it successfully on mine. I'll definitely take a look. On Thu, Jul 19, 2012 at 8:53 AM, Sharon Ben-Asher wrote: > Hi, > > Today, I tried to work with v2.2.0: > followed the instructions as close as I can, the build was successful, as > far as I could see. >

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Sharon Ben-Asher
Hi, Today, I tried to work with v2.2.0: followed the instructions as close as I can, the build was successful, as far as I could see. However, when running in the device, encountered this problem: Cannot load library: reloc_library[1289]: 157 cannot locate '_ZNSt9basic_iosIcSt11char_traitsIcEE

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Victor Perron
I thought, not use 'assign'. But the issue has been reported and discussed in the Zeromq dev list. I changed the Wiki today; you should stick to 2.2 for now, because a proper fix is out of quick reach with 3.x . It's either a lot of changes in the instructions in order to make zeromq use stlport l

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Sharon Ben-Asher
Forget to mention that I didn't know what you meant by "fix those lines" How do I fix them? -Original Message- From: Victor Perron Subject: Re: [zeromq-dev] zeromq-dev Digest, Vol 55, Issue 14 To: ZeroMQ development list Message-ID: Content-Type: text/plain; charset="iso-8859-1"

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-18 Thread Sharon Ben-Asher
Hi, Well, after realizing its an issue with STL, I spent half the day on the net researching Android NDK and C++ STL. Indeed, the default implementation is "minimal" according to the docs. The issue is really an issue since we are using the Android NDK as standalone compiler. As a full build en

Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-15 Thread Victor Perron
Hello, Did you properly follow the directions stated at http://www.zeromq.org/build:android ? According to those, you shouldn't even have generated two binaries in the first place. Renaming libzmq.so.3.0.0 into libzmq.so has also almost no chance to work the way you want it to work; it does not fi

[zeromq-dev] ZeroMQ for Android: Problem in building the Android APK

2012-07-15 Thread Sharon Ben-Asher
Hello, I managed to compile the ZeroMQ + Java binding shared objects for ARM. Thias is what file gives me on the two so files libzmq.so.3.0.0: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped libjzmq.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dyn