This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Linking difficulties with internet functions
- To: cygwin at sourceware dot cygnus dot com
- Subject: Linking difficulties with internet functions
- From: Robert Graham Merkel <rgmerk at mira dot net>
- Date: Tue, 4 Jan 2000 11:52:49 +1100 (EST)
- Reply-To: rgmerk at mira dot net (Robert Graham Merkel)
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@mira.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@sourceware.cygnus.com