delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/24/03:16:56

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: <073001c0fc7c$d7b19e60$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <yf110 AT victoria DOT tc DOT ca>, "Tak Ota" <Takaaki DOT Ota AT am DOT sony DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 3 DOT 95 DOT iB1 DOT 0 DOT 1010623222325 DOT 21004A-100000 AT vtn1> <20010623 DOT 234118 DOT 91281111 DOT Takaaki DOT Ota AT am DOT sony DOT com>
Subject: Re: linking with errno
Date: Sun, 24 Jun 2001 17:11:08 +1000
MIME-Version: 1.0
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 DOT Ota AT am DOT sony DOT com>
To: <yf110 AT victoria DOT tc DOT ca>
Cc: <cygwin AT cygwin DOT 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 AT victoria DOT tc DOT 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

- Raw text -


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