cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with build with support "enable-ares"

From: wangjun <wangjun_at_nextbase.cn>
Date: Fri, 16 May 2008 10:49:27 +0800

Hi!
I have cross compile curl-7-15-1 with the support of "--enable-ares" for a mipsel platform ,and I use "c-ares-1.5.1",but when I use that curl lib to conect http ,it seems there is something wrong with the DNS name resolv ,the log message shows such as "The 6 curl error happen:Could not resolve host: mws2.link-play.com (Successful completion)", But if I do not cross compile curl-7-15-1 with the support of "--enable-ares" ,it works well ,I guess there is something wrong with the c-ares,but I don't konw how to resolv it ,can anyone help me,many thanks.
         Below is the config message of curl:
configure: Configured to build curl/libcurl:

  curl version: 7.15.1
  Host setup: mipsel-unknown-linux-gnu
  Install prefix: /home/wangjun/wj_cross-compile/usr
  Compiler: mipsel-linux-gcc
  SSL support: enabled (OpenSSL)
  zlib support: enabled
  krb4 support: no (--with-krb4*)
  GSSAPI support: no (--with-gssapi)
  SPNEGO support: no (--with-spnego)
  c-ares support: enabled
  ipv6 support: no (--enable-ipv6)
  IDN support: no (--with-libidn)
  Build libcurl: Shared=no, Static=yes
  Built-in manual: enabled
  Verbose errors: enabled (--disable-verbose)
  SSPI support: no (--enable-sspi)
  ca cert path: ${prefix}/share/curl/curl-ca-bundle.crt

and this is the config detail of "c-ares-1.5.1",
./configure --host=mipsel-linux --build=i386-linux --disable-shared --enable-static without-random
Received on 2008-05-16