|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Building error, Missing Classpath uClibcHello list, I've compiled kaffe a year ago and upgrading my system I found
with that error configuring cvs version. I'm using uClibc system, I have all libraries like gmp gtk glib alsa jikes and so on, so I want to upgrade my kaffe vm: ./configure --prefix=/usr/local/kafe --enable-gmp --enable-gcj .... .... .... checking for library containing sem_init... none required checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for working semaphores... ok checking where Java core library is installed... /usr/local/classpath checking where Java core library classes are installed... /usr/local/classpath/share/classpath/glibj.zip checking where Java core library classes are installed on the target... /usr/local/classpath/share/classpath/glibj.zip checking where Java core library native libraries are installed... /usr/local/classpath/lib checking where Java core library headers are installed... /usr/local/classpath/include checking if class library exists and is readable at /usr/local/classpath/share/classpath/glibj.zip... no configure: error: Couldn't find readable class library at /usr/local/classpa .... .... .... I use to build kaffe and it always has the own classpath included, wich option I need to activate for using the bundled classpath or it does not come anymore? Regards. -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibcWell, I've installed classpath, so next was:
./configure --prefix=/usr/local/kafe --enable-gmp --enable-gcj --with-classpath-classes=/usr/share/classpath/glibj.zip --with-target-classpath-classes=/usr/share/classpath/glibj.zip --with-classpath-libdir=/usr/lib/classpath/ --with-classpath-includedir=/usr/include/ and next make but I've found some.... gusgus kaffe_cvs20080319 # make Making all in replace make[1]: Entering directory `/GUS/kaffe/kaffe_cvs20080319/replace' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/GUS/kaffe/kaffe_cvs20080319/replace' Making all in libraries/javalib make[1]: Entering directory `/GUS/kaffe/kaffe_cvs20080319/libraries/javalib' Making all in vmspecific make[2]: Entering directory `/GUS/kaffe/kaffe_cvs20080319/libraries/javalib/vmspecific' CLASSPATH=.:./.: $CLASSPATH /etc/java-config-2/current-system-vm/bin/javac -d . -bootclasspath /usr/share/classpath/glibj.zip:.:. 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 Found 1 semantic error compiling "java/lang/ref/Reference.java": 184. return q.enqueue(this); ^-------------^ *** Semantic Error: The type of this return expression, "void", does not match the return type of the method, "boolean". Found 2 semantic errors compiling "java/lang/VMThread.java": 129. Thread.UncaughtExceptionHandler handler; ^----------------------^ *** Semantic Error: Type "java.lang.Thread$UncaughtExceptionHandler" was not found. 130. handler = thread.getUncaughtExceptionHandler(); ^----------------------------------^ *** Semantic Error: No accessible method with signature "getUncaughtExceptionHandler()" was found in type "java.lang.Thread". Found 21 semantic errors compiling "java/lang/reflect/Constructor.java": 43. import gnu.java.lang.reflect.MethodSignatureParser; ^-----------------------------------------^ *** Semantic Error: The import "gnu/java/lang/reflect/MethodSignatureParser" is not valid, since it does not name a type in a package. 82. implements GenericDeclaration, Member ^----------------^ *** Semantic Error: Type "java.lang.reflect.GenericDeclaration" was not found. 152. return (getModifiersInternal() & Modifier.SYNTHETIC) != 0; ^-------^ *** Semantic Error: No accessible field named "SYNTHETIC" was found in type "java.lang.reflect.Modifier". 162. return (getModifiersInternal() & Modifier.VARARGS) != 0; ^-----^ *** Semantic Error: No accessible field named "VARARGS" was found in type "java.lang.reflect.Modifier". 235. Modifier.toString(getModifiers(), sb).append(' '); ^-----------------------------------^ *** Semantic Error: No applicable overload for a method with signature "toString(int, java.lang.StringBuilder)" was found in type "java.lang.reflect.Modifier". Perhaps you wanted the overloaded version "java.lang.StringBuffer toString(int $1, java.lang.StringBuffer $2);" instead? 240. sb.append(ClassHelper.getUserName(c[0])); ^---------------------------^ *** Semantic Error: No accessible method with signature "getUserName(java.lang.Class)" was found in type "gnu.java.lang.ClassHelper". 242. sb.append(',').append(ClassHelper.getUserName(c[i])); ^---------------------------^ *** Semantic Error: No accessible method with signature "getUserName(java.lang.Class)" was found in type "gnu.java.lang.ClassHelper". 256. static void addTypeParameters(StringBuilder sb, TypeVariable[] typeArgs) ^----------^ *** Semantic Error: Type "java.lang.reflect.TypeVariable" was not found. 267. sb.append("> "); ^--------------^ *** Semantic Error: This statement is unreachable. 273. Modifier.toString(getModifiers(), sb).append(' '); ^-----------------------------------^ *** Semantic Error: No applicable overload for a method with signature "toString(int, java.lang.StringBuilder)" was found in type "java.lang.reflect.Modifier". Perhaps you wanted the overloaded version "java.lang.StringBuffer toString(int $1, java.lang.StringBuffer $2);" instead? 274. addTypeParameters(sb, getTypeParameters()); ^----------------------------------------^ *** Semantic Error: No applicable overload for a method with signature "addTypeParameters(java.lang.StringBuilder, ??)" was found in type "java.lang.reflect.Constructor". Perhaps you wanted the overloaded version "void addTypeParameters(java.lang.StringBuilder sb, ?? typeArgs);" instead? 347. public TypeVariable[] getTypeParameters() ^----------^ *** Semantic Error: Type "TypeVariable" was not found. 351. return new TypeVariable[0]; ^----------^ *** Semantic Error: Type "TypeVariable" was not found. 352. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 352. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 378. return getExceptionTypes(); ^-----------------^ *** Semantic Error: The type of this return expression, "java.lang.Class[]", does not match the return type of the method, "java.lang.reflect.Type[]". 379. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 379. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 399. return getParameterTypes(); ^-----------------^ *** Semantic Error: The type of this return expression, "java.lang.Class[]", does not match the return type of the method, "java.lang.reflect.Type[]". 400. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 400. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. Found 9 semantic errors compiling "java/lang/reflect/Field.java": 43. import gnu.java.lang.reflect.FieldSignatureParser; ^----------------------------------------^ *** Semantic Error: The import "gnu/java/lang/reflect/FieldSignatureParser" is not valid, since it does not name a type in a package. 146. return (getModifiersInternal() & Modifier.SYNTHETIC) != 0; ^-------^ *** Semantic Error: No accessible field named "SYNTHETIC" was found in type "java.lang.reflect.Modifier". 156. return (getModifiersInternal() & Modifier.ENUM) != 0; ^--^ *** Semantic Error: No accessible field named "ENUM" was found in type "java.lang.reflect.Modifier". 214. Modifier.toString(getModifiers(), sb).append(' '); ^-----------------------------------^ *** Semantic Error: No applicable overload for a method with signature "toString(int, java.lang.StringBuilder)" was found in type "java.lang.reflect.Modifier". Perhaps you wanted the overloaded version "java.lang.StringBuffer toString(int $1, java.lang.StringBuffer $2);" instead? 215. sb.append(ClassHelper.getUserName(getType())).append(' '); ^--------------------------------^ *** Semantic Error: No accessible method with signature "getUserName(java.lang.Class)" was found in type "gnu.java.lang.ClassHelper". 224. Modifier.toString(getModifiers(), sb).append(' '); ^-----------------------------------^ *** Semantic Error: No applicable overload for a method with signature "toString(int, java.lang.StringBuilder)" was found in type "java.lang.reflect.Modifier". Perhaps you wanted the overloaded version "java.lang.StringBuffer toString(int $1, java.lang.StringBuffer $2);" instead? 751. return getType(); ^-------^ *** Semantic Error: The type of this return expression, "java.lang.Class", does not match the return type of the method, "java.lang.reflect.Type". 752. FieldSignatureParser p = new FieldSignatureParser(getDeclaringClass(), ^------------------^ *** Semantic Error: Type "FieldSignatureParser" was not found. 752. FieldSignatureParser p = new FieldSignatureParser(getDeclaringClass(), ^------------------^ *** Semantic Error: Type "FieldSignatureParser" was not found. Found 24 semantic errors compiling "java/lang/reflect/Method.java": 43. import gnu.java.lang.reflect.MethodSignatureParser; ^-----------------------------------------^ *** Semantic Error: The import "gnu/java/lang/reflect/MethodSignatureParser" is not valid, since it does not name a type in a package. 81. extends AccessibleObject implements Member, GenericDeclaration ^----------------^ *** Semantic Error: Type "GenericDeclaration" was not found. 164. return (getModifiersInternal() & Modifier.BRIDGE) != 0; ^----^ *** Semantic Error: No accessible field named "BRIDGE" was found in type "java.lang.reflect.Modifier". 173. return (getModifiersInternal() & Modifier.SYNTHETIC) != 0; ^-------^ *** Semantic Error: No accessible field named "SYNTHETIC" was found in type "java.lang.reflect.Modifier". 183. return (getModifiersInternal() & Modifier.VARARGS) != 0; ^-----^ *** Semantic Error: No accessible field named "VARARGS" was found in type "java.lang.reflect.Modifier". 286. Modifier.toString(getModifiers(), sb).append(' '); ^-----------------------------------^ *** Semantic Error: No applicable overload for a method with signature "toString(int, java.lang.StringBuilder)" was found in type "java.lang.reflect.Modifier". Perhaps you wanted the overloaded version "java.lang.StringBuffer toString(int $1, java.lang.StringBuffer $2);" instead? 287. sb.append(ClassHelper.getUserName(getReturnType())).append(' '); ^--------------------------------------^ *** Semantic Error: No accessible method with signature "getUserName(java.lang.Class)" was found in type "gnu.java.lang.ClassHelper". 293. sb.append(ClassHelper.getUserName(c[0])); ^---------------------------^ *** Semantic Error: No accessible method with signature "getUserName(java.lang.Class)" was found in type "gnu.java.lang.ClassHelper". 295. sb.append(',').append(ClassHelper.getUserName(c[i])); ^---------------------------^ *** Semantic Error: No accessible method with signature "getUserName(java.lang.Class)" was found in type "gnu.java.lang.ClassHelper". 312. Modifier.toString(getModifiers(), sb).append(' '); ^-----------------------------------^ *** Semantic Error: No applicable overload for a method with signature "toString(int, java.lang.StringBuilder)" was found in type "java.lang.reflect.Modifier". Perhaps you wanted the overloaded version "java.lang.StringBuffer toString(int $1, java.lang.StringBuffer $2);" instead? 313. Constructor.addTypeParameters(sb, getTypeParameters()); ^----------------------------------------------------^ *** Semantic Error: No applicable overload for a method with signature "addTypeParameters(java.lang.StringBuilder, ??)" was found in type "java.lang.reflect.Constructor". Perhaps you wanted the overloaded version "void addTypeParameters(java.lang.StringBuilder sb, ?? typeArgs);" instead? 548. public TypeVariable[] getTypeParameters() ^----------^ *** Semantic Error: Type "TypeVariable" was not found. 552. return new TypeVariable[0]; ^----------^ *** Semantic Error: Type "TypeVariable" was not found. 553. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 553. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 579. return getExceptionTypes(); ^-----------------^ *** Semantic Error: The type of this return expression, "java.lang.Class[]", does not match the return type of the method, "java.lang.reflect.Type[]". 580. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 580. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 600. return getParameterTypes(); ^-----------------^ *** Semantic Error: The type of this return expression, "java.lang.Class[]", does not match the return type of the method, "java.lang.reflect.Type[]". 601. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 601. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 618. return getReturnType(); ^-------------^ *** Semantic Error: The type of this return expression, "java.lang.Class", does not match the return type of the method, "java.lang.reflect.Type". 619. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. 619. MethodSignatureParser p = new MethodSignatureParser(this, sig); ^-------------------^ *** Semantic Error: Type "MethodSignatureParser" was not found. make[2]: *** [classdist_vminterface.stamp] Error 1 make[2]: Leaving directory `/GUS/kaffe/kaffe_cvs20080319/libraries/javalib/vmspecific' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/GUS/kaffe/kaffe_cvs20080319/libraries/javalib' make: *** [all-recursive] Error 1 gusgus kaffe_cvs20080319 # El Lunes, 24 de Marzo de 2008, Gustavo Guillermo Pérez escribió: > Hello list, I've compiled kaffe a year ago and upgrading my system I found > with that error configuring cvs version. I'm using uClibc system, I have > all libraries like gmp gtk glib alsa jikes and so on, so I want to upgrade > my kaffe vm: > > ./configure --prefix=/usr/local/kafe --enable-gmp --enable-gcj > .... > .... > .... > checking for library containing sem_init... none required > checking semaphore.h usability... yes > checking semaphore.h presence... yes > checking for semaphore.h... yes > checking for working semaphores... ok > checking where Java core library is installed... /usr/local/classpath > checking where Java core library classes are > installed... /usr/local/classpath/share/classpath/glibj.zip > checking where Java core library classes are installed on the > target... /usr/local/classpath/share/classpath/glibj.zip > checking where Java core library native libraries are > installed... /usr/local/classpath/lib > checking where Java core library headers are > installed... /usr/local/classpath/include > checking if class library exists and is readable > at /usr/local/classpath/share/classpath/glibj.zip... no > configure: error: Couldn't find readable class library at > /usr/local/classpa .... > .... > .... > > I use to build kaffe and it always has the own classpath included, wich > option I need to activate for using the bundled classpath or it does not > come anymore? > > Regards. -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibcOn 25/03/2008, Gustavo Guillermo Pérez <gustavo@...> wrote:
> Well, I've installed classpath, so next was: > ./configure --prefix=/usr/local/kafe --enable-gmp --enable-gcj --with-classpath-classes=/usr/share/classpath/glibj.zip --with-target-classpath-classes=/usr/share/classpath/glibj.zip --with-classpath-libdir=/usr/lib/classpath/ --with-classpath-includedir=/usr/include/ > > and next make but I've found some.... > > gusgus kaffe_cvs20080319 # make > Making all in replace > make[1]: Entering directory `/GUS/kaffe/kaffe_cvs20080319/replace' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/GUS/kaffe/kaffe_cvs20080319/replace' > Making all in libraries/javalib > make[1]: Entering directory `/GUS/kaffe/kaffe_cvs20080319/libraries/javalib' > Making all in vmspecific > make[2]: Entering directory > `/GUS/kaffe/kaffe_cvs20080319/libraries/javalib/vmspecific' > CLASSPATH=.:./.: > $CLASSPATH /etc/java-config-2/current-system-vm/bin/javac -d . -bootclasspath /usr/share/classpath/glibj.zip:.:. > 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 > -- Andrew :-) Document Freedom Day - March 26th http://documentfreedom.org Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibc> > 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 > > What is your javac (i.e. javac -version)? Is this a Gentoo system? I'ts Jikes with a symlink, I'm still trying stuffs. and I'm using emerge to build some progs, not for kaffe. -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibcGnu Classpath requires javah so, without kaffe how can I have javah? I guess
there is a time when kaffe has their own copy of classpath in it. There is a new procedure to build kaffe from scratch without sun's jvm? having the old non working copy of kaffe on my system, I got to use javah from kaffe, but gnu classpath (0.97.1) does not like jikes as javac, so... again. How can I build kaffe, I'm stuck with the old binary I was compiled, but doesn't work for my updated system anymore. El Martes, 1 de Abril de 2008, Gustavo Guillermo Pérez escribió: > I'ts Jikes with a symlink, I'm still trying stuffs. and I'm using emerge to > build some progs, not for kaffe. -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibcOn Sun, 2008-04-20 at 19:02 -0500, Gustavo Guillermo Perez wrote: > Gnu Classpath requires javah so, without kaffe how can I have javah? I guess > there is a time when kaffe has their own copy of classpath in it. There is a > new procedure to build kaffe from scratch without sun's jvm? > > having the old non working copy of kaffe on my system, I got to use javah from > kaffe, but gnu classpath (0.97.1) does not like jikes as javac, so... again. > How can I build kaffe, I'm stuck with the old binary I was compiled, but > doesn't work for my updated system anymore. We have this same chicken-egg type problem on Gentoo. Would it be possible for you to use gcj from gcc 4.1? (I haven't tested this myself..) Hope this was helpful. ./Christopher _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibcEl Domingo, 20 de Abril de 2008, C. Bergström escribió:
> On Sun, 2008-04-20 at 19:02 -0500, Gustavo Guillermo Perez wrote: > > Gnu Classpath requires javah so, without kaffe how can I have javah? I > > guess there is a time when kaffe has their own copy of classpath in it. > > There is a new procedure to build kaffe from scratch without sun's jvm? > > > > having the old non working copy of kaffe on my system, I got to use javah > > from kaffe, but gnu classpath (0.97.1) does not like jikes as javac, > > so... again. How can I build kaffe, I'm stuck with the old binary I was > > compiled, but doesn't work for my updated system anymore. > > We have this same chicken-egg type problem on Gentoo. Would it be > possible for you to use gcj from gcc 4.1? (I haven't tested this > myself..) Hope this was helpful. You say, gcj as jikes? so then I need to write a wrapper, let's see what happen. Wich version of kaffe even old has their own built in classpath?, may be I can upgrade from one to another reach the svn version. -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
|
|
Re: Building error, Missing Classpath uClibcEl Lunes, 21 de Abril de 2008, Gustavo Guillermo Perez escribió:
> You say, gcj as jikes? so then I need to write a wrapper, let's see what > happen. > > Wich version of kaffe even old has their own built in classpath?, may be I > can upgrade from one to another reach the svn version. It happens, kaffe-1.1.7 builds on uClibc without a problem and witout using gnu classpath, and classpath 0.90 builds wih gcj without any problem and without using kaffe, just gcj. but... trying to update classpath to 0.97.1 for new kaffe from cvs, the problem persist, classpath does not build cause gcj does not support -source 1.5 -target 1.5, so we can not have an updated classpath for building kaffe cvs, but is a start. Why kaffe does not integrate classpath anymore, is too dificult to incorporate as in version 1.1.7?. -- Gustavo Guillermo Pérez Compunauta uLinux www.compunauta.com _______________________________________________ kaffe mailing list kaffe@... http://kaffe.org/cgi-bin/mailman/listinfo/kaffe |
| Free Forum Powered by Nabble | Forum Help |