This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: undefined reference to `errno'
- To: "Dr. Volker Zell" <vzell at de dot oracle dot com>
- Subject: Re: undefined reference to `errno'
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Fri, 23 Jan 1998 15:20:07 +1100
- Cc: gnu-win32 at cygnus dot com
- References: <5378-Tue20Jan1998174825+0100-vzell@de.oracle.com>
On 20-Jan-1998, Dr. Volker Zell <vzell@de.oracle.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@cs.mu.oz.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@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".