cURL / Mailing Lists / curl-users / Single Mail


RE: Building curl 7.15.3 with cygwin

From: <>
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 (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?


-----Original Message-----
From: [] 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, 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:
Email sent from
Virus-checked using McAfee(R) Software 
Visit for more information
Received on 2006-06-07