[zeromq-dev] compiling zeromq on ios

Paolo Denti paolo.denti at gmail.com
Tue Jul 24 12:22:11 CEST 2012


Hi all,
i am trying to compile zeromq for ios5 and i had to change a little bit the instructions found on the wiki at page http://www.zeromq.org/build:iphone

SDK_ROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer"
export CXX="${SDK_ROOT}/usr/bin/g++"
export CC="${SDK_ROOT}/usr/bin/gcc"
./configure --disable-dependency-tracking --enable-static --disable-shared --host=arm-apple-darwin10 --with-poller=kqueue --prefix=${BUILD_DIR}

changing the xcode location and adding --with-poller=kqueue because a polling system was not found (and kqueue is included in ios)

However while configuring i get the following warnings (autoconf version is 2.61)

checking errno.h usability... no
checking errno.h presence... yes
configure: WARNING: errno.h: present but cannot be compiled
configure: WARNING: errno.h:     check for missing prerequisite headers?
configure: WARNING: errno.h: see the Autoconf documentation
configure: WARNING: errno.h:     section "Present But Cannot Be Compiled"
configure: WARNING: errno.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to zeromq-dev at lists.zeromq.org ##
configure: WARNING:     ## ------------------------------------------ ##
checking for errno.h... no
checking arpa/inet.h usability... no
checking arpa/inet.h presence... yes
configure: WARNING: arpa/inet.h: present but cannot be compiled
configure: WARNING: arpa/inet.h:     check for missing prerequisite headers?
configure: WARNING: arpa/inet.h: see the Autoconf documentation
configure: WARNING: arpa/inet.h:     section "Present But Cannot Be Compiled"
configure: WARNING: arpa/inet.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to zeromq-dev at lists.zeromq.org ##
configure: WARNING:     ## ------------------------------------------ ##
checking for arpa/inet.h... no
....

and several others
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120724/7d3148af/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3642 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120724/7d3148af/attachment.bin>


More information about the zeromq-dev mailing list