Problems compiling libgcj-snapshot-2000-10-29

Alexandre Petit-Bianco apbianco@cygnus.com
Mon Oct 30 16:28:00 GMT 2000


Tom.Williams@diversifiedsoftware.com writes:
> 
> Hi!  I think I've found the problem I've been having with
> ObjectInputStream.class.  Check out this error:
> 
> gcj -B/mnt/build/libgcj-snapshot-2000-10-29/objdir/i586-pc-linux-gnu/libjava/ -C -g -classpath
> /mnt/build/libgcj-snapshot-2000-10-29/objdir/i586-pc-linux-gnu/libjava:/mnt/build/libgcj-snapshot-2000-10-29/libjava -d
> /mnt/build/libgcj-snapshot-2000-10-29/objdir/i586-pc-linux-gnu/libjava java/io/ObjectInputStream.java
> java/io/ObjectInputStream.java:1: Missing return statement.
>    /* ObjectInputStream.java -- Class used to read serialized objects
>     ^

That's exactly what I saw yesterday. Build gcj with the default gcc
compiler, not your previously installed gcc from the egcs tree which
seems to contain a bug. Or use the temporary variable workaround.

./A


More information about the Java mailing list