cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Building curl 7.15.3 with cygwin

From: <youcef.laribi_at_ntlworld.com>
Date: Wed, 7 Jun 2006 12:02:56 +0000

Can curl be built with cygwin?

I have started from a fresh Windows XP machine, installed latest cygwin on it from www.cygwin.com (with the devel packages for gcc and make). I then downloaded curl-7.15.3, and tried to build it from the cygwin shell (./configure; make), and I had exactly the same build error (failure on make).

Has anyone successfully built curl-7.15.3 on cygwin? If no, what build environment should I use for the Windows platform?

Youcef
 

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: 06 June 2006 23:50
To: the curl tool
Subject: Re: Building curl 7.15.3 with cygwin

On Tue, 6 Jun 2006, youcef.laribi_at_ntlworld.com wrote:

> In file included from /usr/include/sys/socket.h:15,
> from file.c:48:
> /usr/include/cygwin/socket.h:26: error: redefinition of `struct sockaddr'

This looks like a problem in the cygwin header files... No header in curl
defines the sockaddr struct as far as I've seen.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
-----------------------------------------
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information
Received on 2006-06-07