cURL / Mailing Lists / curl-library / Single Mail

curl-library

checking file existence while cross compiling?

From: ML <mailinglists_at_mailnewsrss.com>
Date: Thu, 13 May 2010 17:09:24 -0700 (PDT)

Hi All,

Trying to compile curl-7.2.1 for iphone on OS X.

I have:
./configure --host=arm-apple-darwin --prefix=/opt/CURL/arm --program-prefix=/usr/local/iphone --disable-shared --disable-crypto-auth --without-gnutls --with-ssl=/opt/OpenSSL/arm --without-zlib --without-libssh2 --disable-ipv6 --disable-manual --disable-http --enable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --enable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-manual --disable-ipv6 --disable-sspi --disable-cookies CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.0.1 CFLAGS="-arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=3.2 -gdwarf-2 -mthumb -I/Library/iPhone/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk" CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
/ar AS=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/as LIBTOOL=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool STRIP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/strip RANLIB=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib

When I run this I get the following:

configure: Added /opt/OpenSSL/arm/lib to LD_LIBRARY_PATH
configure: WARNING: zlib disabled
checking for "/dev/urandom"... configure: error: cannot check for file existence when cross compiling

I dont understand where this comes from at all...

Can anyone provide any insight to me?

-Jason
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-14