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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Robert Graham Merkel MIME-Version: 1.0 Message-ID: <14449.17505.935541.138129@mira.net> Date: Tue, 4 Jan 2000 11:52:49 +1100 (EST) To: cygwin AT sourceware DOT cygnus DOT com Subject: Linking difficulties with internet functions X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Reply-To: rgmerk AT mira DOT net (Robert Graham Merkel) User-Agent: SEMI/1.12.1 ([JR] Nonoichi) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEza?= =?ISO-8859-4?Q?ki?=) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386-debian-linux) Content-Type: text/plain; charset=US-ASCII I'm trying to compile a program, and get the following link error message: BASH.EXE-2.02$ gcc -o logger logger.c C:\WINDOWS\TEMP\ccCLzhDq.o(.text+0x1f3):logger.c: undefined reference to `inet_ aton' collect2: ld returned 1 exit status Obviously, the function must be defined in the headers, but it's not being linked in. Which library do I need to include to get this function? TIA -- --------------------------------------------------------------------------- Robert Merkel rgmerk AT mira DOT net Humanity has advanced, when it has advanced, not because it has been sober, responsible, and cautious, but because it has been playful, rebellious, and immature. -- Tom Robbins --------------------------------------------------------------------------- -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com