This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: problem using gcc


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
--- Begin Message ---
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
--- End Message ---
--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]