This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: linking with errno
----- 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