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 Date: Sun, 7 Oct 2001 00:39:28 -0500 (CDT) From: seung-won hwang X-X-Sender: To: Subject: Newbie Q on socket programming on Cygwin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 /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! -- 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/