delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43F3CFBD.8050301@users.sourceforge.net> |
Date: | Wed, 15 Feb 2006 19:05:01 -0600 |
From: | "Yaakov S (Cygwin Ports)" <yselkowitz AT users DOT sourceforge DOT net> |
User-Agent: | Thunderbird 1.5 (Windows/20051201) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: missing getaddrinfo |
References: | <021520061640 DOT 18237 DOT 43F35975000870440000473D22073000330A050E040D0C079D0A AT comcast DOT net> |
In-Reply-To: | <021520061640.18237.43F35975000870440000473D22073000330A050E040D0C079D0A@comcast.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Eric Blake wrote: > Currently, cygwin does not provide getaddrinfo, even though > SUSv3 specifies it in <sys/socket.h>/<netdb.h>. CVS Coreutils > has been using gnulib to provide a replacement definition, > but recently gnulib was updated to work on mingw, reusing > the winsock headers/libraries to provide getaddrinfo. As a > result, coreutils is now trying to link in -lws2_32 to get > the winsock version of getaddrinfo (and I suspect that will > not work properly). I have used the following as a workaround in several packages: http://www.sra.co.jp/people/m-kasahr/getaddrinfo/ You need only the getaddrinfo.{c,h} from the tarball (and the README for license?) and include it in your sources; exactly how depends on the package. Yaakov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |