bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22748] gcj fails to compile classpath


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22748] gcj fails to compile classpath
Date: 16 Oct 2005 01:26:58 -0000

Follow the instructions to download and configure classpath.
address@hidden classpath-0.09]$ ./configure --enable-jni 
address@hidden classpath-0.09]$ gmake
Making all in lib
gmake[1]: Entering directory `/home/bmann/wrk/java/classpath-0.09/lib'
top_builddir=.. /bin/sh ./gen-classlist.sh standard
/usr/bin/gcj --bootclasspath '' -classpath
..:../external/jaxp/source:../vm/current:.: -C -d . @classes
../java/awt/font/TextAttribute.java:44: Superclass
`AttributedCharacterIterator.Attribute' of class `java.awt.font.TextAttribute'
not found.
   public final class TextAttribute extends
AttributedCharacterIterator.Attribute
                                            ^
../java/awt/im/InputSubset.java:49: Superclass `Character.Subset' of class
`java.awt.im.InputSubset' not found.
   public final class InputSubset extends Character.Subset
                                          ^
2 errors
gmake[1]: *** [compile-classes] Error 1
gmake[1]: Leaving directory `/home/bmann/wrk/java/classpath-0.09/lib'
gmake: *** [all-recursive] Error 1


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-05-31 
00:06 -------
What version of GCJ is this ? I suppose its 3.2.x. You need at least GCJ
version 3.3 or you can use jikes to compile the java part of GNU classpath.

Please report back which version of GCJ do you use.


------- Comment #2 from from-classpath at savannah dot gnu dot org  2004-06-03 
10:14 -------
I've tried to build with gcj-3.2 and I'm getting the same problem:

make[1]: Entering directory `/tmp/topic/classpath-0.09/lib'
top_builddir=.. /bin/sh ./gen-classlist.sh standard
/usr/bin/gcj-3.2 --bootclasspath '' -classpath
..:../external/jaxp/source:../vm/current:.: -C -d . @classes
../java/awt/font/TextAttribute.java:44: Superclass
`AttributedCharacterIterator.Attribute' of class `java.awt.font.TextAttribute'
not found.
   public final class TextAttribute extends
AttributedCharacterIterator.Attribute
                                            ^
../java/awt/im/InputSubset.java:49: Superclass `Character.Subset' of class
`java.awt.im.InputSubset' not found.
   public final class InputSubset extends Character.Subset
                                          ^
2 errors

bash-2.05a$ gcj-3.2 --version
gcj-3.2 (GCC) 3.2.1 20021020 (Debian prerelease)

So I'd assume the reporter uses 3.2.x.


------- Comment #3 from from-classpath at savannah dot gnu dot org  2004-06-03 
10:29 -------
Okay, this confirmed my assumption. I'm closing this now. The real bug was that
0.09 release doest check for gcj >= 3.3. It checks for gcj >= 3.1 which is
wrong. This was fixed shortly after release and will be in next release, 0.10.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22748





reply via email to

[Prev in Thread] Current Thread [Next in Thread]