Fwd: a bug report on make program in kaffe
mohammad reza azadmanesh <[email protected]> Sat, 19 Sep 2009 15:21:02 +0430
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1501367674== Content-Type: multipart/alternative; boundary=0015175cdccc5a07a10473ec068a --0015175cdccc5a07a10473ec068a Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 relate= d to that. mystery point mentioned in your mail was because I had unzipped gn= u 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=3Dgnu99 -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_REENTRAN= T -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=3Dgnu99 -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_REENTRAN= T -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 =91readConstantPool=92: ../../kaffe/kaffevm/constants.c:186: warning: implicit declaration of function =91check_if_need_toswitch_words_in_jdouble=92 ../../kaffe/kaffevm/constants.c: At top level: ../../kaffe/kaffevm/constants.c:36: warning: =91check_if_need_to_switch_words_in_jdouble=92 defined but not used mv -f .deps/constants.Tpo .deps/constants.Po gcc -std=3Dgnu99 -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_REENTRAN= T -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=3Dgnu99 -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_REENTRAN= T -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 =91utf8ConstInit=92: ../../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=3DCC --mode=3Dlink gcc -std=3Dgnu99 -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=3Dgnu99 -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-poin= ter -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 to= o 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 <[email protected]> wrote: > mohammad reza azadmanesh wrote: > > `/media/disk-1/tools/kaffe-1.1.9/libraries/javalib/vmspecific' > > CLASSPATH=3D.:./.:$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 > --=20 Best Regards Mohammad R. Azadmanesh Msc candidate Of Iran university of science and technology --0015175cdccc5a07a10473ec068a Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">hi,<br>since my last email till now, I solved so= me of problems.<br>Indeed, I hadn`t run make on Gnu classpath, so some of p= roblems were related to that. mystery point mentioned in your mail was beca= use I had unzipped gnu classpath in /tmp.<br> now, after resolving some of these bugs. I encountered another issue, but t= his 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=3Dgnu99 -DHAVE_CONFIG_H -I. -I../../config=A0 -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=A0=A0= -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm -I/media/disk-1/tools/ka= ffe-1.1.9/./kaffe/kaffevm/intrp -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/k= affevm/systems/unix-pthreads -I../../replace -I../../config -I../../include= =A0 -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno= -omit-frame-pointer -m64 -pthread=A0 -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=3Dgnu99 -DHAVE_CONFIG_= H -I. -I../../config=A0 -I../kaffevm -I./../kaffevm -DKAFFEH -I../../includ= e -I../../config -I../../kaffe/kaffevm/jni -I../../config/x86_64 -I../../co= nfig/x86_64/linux -I/usr/local/include=A0=A0 -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=A0 -DKAFFE_VMDEBUG -D_REENTRAN= T -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -pthre= ad=A0 -g -O2 -MT constants.o -MD -MP -MF .deps/constants.Tpo -c -o constant= s.o `test -f '../../kaffe/kaffevm/constants.c' || echo './'= `../../kaffe/kaffevm/constants.c<br> ../../kaffe/kaffevm/constants.c: In function =91readConstantPool=92:<br>../= ../kaffe/kaffevm/constants.c:186: warning: implicit declaration of function= =91check_if_need_toswitch_words_in_jdouble=92<br>../../kaffe/kaffevm/const= ants.c: At top level:<br> ../../kaffe/kaffevm/constants.c:36: warning: =91check_if_need_to_switch_wor= ds_in_jdouble=92 defined but not used<br>mv -f .deps/constants.Tpo .deps/co= nstants.Po<br>gcc -std=3Dgnu99 -DHAVE_CONFIG_H -I. -I../../config=A0 -I../k= affevm -I./../kaffevm -DKAFFEH -I../../include -I../../config -I../../kaffe= /kaffevm/jni -I../../config/x86_64 -I../../config/x86_64/linux -I/usr/local= /include=A0=A0 -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm -I/media/d= isk-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=A0 -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict= -aliasing -fno-omit-frame-pointer -m64 -pthread=A0 -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=3Dgnu99 -DHAVE_CON= FIG_H -I. -I../../config=A0 -I../kaffevm -I./../kaffevm -DKAFFEH -I../../in= clude -I../../config -I../../kaffe/kaffevm/jni -I../../config/x86_64 -I../.= ./config/x86_64/linux -I/usr/local/include=A0=A0 -I/media/disk-1/tools/kaff= e-1.1.9/./kaffe/kaffevm -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/i= ntrp -I/media/disk-1/tools/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthread= s -I../../replace -I../../config -I../../include=A0 -DKAFFE_VMDEBUG -D_REEN= TRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -m64 -p= thread=A0 -g -O2 -MT utf8const.o -MD -MP -MF .deps/utf8const.Tpo -c -o utf8= const.o `test -f '../../kaffe/kaffevm/utf8const.c' || echo './&= #39;`../../kaffe/kaffevm/utf8const.c<br> ../../kaffe/kaffevm/utf8const.c: In function =91utf8ConstInit=92:<br>../../= kaffe/kaffevm/utf8const.c:372: warning: cast from pointer to integer of dif= ferent size<br>../../kaffe/kaffevm/utf8const.c:372: warning: cast from poin= ter to integer of different size<br> mv -f .deps/utf8const.Tpo .deps/utf8const.Po<br>/bin/sh ../../libtool --tag= =3DCC=A0=A0 --mode=3Dlink gcc -std=3Dgnu99 -Wall -W -Wextra -fno-strict-ali= asing -fno-omit-frame-pointer -m64 -pthread=A0 -g -O2=A0=A0 -o kaffeh main.= o mem.o sigs.o support.o constants.o debug.o file.o jar.o readClass.o utf8c= onst.o=A0 -L/usr/local/lib -lzzip -lz=A0=A0=A0 -lltdl=A0=A0 <br> gcc -std=3Dgnu99 -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-poin= ter -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=A0 -L/usr/local/lib /usr/loc= al/lib/libzzip.so -lz /usr/local/lib/libltdl.so=A0=A0 -Wl,--rpath -Wl,/usr/= local/lib -Wl,--rpath -Wl,/usr/local/lib<br> constants.o: In function `readConstantPool':<br>/media/disk-1/tools/kaf= fe-1.1.9/kaffe/kaffeh/../../kaffe/kaffevm/constants.c:186: undefined refere= nce to `check_if_need_toswitch_words_in_jdouble'<br>collect2: ld return= ed 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=3D"im"><br>make: *** [all-rec= ursive] Error 1<br><br><br></div>now, I`d like to know why is this happenin= g. installling kaffe ontime is too vital to me because I need it for my pro= ject. so please help me to do this on time.<br> <br>Best Regards.<div><div></div><div class=3D"h5"><br><br><br><div class= =3D"gmail_quote">On Thu, Sep 17, 2009 at 2:11 AM, Dalibor Topic <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">robilad= @kaffe.org</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"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=3D.:./.:$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.jav= a<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> > =A0 private transient Constructor<T> constructor;<br> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^<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=3D"#888888">dalibor topic<br> </font></blockquote></div><br><br clear=3D"all"><br><br> </div></div></div><br><br clear=3D"all"><br>-- <br>Best Regards<br><br>Moha= mmad R. Azadmanesh<br><br>Msc candidate Of Iran university of science and t= echnology<br> --0015175cdccc5a07a10473ec068a-- --===============1501367674== 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 --===============1501367674==--