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]

libgcj: compile problems after glibc upgrade


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

The error message is:

gcc -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -Iinclude
-I../../../libjava/include -I../../../libjava/../boehm-gc
-I./../boehm-gc  -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1
-DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1
-I../../../libjava/../compat-include   -ffloat-store -W -Wall -g -O2 -c
-o java/lang/dtoa.o ../../../libjava/java/lang/dtoa.c
In file included from ../../../libjava/java/lang/dtoa.c:29:
../../../libjava/java/lang/mprec.h:83: parse error before `__uint32_t'
../../../libjava/java/lang/mprec.h:83: warning: no semicolon at end of
struct or union
../../../libjava/java/lang/dtoa.c: In function `_Jv_dtoa_r':
../../../libjava/java/lang/dtoa.c:249: storage size of `d' isn't known
../../../libjava/java/lang/dtoa.c:249: storage size of `d2' isn't known
../../../libjava/java/lang/dtoa.c:249: storage size of `eps' isn't known

../../../libjava/java/lang/dtoa.c:269: `__uint32_t' undeclared (first
use this function)
[....]

Anyone know what to make of this?

regards

  [ bryce ]