OK, I ran the exact same sequence. Seems you are right, I have forgotten a little word on the last configure line. When it fails, the config.log says:
504 /tmp/myandroid/lib/libzmq.a(libzmq_la-uuid.o): In function `uuid_t': 505 /tmp/zeromq-2.2.0/src/uuid.cpp:88: undefined reference to `uuid_generate' 506 /tmp/zeromq-2.2.0/src/uuid.cpp:89: undefined reference to `uuid_unparse' 507 /tmp/zeromq-2.2.0/src/uuid.cpp:88: undefined reference to `uuid_generate' 508 /tmp/zeromq-2.2.0/src/uuid.cpp:89: undefined reference to `uuid_unparse' Well if you recompile jzmq with the line: ./configure --host=arm-linux-androideabi --prefix=$OUTPUT_DIR --with-zeromq=$OUTPUT_DIR CPPFLAGS="-fPIC -I$OUTPUT_DIR/include" LDFLAGS="-L$OUTPUT_DIR/lib"* LIBS="-luuid" *--disable-version and everything seems fine. Can you confirm it works ? Best regards, On Wed, Jul 25, 2012 at 1:30 PM, <[email protected]> wrote: > 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, [email protected] <[email protected]> > a > > écrit : > > > > De: [email protected] <[email protected]> > > Objet: [zeromq-dev] Massive problems running ZMQ on android > > À: [email protected] > > 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 > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > -- Victor
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
