This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Newbie Q on socket programming on Cygwin
- To: <cygwin at cygwin dot com>
- Subject: Re: Newbie Q on socket programming on Cygwin
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- Date: Sun, 7 Oct 2001 12:47:24 +0200
- Organization: Esse keine toten Tiere
- Reply-to: cygwin at cygwin dot com
seung-won hwang schrieb am 2001-10-07, 0:39:
>Hello,
>
>I tried to compile HTTP client code in C in Cygwin.. but -lsocket -lnsl
>flags give me errors in compilation.
>
>> gcc -o wc wc.c -lsocket -lnsl
Try:
gcc -o wc wc.c
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
>cann
>ot find -lsocket
>collect2: ld returned 1 exit status
>
>Any comment on dealing with this problem would be very helpful to me.
>Thanks in advance!
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/