linking with errno

Robert Collins robert.collins@itdomain.com.au
Sun Jun 24 00:09:00 GMT 2001


----- 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



More information about the Cygwin mailing list