Weird linking-problem
Andreas Schwab
schwab@issan.informatik.uni-dortmund.de
Mon Jun 29 01:32:00 GMT 1998
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
More information about the Libc-alpha
mailing list