Subject: Re: linking with errno
From: "Robert Collins" <[email-masked]>
To: <[email-masked]>, "Tak Ota" <[email-masked]>
Cc: <[email-masked]>
Date: Sun, 24 Jun 2001 17:11:08 +1000

----- Original Message -----
From: "Tak Ota" <[email-masked]>
To: <[email-masked]>
Cc: <[email-masked]>
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
<[email-masked]> 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