[kaffe] a bug report on make program in kaffe

mohammad reza azadmanesh m.r.azadmanesh at gmail.com
Tue Sep 15 22:54:28 PDT 2009


Hi,
I am new to kaffe and while I was runninng make on kaffe in my linux system,
I got an error which is followed.

Making all in replace
make[1]: Entering directory `/media/disk-1/tools/kaffe-1.1.9/replace'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/media/disk-1/tools/kaffe-1.1.9/replace'
Making all in libraries/javalib
make[1]: Entering directory
`/media/disk-1/tools/kaffe-1.1.9/libraries/javalib'
Making all in vmspecific
make[2]: Entering directory
`/media/disk-1/tools/kaffe-1.1.9/libraries/javalib/vmspecific'
CLASSPATH=.:./.:$CLASSPATH /usr/lib/jvm/java-1.6.0/bin/javac -d .
-bootclasspath
/usr/local/classpath/share/classpath/classpath-0.98.tar.gz:.:.
gnu/classpath/VMStackWalker.java gnu/classpath/VMSystemProperties.java
java/lang/Runtime.java java/lang/VMRuntime.java java/lang/VMString.java
java/lang/VMSystem.java java/lang/VMThread.java java/lang/VMThrowable.java
java/lang/ref/Reference.java java/lang/reflect/Constructor.java
java/lang/reflect/Field.java java/lang/reflect/Method.java
java/security/VMAccessController.java java/security/VMSecureRandom.java
org/kaffe/jar/ExecJar.java org/kaffe/jar/ExecJarName.java
org/kaffe/security/LameRandomness.java org/kaffe/security/Randomness.java
org/kaffe/security/UnixRandomness.java org/kaffe/util/NotImplemented.java
org/kaffe/util/Ptr.java org/kaffe/util/SupportDisabled.java
/tmp/classpath-0.96.1/java/lang/Class.java:148: type
java.lang.reflect.Constructor does not take parameters
  private transient Constructor<T> constructor;
                               ^
/tmp/classpath-0.96.1/java/lang/Class.java:327: type
java.lang.reflect.Constructor does not take parameters
  public Constructor<T> getConstructor(Class<?>... types)
                    ^
/tmp/classpath-0.96.1/java/lang/Class.java:353: type
java.lang.reflect.Constructor does not take parameters
  public Constructor<?>[] getConstructors()
                    ^
/tmp/classpath-0.96.1/java/lang/Class.java:373: type
java.lang.reflect.Constructor does not take parameters
  public Constructor<T> getDeclaredConstructor(Class<?>... types)
                    ^
/tmp/classpath-0.96.1/java/lang/Class.java:422: type
java.lang.reflect.Constructor does not take parameters
  public Constructor<?>[] getDeclaredConstructors()
                    ^
/tmp/classpath-0.96.1/java/lang/Class.java:428: type
java.lang.reflect.Constructor does not take parameters
  Constructor<?>[] getDeclaredConstructors (boolean publicOnly)
             ^
/tmp/classpath-0.96.1/java/lang/Class.java:1602: type
java.lang.reflect.Constructor does not take parameters
  public Constructor<?> getEnclosingConstructor()
                    ^
/tmp/classpath-0.96.1/java/util/TreeSet.java:85: cannot find symbol
symbol: class NavigableSet
  implements NavigableSet<T>, Cloneable, Serializable
             ^
/tmp/classpath-0.96.1/java/util/TreeSet.java:85: interface expected here
  implements NavigableSet<T>, Cloneable, Serializable
                         ^
/tmp/classpath-0.96.1/java/util/TreeSet.java:97: cannot find symbol
symbol  : class NavigableMap
location: class java.util.TreeSet<T>
  private transient NavigableMap<T, String> map;
                    ^
/tmp/classpath-0.96.1/java/util/TreeSet.java:166: cannot find symbol
symbol  : class NavigableMap
location: class java.util.TreeSet<T>
  private TreeSet(NavigableMap<T,String> backingMap)


.
.
.
.
                                                 ^
/tmp/classpath-0.96.1/gnu/javax/management/Server.java:232: warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Class<?> for a varargs call
cast to java.lang.Class<?>[] for a non-varargs call and to suppress this
warning
          Method method = bean.getClass().getMethod("getMBeanInfo", null);
                                                                    ^
/tmp/classpath-0.96.1/gnu/javax/management/Server.java:1034: warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Class<?> for a varargs call
cast to java.lang.Class<?>[] for a non-varargs call and to suppress this
warning
    Method method = bean.getClass().getMethod("getMBeanInfo", null);
                                                              ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
7 warnings
make[2]: *** [classdist_vminterface.stamp] Error 1
make[2]: Leaving directory
`/media/disk-1/tools/kaffe-1.1.9/libraries/javalib/vmspecific'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/media/disk-1/tools/kaffe-1.1.9/libraries/javalib'
make: *** [all-recursive] Error 1




may any one help me how to resolve this bug.

Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20090916/e68deea4/attachment.htm 


More information about the kaffe mailing list