Hi,

I tried to compile Classpath with Kaffe and I encountered some errors.

I placed kaffe-config.in kaffe-1.0.5/kaffe/scripts and I successfully
compiled kaffe.
I copied files in vm/reference directory to vm/kaffe.

My configuration of Classpath was:

./configure --with-jikes --with-kaffe

Jikes version is 1.11. And I checkouted today Classpath source files from CVS.

In building classpath, I encountered following error messages.
How can I build Classpath?

Thanks,

Jongwon Kim

-----------

Making all in lib
make[1]: Entering directory `/home/freefish/classpath/lib'
/usr/bin/jikes -nowarn +CSO +F -classpath ..:../vm/current:. -d . @classes

Found 1 semantic error compiling "../java/awt/MenuContainer.java":

    61. postEvent(Event event);
                  <--->
*** Error: Type java/awt/Event was not found.

Found 1 semantic error compiling "../java/io/ObjectInputStream.java":

        <--------------------------------------------------
    86. public class ObjectInputStream extends InputStream
        . . .
  1359. }
        >
*** Error: A class file was not generated for the type "java/io/ObjectInputStream" 
because a library method that it depends on was not found. See system messages for 
more information.

Found 1 semantic error compiling "../java/awt/Image.java":

        <---------------------------
    31. public abstract class Image
        . . .
   179. } // class Image
        >
*** Error: A class file was not generated for the type "java/awt/Image" because a 
library method that it depends on was not found. See system messages for more 
information.

Found 1 semantic error compiling "../java/awt/AWTEvent.java":

   132.   this(event.target, event.id);
               <---------->
*** Error: No field named "target" was found in type "java/awt/Event".

Found 1 semantic error compiling "../java/lang/Throwable.java":

        <--------------------------------------------------------------
    40. public class Throwable extends Object implements Serializable 
        . . .
   169. }
        >
*** Error: A class file was not generated for the type "java/lang/Throwable" because a 
library method that it depends on was not found. See system messages for more 
information.

Found 1 semantic error compiling "../java/io/ObjectStreamClass.java":

        <------------------------------------------------------
    39. public class ObjectStreamClass implements Serializable
        . . .
   566. }
        >
*** Error: A class file was not generated for the type "java/io/ObjectStreamClass" 
because a library method that it depends on was not found. See system messages for 
more information.

Found 1 semantic error compiling "../java/awt/Toolkit.java":

   665.   return(Event.CTRL_MASK);
                 <------------->
*** Error: No field named "CTRL_MASK" was found in type "java/awt/Event".

Found 1 semantic error compiling "../java/awt/PopupMenu.java":

   105.       Event e = new Event (component, Event.ACTION_EVENT, component);
                                              <---------------->
*** Error: No field named "ACTION_EVENT" was found in type "java/awt/Event".

Found 1 semantic error compiling "../java/util/Calendar.java":

        <-------------------------------------------------------------------
    84. public abstract class Calendar implements Serializable, Cloneable {
        . . .
   931. }
        >
*** Error: A class file was not generated for the type "java/util/Calendar" because a 
library method that it depends on was not found. See system messages for more 
information.

Found 1 semantic error compiling "../java/beans/EventSetDescriptor.java":

        <-----------------------------------------------------------
    71. public class EventSetDescriptor extends FeatureDescriptor {
        . . .
   422. }
        >
*** Error: A class file was not generated for the type "java/beans/EventSetDescriptor" 
because a library method that it depends on was not found. See system messages for 
more information.

Found 1 semantic error compiling "../gnu/java/beans/IntrospectionIncubator.java":

        <-------------------------------------
    38. public class IntrospectionIncubator {
        . . .
   306. }
        >
*** Error: A class file was not generated for the type 
"gnu/java/beans/IntrospectionIncubator" because a library method that it depends on 
was not found. See system messages for more information.

Found 1 semantic error compiling "../java/beans/PropertyEditorManager.java":

        <------------------------------------
    52. public class PropertyEditorManager {
        . . .
   143. }
        >
*** Error: A class file was not generated for the type 
"java/beans/PropertyEditorManager" because a library method that it depends on was not 
found. See system messages for more information.

Found 1 semantic error compiling 
"../gnu/java/security/provider/DSAKeyPairGenerator.java":

        <-------------------------------------------------------------
    36. public class DSAKeyPairGenerator extends KeyPairGeneratorSpi 
        . . .
   153. }
        >
*** Error: A class file was not generated for the type 
"gnu/java/security/provider/DSAKeyPairGenerator" because a library method that it 
depends on was not found. See system messages for more information.

Found 4 semantic errors compiling "../java/text/MessageFormat.java":

    31. import java.text.DecimalFormat;
               <--------------------->
*** Error: "java/text/DecimalFormat" is either a misplaced package name or a 
non-existent entity.


   490.                     DecimalFormat f = (DecimalFormat) 
NumberFormat.getInstance(locale_d);
                            <----------->
*** Error: Type java/text/DecimalFormat was not found.


   490.                     DecimalFormat f = (DecimalFormat) 
NumberFormat.getInstance(locale_d);
                                                              
<-------------------------------->
*** Error: An expression of type "NumberFormat" cannot be cast into type 
"DecimalFormat".


   492.                     format = f;
                            <-------->
*** Error: The type of the left-hand side in this assignment, "java/text/Format", is 
not compatible with the type of the right-hand side expression, 
"java/text/DecimalFormat".

Found 1 semantic error compiling "../java/util/PropertyPermission.java":

        <-------------------------------------------------------------
    51. public final class PropertyPermission extends BasicPermission
        . . .
   231. }
        >
*** Error: A class file was not generated for the type "java/util/PropertyPermission" 
because a library method that it depends on was not found. See system messages for 
more information.

Found 1 semantic error compiling "../java/util/TreeMap.java":

        <-----------------------------------------
    59. public class TreeMap extends AbstractMap 
        . . .
  1382. }
        >
*** Error: A class file was not generated for the type "java/util/TreeMap" because a 
library method that it depends on was not found. See system messages for more 
information.

Found 2 semantic errors compiling "../gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java":

    26. public class GtkPopupMenuPeer extends GtkMenuPeer
                     <-------------->
*** Error: The abstract method "void show(java.awt.Event e);", inherited from type 
"java/awt/peer/PopupMenuPeer", is not implemented in the non-abstract class 
"gnu/java/awt/peer/gtk/GtkPopupMenuPeer".


    42.   public void show (Event e)
                            <--->
*** Error: Type gnu/java/awt/peer/gtk/Event was not found.

Found 1 semantic error compiling "../gnu/java/beans/info/ComponentBeanInfo.java":

        <-------------------------------------------------------
    32. public class ComponentBeanInfo extends SimpleBeanInfo {
        . . .
    55. }
        >
*** Error: A class file was not generated for the type 
"gnu/java/beans/info/ComponentBeanInfo" because a library method that it depends on 
was not found. See system messages for more information.

Found 1 semantic error compiling "../gnu/java/security/provider/DSAParameters.java":

        <---------------------------------------------------------
    45. public class DSAParameters extends AlgorithmParametersSpi
        . . .
   121. }
        >
*** Error: A class file was not generated for the type 
"gnu/java/security/provider/DSAParameters" because a library method that it depends on 
was not found. See system messages for more information.

Found 1 system error:

*** Error: A non-standard version of the type "java/lang/Throwable" was found. Class 
files that depend on this type may not have been generated.
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/freefish/classpath/lib'
make: *** [all-recursive] Error 1




Reply via email to