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: <20011201231140.68863.qmail@web12001.mail.yahoo.com> Date: Sat, 1 Dec 2001 15:11:40 -0800 (PST) From: Cindy Chung Subject: Fwd: problem using gcc To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1160552316-1007248300=:68699" --0-1160552316-1007248300=:68699 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I wanted to make note that I installe everything to make sure that it worked. But it gives me this error still. Again, thanks very much for any assistance! Cindy Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com --0-1160552316-1007248300=:68699 Content-Type: message/rfc822 X-Apparently-To: my_nyu_mail AT yahoo DOT com via web12002.mail.yahoo.com; 01 Dec 2001 14:33:46 -0800 (PST) X-Yahoo-Received: from mux2.sc5.mail.yahoo.com by web12002.mail.yahoo.com; 01 Dec 2001 14:33:46 -0800 (PST) X-Yahoo-Received: from mta301.mail.yahoo.com by mux2.sc5.mail.yahoo.com; 01 Dec 2001 14:33:46 -0800 (PST) X-Yahoo-MsgId: Received: from web12005.mail.yahoo.com (216.136.172.213) by mta301.mail.yahoo.com with SMTP; 01 Dec 2001 14:33:45 -0800 (PST) Received: from [24.253.196.230] by web12005.mail.yahoo.com via HTTP; Sat, 01 Dec 2001 14:33:45 PST 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 Content-Length: 764 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 --0-1160552316-1007248300=:68699 Content-Type: text/plain; charset=us-ascii -- 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/ --0-1160552316-1007248300=:68699--