Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <073001c0fc7c$d7b19e60$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <yf110@victoria.tc.ca>, "Tak Ota" <Takaaki.Ota@am.sony.com>
Cc: <cygwin@cygwin.com>
References: <Pine.GSO.3.95.iB1.0.1010623222325.21004A-100000@vtn1> <20010623.234118.91281111.Takaaki.Ota@am.sony.com>
Subject: Re: linking with errno
Date: Sun, 24 Jun 2001 17:11:08 +1000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 24 Jun 2001 06:59:33.0407 (UTC) FILETIME=[390352F0:01C0FC7B]


----- Original Message -----
From: "Tak Ota" <Takaaki.Ota@am.sony.com>
To: <yf110@victoria.tc.ca>
Cc: <cygwin@cygwin.com>
Sent: Sunday, June 24, 2001 4:41 PM
Subject: Re: linking with errno


> On Sat, 23 Jun 2001 22:36:23 -0700 (PDT), Malcolm Dew-Jones
<yf110@victoria.tc.ca> wrote:
>
> > linking:
> > gcc -O -DUNIX -DTERMCAP -DLINUX -DANSIC sedt.o edit.o (...etc...)
> > -ltermcap  -o sedt
>
> How about adding -lc in the link options.
>
> -Tak
>

No!. That won't solve the problem. The problem is a incorrect definition
of errno, probably due to not including the appropriate header file. See
the cygwin archives - this is a common question.

Rob


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

