Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Stephen C. Biggs" To: Corinna Vinschen Date: Sun, 17 Dec 2000 04:36:54 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT 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