This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Weird linking-problem
- To: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Subject: Re: Weird linking-problem
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: 29 Jun 1998 10:31:54 +0200
- Cc: deas@uni-hamburg.de (Andreas Steffan), libc-alpha@gnu.org
- References: <199806271222.IAA08004@rabi.phys.columbia.edu>
Zack Weinberg <zack@rabi.phys.columbia.edu> writes:
|> The prototype of __errno_location in <errno.h> was parsed as a C++
It is in <errnos.h> (<bits/errno.h> in 2.1) which is included by
<errno.h>.
|> prototype, so gcc emitted the wrong symbol. That indicates that
|> errno.h doesn't have the proper wrapper for its declarations.
|>
|> Could you please try the latest glibc (2.0.7) and see if the problem
|> is still there?
Both 2.0 and 2.1 have __BEGIN_DECLS in <errno.h>. I suspect that
<errnos.h> was used directly, which is a no-no.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org