<div class="gmail_quote">hi,<br>since my last email till now, I solved some of problems.<br>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.<br>
now, after resolving some of these bugs. I encountered another issue, but this time in C source files.<br>after I run make, I got this<br><br>make[1]: Entering directory `/media/disk-1/tools/kaffe-1.1.9/kaffe/kaffeh'<br>
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<br>
mv -f .deps/support.Tpo .deps/support.Po<br>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<br>
../../kaffe/kaffevm/constants.c: In function ‘readConstantPool’:<br>../../kaffe/kaffevm/constants.c:186: warning: implicit declaration of function ‘check_if_need_toswitch_words_in_jdouble’<br>../../kaffe/kaffevm/constants.c: At top level:<br>
../../kaffe/kaffevm/constants.c:36: warning: ‘check_if_need_to_switch_words_in_jdouble’ defined but not used<br>mv -f .deps/constants.Tpo .deps/constants.Po<br>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<br>
mv -f .deps/readClass.Tpo .deps/readClass.Po<br>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<br>
../../kaffe/kaffevm/utf8const.c: In function ‘utf8ConstInit’:<br>../../kaffe/kaffevm/utf8const.c:372: warning: cast from pointer to integer of different size<br>../../kaffe/kaffevm/utf8const.c:372: warning: cast from pointer to integer of different size<br>
mv -f .deps/utf8const.Tpo .deps/utf8const.Po<br>/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 <br>
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<br>
constants.o: In function `readConstantPool':<br>/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'<br>collect2: ld returned 1 exit status<br>
make[1]: *** [kaffeh] Error 1<br>make[1]: Leaving directory `/media/disk-1/tools/kaffe-1.1.9/kaffe/kaffeh'<div class="im"><br>make: *** [all-recursive] Error 1<br><br><br></div>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.<br>
<br>Best Regards.<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 2:11 AM, Dalibor Topic <span dir="ltr"><<a href="mailto:robilad@kaffe.org" target="_blank">robilad@kaffe.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>mohammad reza azadmanesh wrote:<br>
> `/media/disk-1/tools/kaffe-1.1.9/libraries/javalib/vmspecific'<br>
> CLASSPATH=.:./.:$CLASSPATH /usr/lib/jvm/java-1.6.0/bin/javac -d .<br>
> -bootclasspath<br>
> /usr/local/classpath/share/classpath/classpath-0.98.tar.gz:.:.<br>
<br>
</div>the 0.98<br>
<div><br>
> gnu/classpath/VMStackWalker.java gnu/classpath/VMSystemProperties.java<br>
> java/lang/Runtime.java java/lang/VMRuntime.java java/lang/VMString.java<br>
> java/lang/VMSystem.java java/lang/VMThread.java<br>
> java/lang/VMThrowable.java java/lang/ref/Reference.java<br>
> java/lang/reflect/Constructor.java java/lang/reflect/Field.java<br>
> java/lang/reflect/Method.java java/security/VMAccessController.java<br>
> java/security/VMSecureRandom.java org/kaffe/jar/ExecJar.java<br>
> org/kaffe/jar/ExecJarName.java org/kaffe/security/LameRandomness.java<br>
> org/kaffe/security/Randomness.java<br>
> org/kaffe/security/UnixRandomness.java<br>
> org/kaffe/util/NotImplemented.java org/kaffe/util/Ptr.java<br>
> org/kaffe/util/SupportDisabled.java<br>
> /tmp/classpath-0.96.1/java/lang/Class.java:148: type<br>
> java.lang.reflect.Constructor does not take parameters<br>
> private transient Constructor<T> constructor;<br>
> ^<br>
<br>
</div>and 0.96.1 here are somewhat awkwardly apart. I'd suggest trying the<br>
build with ecj first. Why it'd go and compile files in /tmp is a bit<br>
of a mystery to me, though. What's your configure line?<br>
<br>
cheers,<br>
<font color="#888888">dalibor topic<br>
</font></blockquote></div><br><br clear="all"><br><br>
</div></div></div><br><br clear="all"><br>-- <br>Best Regards<br><br>Mohammad R. Azadmanesh<br><br>Msc candidate Of Iran university of science and technology<br>