This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libgcj: compile problems after glibc upgrade


>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:

Bryce> I have just upgraded to glibc 2.1, and libgcj has stopped
Bryce> compiling.  "other-stuff"(tm) is still compiling fine
Bryce> (including egcs/gcj themselves), so this seems to be a problem
Bryce> with libgcj (autoconf?)  rather than a system misconfiguration.

This is a known problem.

Bryce> ../../../libjava/java/lang/mprec.h:83: parse error before `__uint32_t'

If you're on an x86 box, you can change some code near the top of
mprec.h from this:

    #ifndef HAVE_INT32_DEFINED
    typedef int __int32_t;
    typedef unsigned int __uint32_t;
    #endif

to this:

    #ifndef HAVE_INT32_DEFINED
    typedef int __int32_t;
    #endif
    typedef unsigned int __uint32_t;

At some point we'll come up with a real fix for this.  It's on my list
of things to do.

Tom