[zeromq-dev] android zmq

Victor Perron victor at iso3103.net
Fri Jun 15 09:20:18 CEST 2012


I think you are mismatching somehow. This page explains how to properly
generate a library that embeds both ZeroMQ and JZMQ. There are no specific
instructions about ZeroMQ-standalone-for-NDK creation, but that could be an
addition to it.

The --enable-self-contained flag is available only for jzmq, so it can't be
included in the zeromq configuration process; the same applies to
--disable-version flag.

Concerning -Werror, I think it may depend on your toolchain, and it's not
part of the wiki page.
If your compilation fails because of it, could you please be more specific
about the tools you are using, the zeromq version tried, your OS and
version, so that we can maybe create a fix afterwards ?

Best regards,

On Fri, Jun 15, 2012 at 4:36 AM, strexxx <strexxx at free.fr> wrote:

> Hi,
> Don't know where to push this, and if it was already known.
> I have followed the instruction on
> http://www.zeromq.org/build:android
> with which I failed making a usable libraries...
> still, it succeeds if:
>  -  "-Werror" is removed (the tcp_address.cpp fails otherwise) from the
> zmq compilation
>  - "-avoid-version" is added to the zmq compilation (android does not
> appreciate links libzmq.so -> libzmq.so.3 -> libzmq.so.3.0.0)
>  - "--enabled-self-contained" has to be removed  ( following
> https://groups.google.com/group/android-ndk/browse_thread/thread/bb5bfae006a9c8a2
>  )
> Hope it serves.
> _______________________________________________
> 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/20120615/59f06896/attachment.htm>

More information about the zeromq-dev mailing list