This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libjava broken
- From: Michael Koch <konqueror at gmx dot de>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Oct 2002 15:19:54 +0200
- Subject: Re: libjava broken
- References: <hoadlqfn3n.fsf@byrd.suse.de>
Am Montag, 7. Oktober 2002 14:30 schrieb Andreas Jaeger:
> I cannot build libjava at the moment, it fails with:
>
> /usr/src/aj/build/gcc/gcc/gcj
> -B/usr/src/aj/build/gcc/x86_64-unknown-linux-gnu/libjava/
> -B/usr/src/aj/build/gcc/gcc/ --encoding=UTF-8 -C -g -classpath ''
> -bootclasspath
> /usr/src/aj/build/gcc/x86_64-unknown-linux-gnu/libjava:/cvs/gcc/lib
>java \ -d /usr/src/aj/build/gcc/x86_64-unknown-linux-gnu/libjava
> /cvs/gcc/libjava/java/nio/channels/ByteChannel.java
> /cvs/gcc/libjava/java/nio/channels/ReadableByteChannel.java:41:
> error: Class or interface `java.nio.ByteBuffer' not found in
> import. import java.nio.ByteBuffer;
> ^
> /cvs/gcc/libjava/java/nio/channels/ReadableByteChannel.java:58:
> error: Type `ByteBuffer' not found in the declaration of the
> argument `dst' of method `read'. public int read (ByteBuffer dst)
> throws IOException;
> ^
> /cvs/gcc/libjava/java/nio/channels/WritableByteChannel.java:41:
> error: Class or interface `java.nio.ByteBuffer' not found in
> import. import java.nio.ByteBuffer;
> ^
> /cvs/gcc/libjava/java/nio/channels/WritableByteChannel.java:59:
> error: Type `ByteBuffer' not found in the declaration of the
> argument `src' of method `write'. public int write(ByteBuffer src)
> throws IOException;
> ^
> 4 errors
> make[1]: *** [java/nio/channels/ByteChannel.class] Error 1
Should be fixed now, I commit a fix. I hope I got all. I'm currrently
recompiling a clean tree but my computer isnt very fast .....
Michael
--
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg