delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [66.24.226.159] |
X-Originating-Email: | [dmoy102 AT hotmail DOT com] |
From: | "David Moy" <dmoy102 AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Library error using -lsocket and -lnsl |
Date: | Sat, 01 Nov 2003 15:17:35 -0500 |
Mime-Version: | 1.0 |
Message-ID: | <Law15-F44fE9oh46Yiu000068ab@hotmail.com> |
X-OriginalArrivalTime: | 01 Nov 2003 20:17:36.0136 (UTC) FILETIME=[3098F080:01C3A0B5] |
I'm trying to compile a C file but I get an error when using options -lsocket and -lnsl. How do I fix this? $ gcc client.c -o client -lnsl -lsocket /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lnsl collect2: ld returned 1 exit status _________________________________________________________________ See when your friends are online with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |