delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/24/13:05:50

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: undefined reference to `errno'
24 Jan 1998 13:05:50 -0800 :
Message-ID: <19980123152007.53828.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
References: <5378-Tue20Jan1998174825+0100-vzell AT de DOT oracle DOT com>
Mime-Version: 1.0
To: "Dr. Volker Zell" <vzell AT de DOT oracle DOT com>
Cc: gnu-win32 AT cygnus DOT com

On 20-Jan-1998, Dr. Volker Zell <vzell AT de DOT oracle DOT com> wrote:
> Hi all
> 
> When trying to compile netpbm-1mar94.p1 I get a bunch of messages like
>  
> ../pbm/libpbm.a(libpbm1.o)(.text+0x4e1):libpbm1.c: undefined reference
> to `errno'
> 
> Does anybody know how to deal with this kind of error.

I think adding `#include <errno.h>' at the start of libpbm1.c
should solve the problem.  You might need to also comment out
any explicit declarations of `errno'.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), 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