Pb compiling gcj ct'd
Sandro Hawke
sandro@roads.org
Sun May 9 04:10:00 GMT 1999
> Guillaume wrote:
> > I now got gcj and have problems while installing libgcj. Here is where it
> > happens :
> > /usr/local/libgcj/libjava/java/lang/mprec.h:83: parse error before
> > `__uint32_t'
Anthony wrote:
> Is __uint32_t or __int32_t defined somewhere on your system?
> This code assumes that __uint32_t is a 32-bit type. There's some
> configury for testing this.
In http://sourceware.cygnus.com/ml/java-discuss/1999-q2/msg00174.html
Tom Tromey said:
================================================================
This is a known problem.
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.
================================================================
That worked for me to solve that problem, but I still got stumped on a
vtable problem in natObject.lo.
-- sandro
More information about the Java
mailing list