[zeromq-dev] Re : Massive problems running ZMQ on android

jonas.adler at epiq.se jonas.adler at epiq.se
Wed Jul 25 13:30:40 CEST 2012


Yes, I configured zmq before I tried to configure jzmq.
My OUTPUT_DIR was set to /tmp/zeromq-android before I configured zmq.

Here's a link to the script I made (from the instructions on
build:android) after redoing the instructions approximate 15 times.

Worth noting is that I installed the NDK and added the
/opt/android-toolchain/bin to my PATH by hand, the steps i followed are at
the top of this pastebin post.

http://pastebin.com/iXQWCxNV

Everything seems to go smooth untill the jzmq config. That is where i get
the "configure: error: cannot link with -lzmq" error.

Everything I did tried I did with sudo or root access.

> Did you try to configure zmq or jzmq?The configure command you described
> is command line for jzmq. You need first to have set the env
> variable OUTPUT_DIR=/tmp/zeromq-android and then have generated zmq.
> Then you should be able to launch configure for jzmq.
> Regards.
>
> --- En date de : Mar 24.7.12, jonas.adler at epiq.se <jonas.adler at epiq.se> a
> écrit :
>
> De: jonas.adler at epiq.se <jonas.adler at epiq.se>
> Objet: [zeromq-dev] Massive problems running ZMQ on android
> À: zeromq-dev at lists.zeromq.org
> Date: Mardi 24 juillet 2012, 16h03
>
> Hello,
>
> I'm new to ZMQ, and trying to get it to run on android. I am however,
> facing issue, after issue, after issue.
>
> I try to follow the official guide, (http://www.zeromq.org/build:android),
> and have gotten to the following call on my ubuntu machine:
>
> ./configure --host=arm-linux-androideabi --prefix=$OUTPUT_DIR
> --with-zeromq=$OUTPUT_DIR CPPFLAGS="-fPIC -I$OUTPUT_DIR/include"
> LDFLAGS="-L$OUTPUT_DIR/lib" --disable-version
>
> I get this error:
>
> "configure: error: cannot link with -lzmq"
>
> I have tried google for a few days now, but i cannot find any solution to
> this that works for me.
>
> Some comments on other solutions i have found, that did not work for me:
>
> I have installed pretty much every compiler known to man, but if you have
> any specific suggestions, please tell me.
> I have made no alterations to the source at all, simply following the
> instructions to the letter.
>
> Has someone else had this error? Is there something that is "understood"
> in the guide, that i could be missing?
>
> Any help would be greatly appreciated!
>
> //Jonas Adler
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>




More information about the zeromq-dev mailing list