Type not found

Paul Reilly preilly@allaire.com
Fri Dec 17 07:30:00 GMT 1999


During my compile of libgcj, I'm getting these error messages:
CLASSPATH=/usr/local/devel/libgcj/objdir/i686-pc-linux-gnu/libjava /bin/sh ./libtool --mode=compile gcj -fassume-compiled -g -L/usr/local/devel/libgcj/objdir/i686-pc-linux-gnu/libjava -ffloat-store -c -o java/io/Externalizable.lo ../../../libjava/java/io/Externalizable.java
rm -f java/io/.libs/Externalizable.lo
gcj -fassume-compiled -g -L/usr/local/devel/libgcj/objdir/i686-pc-linux-gnu/libjava -ffloat-store -c -fPIC ../../../libjava/java/io/Externalizable.java -o java/io/.libs/Externalizable.lo
../../../libjava/java/io/Externalizable.java:14: Type `ObjectInput' not found in the declaration of the argument `in' of method `readExternal'.
 public void readExternal(ObjectInput in);
 ^
../../../libjava/java/io/Externalizable.java:15: Type `ObjectOutput' not found in the declaration of the argument `out' of method `writeExternal'.
 public void writeExternal(ObjectOutput out);
 ^
2 errors
make[2]: *** [java/io/Externalizable.lo] Error 1
I'm not sure quite how to fix them. I created ObjectInput and
ObjectOutput and they compile into ObjectInput.lo and ObjectOutput.lo
just fine. I'm wondering if I somehow need to reference these two
files when compiling Externalizable, but I couldn't find an example
where this is done elsewhere in the libgcj compile. Any info is much
appreciated.
Thanks,
Paul


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /