delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/01/17:33:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <my_nyu_mail AT yahoo DOT com>
Subject: problem using gcc
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019