Pb compiling gcj ct'd
ALLEON Guillaume
alleon@club-internet.fr
Sun May 9 14:02:00 GMT 1999
Sandro Hawke wrote:
> > 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
Thanks very much,
This solve my problem and I got the complete library built.
I do not encounter the vtable problem you mention. Do not hesitate if you think
I can help (my system is formerly based on a RH5.0 but I has installed kernel 225
and glibc2.1 ... so I guess it is closer to RH6.0 now.
Thanks again
Guillaume
More information about the Java
mailing list