This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cannot build libgcj


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]