[zeromq-dev] (no subject)
Ron Elliott
ronaldbelliott at gmail.com
Wed Jul 18 00:53:52 CEST 2012
perhaps this is an option: http://www.crystax.net/en/android/ndk/7
On Jul 17, 2012 3:48 PM, "Victor Perron" <victor at iso3103.net> wrote:
> Same answer as before. I paste it down there.
>
> *Hi,
>
> In that case it seems that you discovered something serious.
> I took a look at it, and indeed the assign() symbol from std::string class
> seems undefined.
> That would mean, Android does _not_ define such a function in its SDK.
>
> Now, the proper way to get around this is a patch to Zeromq 3.x.* *
> You'll have to fix those lines (my guess):
>
> ./src/ipc_listener.cpp:151: filename.assign(addr_);
> ./src/socket_base.cpp:331: *
> * options.last_endpoint.assign (addr_);
> ./src/socket_base.cpp:480: ** options.last_endpoint.assign (addr_);
> ./src/tcp_address.cpp:503: ** addr_str.assign (name_, delimiter -
> name_);
> ./src/tcp_address.cpp:504: ** mask_str.assign (delimiter + 1);
> ./src/tcp_address.cpp:511: ** addr_str.assign (name_);
>
> ... and try to compile again. If there are no other undefined symbols,
> that should work.
> That issue did not exist in ZeroMQ 2.2 though, that one didn't make an
> extensive use of std::string.
>
> Keep me updated, we'll see for a pull request when I'll be less busy ;)* *
>
> Best regards,*
> *
>
> *I'll take a look for an acceptable patch tomorrow, if nobody shows up
> with a better suspect/solution of course !
> On Wed, Jul 18, 2012 at 12:35 AM, Eric <n1555 at yahoo.fr> wrote:
>
>> Trying to use jzmq under android.
>> I generated using zmq3.x procedure, having to change config.sub and
>> config.guess files but generation is OK and match the scheme on
>> http://www.zeromq.org/build:android.
>>
>> But I always get unsatisfiedlink error when loading library libjzmq
>> (loadlibrary(jzmq)), whereas i'm able to load libzmq without any problem.
>> I've seen other people asking the same question without answer. Searching
>> for hours over the net, no idea, any help would be appreciated!
>>
>> Best regards.
>> Eric
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
>
> --
> Victor
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120717/e7e2f972/attachment.htm>
More information about the zeromq-dev
mailing list