This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Where is h_errno?
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Subject: Re: Where is h_errno?
- From: "Stephen C. Biggs" <s_c_biggs at bigfoot dot com>
- Date: Sun, 17 Dec 2000 04:36:54 -0800
- References: <3A3BDF37.21069.146BBB5@localhost>
- Reply-to: s_c_biggs at bigfoot dot com
On 17 Dec 2000, at 13:15, Corinna Vinschen wrote:
> On Sunday 17 December 2000 06:31, Stephen C. Biggs wrote:
> > When compiling a package I am getting undefined reference errors
> > for h_errno... isn't this in the cygwin library? Or should it be
> > undef'ed out?
>
> Did you search the include files before sending this mail?
Yes I did... the only definition that resolves to something is in
w32api/winsock.h. This doesn't work if I am trying to compile a Unix
tarball (apache). netdb.h has an extern but only if
__INSIDE_CYGWIN_NET__
> Did you eliminate the `extern int h_errno;' line(s) when __CYGWIN__
> is defined?
What would that do? The compile will then exit with an undefined
symbol instead of getting to the linker error.
>
> Corinna
>
> --
> Corinna Vinschen Please, send mails regarding Cygwin to
> Cygwin Developer mailto:cygwin@cygwin.com
> Red Hat, Inc.
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com