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 vic...@iso3103.net Subject: Re: [zeromq-dev] ZeroMQ for Android: Problem in building the Android

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

2012-07-19 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

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

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 vic...@iso3103.net Subject: Re: [zeromq-dev] zeromq-dev Digest, Vol 55, Issue 14 To: ZeroMQ development list zeromq-dev@lists.zeromq.org Message-ID:

[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),

Re: [zeromq-dev] Error: java.lang.UnsatisfiedLinkError

2012-07-11 Thread Sharon Ben-Asher
Ok, I got it fixed by following the advice here https://github.com/zeromq/jzmq/issues/43 (adding the required path to LD_LIBRARY_PATH thanks! Sharon From: Sharon Ben-Asher Sent: Wednesday, July 11, 2012 1:33 PM To: 'zeromq-dev@lists.zeromq.org' Subject: Error: java.lang.UnsatisfiedLinkError

Re: [zeromq-dev] Error: comparison between signed and unsigned integer expressions

2012-07-08 Thread Sharon Ben-Asher
Hi Pieter, Here you go Issue LIBZMQ-394 - socklen_t is signed int in Android NDK Now, I will be glad for some pointer on my linkage error ... thanks :) Sharon From: Pieter Hintjens p...@imatix.com Sent: Thu, 5 Jul 2012 19:02:33 +0900 To: ZeroMQ development list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Error: cannot link with -lzmq

2012-07-08 Thread Sharon Ben-Asher
Ok, I solved the issue by installing gcc-multilib and g++-multilib packages. Maybe you should mention this in the Android build webpage? Thanks, Sharon From: Sharon Ben-Asher Sent: Thursday, July 05, 2012 1:29 PM To: 'zeromq-dev@lists.zeromq.org' Subject: Error: cannot link with -lzmq Hello

Re: [zeromq-dev] Error: comparison between signed and unsigned integer expressions

2012-07-05 Thread Sharon Ben-Asher
I solved the problem by converting the sizeof to int like this if (sa-sa_family == AF_INET sa_len = (int)sizeof (address.ipv4)) { I guess it's a platform specific issue? Anyway, it is needed to compile the lib for ARM. From: Sharon Ben-Asher Sent: Thursday, July 05, 2012 9:52 AM To: 'zeromq-dev

[zeromq-dev] Error: cannot link with -lzmq

2012-07-05 Thread Sharon Ben-Asher
Sharon From: Sharon Ben-Asher Sent: Thursday, July 05, 2012 12:56 PM To: 'zeromq-dev@lists.zeromq.org' Subject: RE: Error: comparison between signed and unsigned integer expressions I solved the problem by converting the sizeof to int like this if (sa-sa_family == AF_INET sa_len = (int)sizeof