delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/17/07:38:21

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
From: "Stephen C. Biggs" <s_c_biggs AT bigfoot DOT com>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Date: Sun, 17 Dec 2000 04:36:54 -0800
MIME-Version: 1.0
Subject: Re: Where is h_errno?
Reply-to: s_c_biggs AT bigfoot DOT com
Message-ID: <3A3C42E6.9955.2CC1F70@localhost>
References: <3A3BDF37 DOT 21069 DOT 146BBB5 AT localhost>
In-reply-to: <0012171315500Q.00473@cygbert>
X-mailer: Pegasus Mail for Win32 (v3.12c)

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 AT cygwin DOT com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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