hi, since my last email till now, I solved some of problems. Indeed, I hadn`t run make on Gnu classpath, so some of problems were related to that. mystery point mentioned in your mail was because I had unzipped gnu classpath in /tmp. now, after resolving some of these bugs. I encountered another issue, but this time in C source files. after I run make, I got this
make[1]: Entering directory `/media/disk-1/tools/kaffe-1.1.9/kaffe/kaffeh' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../config -I../kaffevm -I./../kaffevm -DKAFFEH -I../../include -I../../config -I../../kaffe/kaffevm/jni -I../../config/x86_64 -I../../config/x86_64/linux -I/usr/local/include -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/intrp -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthreads -I../../replace -I../../config -I../../include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthread -g -O2 -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c mv -f .deps/support.Tpo .deps/support.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../config -I../kaffevm -I./../kaffevm -DKAFFEH -I../../include -I../../config -I../../kaffe/kaffevm/jni -I../../config/x86_64 -I../../config/x86_64/linux -I/usr/local/include -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/intrp -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthreads -I../../replace -I../../config -I../../include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthread -g -O2 -MT constants.o -MD -MP -MF .deps/constants.Tpo -c -o constants.o `test -f '../../kaffe/kaffevm/constants.c' || echo './'`../../kaffe/kaffevm/constants.c ../../kaffe/kaffevm/constants.c: In function ‘readConstantPool’: ../../kaffe/kaffevm/constants.c:186: warning: implicit declaration of function ‘check_if_need_toswitch_words_in_jdouble’ ../../kaffe/kaffevm/constants.c: At top level: ../../kaffe/kaffevm/constants.c:36: warning: ‘check_if_need_to_switch_words_in_jdouble’ defined but not used mv -f .deps/constants.Tpo .deps/constants.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../config -I../kaffevm -I./../kaffevm -DKAFFEH -I../../include -I../../config -I../../kaffe/kaffevm/jni -I../../config/x86_64 -I../../config/x86_64/linux -I/usr/local/include -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/intrp -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthreads -I../../replace -I../../config -I../../include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthread -g -O2 -MT readClass.o -MD -MP -MF .deps/readClass.Tpo -c -o readClass.o `test -f '../../kaffe/kaffevm/readClass.c' || echo './'`../../kaffe/kaffevm/readClass.c mv -f .deps/readClass.Tpo .deps/readClass.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../config -I../kaffevm -I./../kaffevm -DKAFFEH -I../../include -I../../config -I../../kaffe/kaffevm/jni -I../../config/x86_64 -I../../config/x86_64/linux -I/usr/local/include -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/intrp -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthreads -I../../replace -I../../config -I../../include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthread -g -O2 -MT utf8const.o -MD -MP -MF .deps/utf8const.Tpo -c -o utf8const.o `test -f '../../kaffe/kaffevm/utf8const.c' || echo './'`../../kaffe/kaffevm/utf8const.c ../../kaffe/kaffevm/utf8const.c: In function ‘utf8ConstInit’: ../../kaffe/kaffevm/utf8const.c:372: warning: cast from pointer to integer of different size ../../kaffe/kaffevm/utf8const.c:372: warning: cast from pointer to integer of different size mv -f .deps/utf8const.Tpo .deps/utf8const.Po /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthread -g -O2 -o kaffeh main.o mem.o sigs.o support.o constants.o debug.o file.o jar.o readClass.o utf8const.o -L/usr/local/lib -lzzip -lz -lltdl gcc -std=gnu99 -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthread -g -O2 -o kaffeh main.o mem.o sigs.o support.o constants.o debug.o file.o jar.o readClass.o utf8const.o -L/usr/local/lib /usr/local/lib/libzzip.so -lz /usr/local/lib/libltdl.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib constants.o: In function `readConstantPool': /media/disk-1/tools/kaffe-1.1.9/kaffe/kaffeh/../../kaffe/kaffevm/constants.c:186: undefined reference to `check_if_need_toswitch_words_in_jdouble' collect2: ld returned 1 exit status make[1]: *** [kaffeh] Error 1 make[1]: Leaving directory `/media/disk-1/tools/kaffe-1.1.9/kaffe/kaffeh' make: *** [all-recursive] Error 1 now, I`d like to know why is this happening. installling kaffe ontime is too vital to me because I need it for my project. so please help me to do this on time. Best Regards. On Thu, Sep 17, 2009 at 2:11 AM, Dalibor Topic <robi...@kaffe.org> wrote: > mohammad reza azadmanesh wrote: > > `/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:.:. > > the 0.98 > > > 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; > > ^ > > and 0.96.1 here are somewhat awkwardly apart. I'd suggest trying the > build with ecj first. Why it'd go and compile files in /tmp is a bit > of a mystery to me, though. What's your configure line? > > cheers, > dalibor topic > -- Best Regards Mohammad R. Azadmanesh Msc candidate Of Iran university of science and technology
_______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe