Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: bono.reversers.net: stefan owned process doing -bs Date: Wed, 19 Jul 2000 16:07:38 +0200 (CEST) From: stefan X-Sender: stefan AT bono DOT reversers DOT net To: Matt Minnis cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: inet_aton In-Reply-To: <4.3.1.2.20000718103542.01e45688@mail.prefres.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 18 Jul 2000, Matt Minnis wrote: > network.o(.text+0x12c):network.c: undefined reference to `inet_aton' > collect2: ld returned 1 exit status No, you cannot use it. I worked around like this, hope that helps. #ifndef __MINGW32__ inet_aton (tmp, &newaddr->sin_addr); #else /* __MINGW32__ */ newaddr->sin_addr.s_addr = inet_addr (tmp); #endif /* __MINGW32__ */ Stefan. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com