a bug report on make program in kaffe

mohammad reza azadmanesh <[email protected]> Wed, 16 Sep 2009 10:24:28 +0430
Newsgroups gmane.comp.java.vm.kaffe.general
Message-ID <[email protected]>
--===============2097537586==
Content-Type: multipart/alternative; boundary=00032555999e394dc70473ab88eb

--00032555999e394dc70473ab88eb
Content-Type: text/plain; charset=ISO-8859-1

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.

--00032555999e394dc70473ab88eb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><br>Hi, <br>I am new to kaffe and while I was ru=
nninng make on kaffe in my linux system, I got an error which is followed.<=
br><br>Making all in replace<br>make[1]: Entering directory `/media/disk-1/=
tools/kaffe-1.1.9/replace&#39;<br>

make[1]: Nothing to be done for `all&#39;.<br>make[1]: Leaving directory `/=
media/disk-1/tools/kaffe-1.1.9/replace&#39;<br>Making all in libraries/java=
lib<br>make[1]: Entering directory `/media/disk-1/tools/kaffe-1.1.9/librari=
es/javalib&#39;<br>

Making all in vmspecific<br>make[2]: Entering directory `/media/disk-1/tool=
s/kaffe-1.1.9/libraries/javalib/vmspecific&#39;<br>CLASSPATH=3D.:./.:$CLASS=
PATH /usr/lib/jvm/java-1.6.0/bin/javac -d . -bootclasspath /usr/local/class=
path/share/classpath/classpath-0.98.tar.gz:.:.=A0=A0 gnu/classpath/VMStackW=
alker.java gnu/classpath/VMSystemProperties.java java/lang/Runtime.java jav=
a/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/r=
eflect/Method.java java/security/VMAccessController.java java/security/VMSe=
cureRandom.java org/kaffe/jar/ExecJar.java org/kaffe/jar/ExecJarName.java o=
rg/kaffe/security/LameRandomness.java org/kaffe/security/Randomness.java or=
g/kaffe/security/UnixRandomness.java org/kaffe/util/NotImplemented.java org=
/kaffe/util/Ptr.java org/kaffe/util/SupportDisabled.java<br>

/tmp/classpath-0.96.1/java/lang/Class.java:148: type java.lang.reflect.Cons=
tructor does not take parameters<br>=A0 private transient Constructor&lt;T&=
gt; constructor;<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpath-0.96.1/java/lang/C=
lass.java:327: type java.lang.reflect.Constructor does not take parameters<=
br>

=A0 public Constructor&lt;T&gt; getConstructor(Class&lt;?&gt;... types)<br>=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpa=
th-0.96.1/java/lang/Class.java:353: type java.lang.reflect.Constructor does=
 not take parameters<br>=A0 public Constructor&lt;?&gt;[] getConstructors()=
<br>

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpa=
th-0.96.1/java/lang/Class.java:373: type java.lang.reflect.Constructor does=
 not take parameters<br>=A0 public Constructor&lt;T&gt; getDeclaredConstruc=
tor(Class&lt;?&gt;... types)<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 ^<br>

/tmp/classpath-0.96.1/java/lang/Class.java:422: type java.lang.reflect.Cons=
tructor does not take parameters<br>=A0 public Constructor&lt;?&gt;[] getDe=
claredConstructors()<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 ^<br>/tmp/classpath-0.96.1/java/lang/Class.java:428: type java.lang.=
reflect.Constructor does not take parameters<br>

=A0 Constructor&lt;?&gt;[] getDeclaredConstructors (boolean publicOnly)<br>=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpath-0.96.1/java/lang/C=
lass.java:1602: type java.lang.reflect.Constructor does not take parameters=
<br>=A0 public Constructor&lt;?&gt; getEnclosingConstructor()<br>

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpa=
th-0.96.1/java/util/TreeSet.java:85: cannot find symbol<br>symbol: class Na=
vigableSet<br>=A0 implements NavigableSet&lt;T&gt;, Cloneable, Serializable=
<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpath-0.96.1/java/ut=
il/TreeSet.java:85: interface expected here<br>

=A0 implements NavigableSet&lt;T&gt;, Cloneable, Serializable<br>=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/c=
lasspath-0.96.1/java/util/TreeSet.java:97: cannot find symbol<br>symbol=A0 =
: class NavigableMap<br>location: class java.util.TreeSet&lt;T&gt;<br>

=A0 private transient NavigableMap&lt;T, String&gt; map;<br>=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpath-0.96.1/java/=
util/TreeSet.java:166: cannot find symbol<br>symbol=A0 : class NavigableMap=
<br>location: class java.util.TreeSet&lt;T&gt;<br>

=A0 private TreeSet(NavigableMap&lt;T,String&gt; backingMap)<br><br><br>.<b=
r>.<br>.<br>.<br>=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 ^<br>/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;<br>

cast to java.lang.Class&lt;?&gt; for a varargs call<br>cast to java.lang.Cl=
ass&lt;?&gt;[] for a non-varargs call and to suppress this warning<br>=A0=
=A0=A0 =A0=A0=A0=A0=A0 Method method =3D bean.getClass().getMethod(&quot;ge=
tMBeanInfo&quot;, null);<br>

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>/tmp/classpath-0.9=
6.1/gnu/javax/management/Server.java:1034: warning: non-varargs call of var=
args method with inexact argument type for last parameter;<br>

cast to java.lang.Class&lt;?&gt; for a varargs call<br>cast to java.lang.Cl=
ass&lt;?&gt;[] for a non-varargs call and to suppress this warning<br>=A0=
=A0=A0 Method method =3D bean.getClass().getMethod(&quot;getMBeanInfo&quot;=
, null);<br>

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^<br>Note: Some input files use or overri=
de a deprecated API.<br>Note: Recompile with -Xlint:deprecation for details=
.<br>Note: Some input files use unchecked or unsafe operations.<br>

Note: Recompile with -Xlint:unchecked for details.<br>100 errors<br>7 warni=
ngs<br>make[2]: *** [classdist_vminterface.stamp] Error 1<br>make[2]: Leavi=
ng directory `/media/disk-1/tools/kaffe-1.1.9/libraries/javalib/vmspecific&=
#39;<br>

make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/media/=
disk-1/tools/kaffe-1.1.9/libraries/javalib&#39;<br>make: *** [all-recursive=
] Error 1<br><br><br><br><br>may any one help me how to resolve this bug.<b=
r>

<br>Best Regards.<br><br clear=3D"all"><br>
</div><br><br>

--00032555999e394dc70473ab88eb--


--===============2097537586==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

--===============2097537586==--