[zeromq-dev] Error: comparison between signed and unsigned integer expressions
Sharon Ben-Asher
Sharon.Ben-Asher at avg.com
Thu Jul 5 08:51:58 CEST 2012
Hello,
I am trying to build ZeroMQ build for Android. I have a VM with Ubuntu 12.04 on x86_64, NDK is R8, configured as standalone toolchain, exactly like your websites instructs.
I downloaded the 3.x git project (git clone https://github.com/zeromq/zeromq3-x.git)
configure was ok.
When I do make, I get the following errors:
cc1plus: warnings being treated as errors
tcp_address.cpp: In constructor 'zmq::tcp_address_t::tcp_address_t(const sockaddr*, socklen_t)':
tcp_address.cpp:374: error: comparison between signed and unsigned integer expressions
tcp_address.cpp:377: error: comparison between signed and unsigned integer expressions
tcp_address.cpp: In member function 'const bool zmq::tcp_address_mask_t::match_address(const sockaddr*, socklen_t) const':
tcp_address.cpp:580: error: comparison between signed and unsigned integer expressions
make[2]: *** [libzmq_la-tcp_address.lo] Error 1
make[2]: Leaving directory `/home/sharon/zeromq3-x/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sharon/zeromq3-x/src'
make: *** [all-recursive] Error 1
Attached is the full make output + configure.log
Thanks,
Sharon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120705/bed79e59/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out
Type: application/octet-stream
Size: 2667 bytes
Desc: make.out
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120705/bed79e59/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 88686 bytes
Desc: config.log
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120705/bed79e59/attachment-0001.obj>
More information about the zeromq-dev
mailing list