Hallo Cindy, Am 2001-12-01 um 23:33 schriebst du:
> 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 There is no socket & nsl library on cygwin. > server.c:61: warning: passing arg 5 of `recvfrom' from > incompatible pointer type Only warnings... try to link without the libraries. Ciao, Gerrit P. Haase mailto:[EMAIL PROTECTED] -- =^..^= -- 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/