Problems compiling libgcj-snapshot-2000-10-29

Tom.Williams@diversifiedsoftware.com Tom.Williams@diversifiedsoftware.com
Mon Oct 30 15:36:00 GMT 2000


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
    ^
1 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/ObjectInputValidation.java
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/ObjectOutput.java
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/ObjectOutputStream.java
java/io/ObjectOutputStream.java: In class `java.io.ObjectOutputStream':
java/io/ObjectOutputStream.java: In method `access$1(java.io.ObjectOutputStream,java.io.ObjectStreamClass)':
java/io/ObjectOutputStream.java:1: Missing return statement.
   /* ObjectOutputStream.java -- Class used to write serialized objects
    ^
java/io/ObjectOutputStream.java: In method `access$1(java.io.ObjectOutputStream)':
java/io/ObjectOutputStream.java:1: Missing return statement.
   /* ObjectOutputStream.java -- Class used to write serialized objects
    ^
2 errors
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/ObjectStreamClass.java
make[1]: *** [libgcj.zip] Interrupt
make: *** [all-target-libjava] Interrupt

bash$

These compile errors did NOT stop the build.......  I guess gcj is NOT returning non-zero return codes to signal make to terminate the build in the
event of these compile errors.

I'll see if I can figure out why these files did NOT compile.

Peace.....

Tom




Tom Tromey <tromey@cygnus.com> on 10/30/2000 03:14:24 PM

Please respond to tromey@cygnus.com

To:   Warren Levy <warrenl@cygnus.com>
cc:   Tom.Williams@diversifiedsoftware.com, java-discuss@sources.redhat.com
Subject:  Re: Problems compiling libgcj-snapshot-2000-10-29


Warren> If you didn't save the output, please try a clean build of
Warren> libgcj.  It is helpful to know if it is getting built (or
Warren> fails to build) and is later missing vs. never being
Warren> attempted.  There have been some mods to the make and
Warren> configure pieces in recent days, so that could be a
Warren> possibility

I'm guessing I broke the Makefile somehow.  I noticed a similar
problem when I tried to add a `.java' file.  I can't investigate it
today, but I'll add it to my to-do list.

Tom








More information about the Java mailing list