Hello again,

After successful build of the C lib, I have a problem with building zmq.jar:

configure:15622: checking for zmq_init in -lzmq
configure:15647: g++ -o conftest -g -O2 -D_REENTRANT -D_THREAD_SAFE -fPIC 
-I/home/sharon/zeromq-android/include  -L/home/sharon/zeromq-android/lib 
conftest.cpp -lzmq   >&5
/usr/bin/ld: skipping incompatible /home/sharon/zeromq-android/lib/libzmq.so 
when searching for -lzmq
/usr/bin/ld: skipping incompatible /home/sharon/zeromq-android/lib/libzmq.a 
when searching for -lzmq
/usr/bin/ld: cannot find -lzmq
collect2: ld returned 1 exit status

Thanks

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 (address.ipv4)) {
I guess it's a platform specific issue? Anyway, it is needed to compile the lib 
for ARM.

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to