cURL / Mailing Lists / curl-library / Single Mail


libcurl built with mipsel toolchain

From: Mike Redding <>
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
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

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

succeeds, but the call to


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?

Received on 2009-02-19