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: <20011201223345.23870.qmail@web12005.mail.yahoo.com> Date: Sat, 1 Dec 2001 14:33:45 -0800 (PST) From: Cindy Chung Subject: problem using gcc To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I'm very new at this stuff and I can't seem to figure out why the gcc compiler is not working. It seems from the error that it can't find the standard library? I really appreciate any assistance! --------------------------- Administrator AT VAIO ~ $ gcc -o server server.c -lnsl -lsocket server.c: In function `main': server.c:61: warning: passing arg 5 of `recvfrom' from incompatible pointer type server.c:74: warning: passing arg 5 of `sendto' from incompatible pointer type /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann ot find -lnsl collect2: ld returned 1 exit status Cindy __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- 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/