This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
problem using gcc
- From: Cindy Chung <my_nyu_mail at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 1 Dec 2001 14:33:45 -0800 (PST)
- Subject: problem using gcc
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@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/