delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/08/07:42:48

From: oyehia AT oracle DOT dsuper DOT net ("Who cares...")
Subject: Re: beta17.1: h_errno?
8 Feb 1997 07:42:48 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.OSF.3.91.970208055658.22765D-100000.cygnus.gnu-win32@oracle>
Mime-Version: 1.0
Original-To: Assar Westerlund <assar AT sics DOT se>
Original-Cc: Sergey Okhapkin <sos AT prospect DOT com DOT ru>,
"gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
In-Reply-To: <5liv44w99y.fsf@assaris.sics.se>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

try adding this:
#include <sys/errno.h>
hope that helps!

On 7 Feb 1997, Assar Westerlund wrote:

> Sergey Okhapkin <sos AT prospect DOT com DOT ru> writes:
> > Assar Westerlund wrote:
> > > In beta 17.1 (running NT 3.51), there's a declaration of `h_errno' in
> > > <netdb.h>, but there's no definition.  I guess that's not the way it's
> > 
> > Variable h_errno defined in cygwin.dll.
> 
> I tried compiling this program:
> 
> ----------------------------------------------------------------------
> #include <netdb.h>
> 
> int main()
> {
>   int foo = h_errno;
> }
> ----------------------------------------------------------------------
> 
> And I get undefined reference.
> 
> nm cygwin.dll | grep h_errno finds no h_errno either.
> 
> /assar
> -
> For help on using this list, send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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