This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: cannot build libgcj
- To: Oskar Liljeblad <osk at hem dot passagen dot se>
- Subject: Re: cannot build libgcj
- From: Warren Levy <warrenl at cygnus dot com>
- Date: Sun, 12 Nov 2000 00:39:21 -0800 (PST)
- cc: java-discuss at sourceware dot cygnus dot com
On Sun, 12 Nov 2000, Oskar Liljeblad wrote:
> I get this error when building libgcj with egcs 20001030:
>
> gcj -B/usr/local/src/objdir-libgcj-snapshot-2000-11-11/i686-pc-linux-gnu/libjava/ -C -g -classpath /usr/local/src/objdir-libgcj-snapshot-2000-11-11/i686-pc-linux-gnu/libjava:/usr/local/src/libgcj-snapshot-2000-11-11/libjava -d /usr/local/src/objdir-libgcj-snapshot-2000-11-11/i686-pc-linux-gnu/libjava java/io/ObjectInputStream.java
> java/io/ObjectInputStream.java:1: Missing return statement.
> /* ObjectInputStream.java -- Class used to read serialized objects
> ^
> 1 error
Hmm, this looks like the error discussed in a previous thread:
http://sources.redhat.com/ml/java-discuss/2000-10/msg00135.html
It looks like you should rebuild gcj with the default gcc, not the gcc
from the egcs tree to avoid this bug.
--warrenl