This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.0.3a problems
>>>>> Alex Buell writes:
> Hi guys,
> I've been trying to compile egcs 1.0.3a on a glibc-v2.0.94 system that was
> compiled using egcs 1.0.3 binaries from cygnus, and I get this error
> message:
> [stuff prior to this error deleted]
> _bb
> In file included from /usr/include/bits/string2.h:870,
> from /usr/include/string.h:325,
> from ./libgcc2.c:1719:
> /usr/include/stdlib.h:502: conflicting types for 'atexit'
> gbl-ctors.h:43: previous declaration of 'atexit'
> make[2]: *** [libgcc2.a] Error 1
> Has anyone seen this before and if so, what was the solution? It's driving
> me nuts :o(
Just remove the declaration of atexit from gbl-ctors.h and everything
should be fine. This has been fixed for current egcs development
versions.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@alma.student.uni-kl.de