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 Message-ID: <39748BA4.9776F4C2@cygnus.com> Date: Tue, 18 Jul 2000 18:53:56 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Matt Minnis CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: inet_aton References: <4 DOT 3 DOT 1 DOT 2 DOT 20000718103542 DOT 01e45688 AT mail DOT prefres DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Matt Minnis wrote: > > I am getting an error: > > network.o(.text+0x12c):network.c: undefined reference to `inet_aton' > collect2: ld returned 1 exit status > > I found the header in the include/arpa/inet.h > > Where is the library to include? > > How can I use this? It's currently not implemented. Nearly all network related functions in Cygwin are mappings of the winsock functions. inet_ntoa isn't implemented in winsock, at least it's not declared in the headers. This shouldn't be too hard to implement, though. Corinna -- Corinna Vinschen Cygwin Developer Cygnus Solutions, a Red Hat company -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com