cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl built with mipsel toolchain

From: Mike Redding <mredding_at_edgestream.com>
Date: Wed, 18 Feb 2009 15:23:37 -0800

I am trying to use libcurl on a set-top box using the MIPS processor.

I downloaded the source for curl-7.19.3 and was able to build it
successfully
using the mipsel toolchain. I then linked the simple sample app from the
curl website to the static library (libcurl.a) built with the mipsel
toolchain.

When I run the sample on the set-top box, the call to
  
   curl = curl_easy_init()

succeeds, but the call to

   curl_easy_perform(curl)

after doing a

   curl_easy_setopt(curl, CURLOPT_URL, url)

fails with error 7 which is cannot connect to host.

The same sample code works fine on Windows and Fedora Linux. Do you have
any suggestions regarding how to figure out what is going wrong?

thanks,
Mike
Received on 2009-02-19