[kaffe] promblem in making with engine of intrp

Guilhem Lavaux guilhem at kaffe.org
Wed Jul 7 01:36:35 PDT 2004


jin_leon wrote:

>Hello,everyone!
>  
>

Hi Jin,

It seems you are using Kaffe-1.1.0. Could you try a more recent release
? (like 1.1.4 at least).

Cheers,

Guilhem.

>I have some difficulties in compiling Kaffe with the parameter of '--with-engine=intrip',and i extremly wanna understand what the exact problem is and how to solve it.
>when make ,the error information is :
>==============================================
>Making all in intrp
>make[3]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/intrp'
>if /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include  -I../../../kaffe/kaffevm/systems/unix-jthreads -I.. -I./.. -DINTERPRETER -DKVER='"1.1.0"' -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../../config -I../../../include  -DNDEBUG  -g -O2 -Wall -Wstrict-prototypes -MT machine.lo -MD -MP -MF ".deps/machine.Tpo" \
>  -c -o machine.lo `test -f 'machine.c' || echo './'`machine.c; \
>then mv -f ".deps/machine.Tpo" ".deps/machine.Plo"; \
>else rm -f ".deps/machine.Tpo"; exit 1; \
>fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../kaffe/kaffevm/systems/unix-jthreads -I.. -I./.. -DINTERPRETER -DKVER=\"1.1.0\" -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../../config -I../../../include -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -MT machine.lo -MD -MP -MF .deps/machine.Tpo -c machine.c  -fPIC -DPIC -o .libs/machine.o
>machine.c: In function `virtualMachine':
>machine.c:174: warning: type-punning to incomplete type might break strict-aliasing rules
>machine.c:180: warning: type-punning to incomplete type might break strict-aliasing rules
>/bin/sh ../../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes   -o libengine.la   machine.lo
>rm -fr  .libs/libengine.a .libs/libengine.la
>ar cru .libs/libengine.a .libs/machine.o
>ranlib .libs/libengine.a
>creating libengine.la
>(cd .libs && rm -f libengine.la && ln -s ../libengine.la libengine.la)
>make[3]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/intrp'
>Making all in systems
>make[3]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/systems'
>Making all in unix-jthreads
>make[4]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads'
>make[4]: Nothing to be done for `all'.
>make[4]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads'
>make[4]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/systems'
>make[4]: Nothing to be done for `all-am'.
>make[4]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/systems'
>make[3]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/systems'
>Making all in gcj
>make[3]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/gcj'
>make[3]: Nothing to be done for `all'.
>make[3]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm/gcj'
>make[3]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm'
>/bin/sh ../../config/regen-forward ./mem/gc-mem.c gc-mem.c stamp-h01
>gc-mem.c is already up-to-date
>/bin/sh ../../config/regen-forward ../../config/i386/linux/md.c md.c stamp-h02
>md.c is already up-to-date
>/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes   -o libkaffevm.la -rpath /usr/local/kaffe/jre/lib/i386  -export-dynamic -release 1.1.0 gc-mem.lo md.lo baseClasses.lo classMethod.lo classPool.lo methodCache.lo code-analyse.lo code.lo constants.lo debug.lo exception.lo external.lo findInJar.lo fp.lo gc.lo hashtab.lo inflate.lo itypes.lo jar.lo jni.lo locks.lo lookup.lo object.lo readClass.lo sha-1.lo soft.lo stackTrace.lo stats.lo string.lo stringParsing.lo support.lo thread.lo utf8const.lo gcFuncs.lo gcRefs.lo verify.lo ../../libltdl/libltdlc.la intrp/libengine.la  systems/unix-jthreads/libkthread.la  -lm
>rm -fr  .libs/libkaffevm-1.1.0.so .libs/libkaffevm.la .libs/libkaffevm.lai .libs/libkaffevm.so
>gcc -shared  .libs/gc-mem.o .libs/md.o .libs/baseClasses.o .libs/classMethod.o .libs/classPool.o .libs/methodCache.o .libs/code-analyse.o .libs/code.o .libs/constants.o .libs/debug.o .libs/exception.o .libs/external.o .libs/findInJar.o .libs/fp.o .libs/gc.o .libs/hashtab.o .libs/inflate.o .libs/itypes.o .libs/jar.o .libs/jni.o .libs/locks.o .libs/lookup.o .libs/object.o .libs/readClass.o .libs/sha-1.o .libs/soft.o .libs/stackTrace.o .libs/stats.o .libs/string.o .libs/stringParsing.o .libs/support.o .libs/thread.o .libs/utf8const.o .libs/gcFuncs.o .libs/gcRefs.o .libs/verify.o -Wl,--whole-archive ../../libltdl/.libs/libltdlc.a intrp/.libs/libengine.a systems/unix-jthreads/.libs/libkthread.a -Wl,--no-whole-archive  -ldl -lm  -Wl,-soname -Wl,libkaffevm-1.1.0.so -o .libs/libkaffevm-1.1.0.so
>(cd .libs && rm -f libkaffevm.so && ln -s libkaffevm-1.1.0.so libkaffevm.so)
>creating libkaffevm.la
>(cd .libs && rm -f libkaffevm.la && ln -s ../libkaffevm.la libkaffevm.la)
>make[3]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm'
>make[2]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffevm'
>Making all in kaffe
>make[2]: Entering directory `/home/jin/kaffe-1.1.0/kaffe/kaffe'
>rm -f version-info.h version-info.hT
>echo "/* version-info.h is automagically generated by Kaffe's Makefile */" > version-info.hT
>sed < ../../ChangeLog            \
>  -e 's/^/#define VER_CHANGELOG_HEAD "/' \
>  -e 's/$/"/'                            \
>  -e '1q' >> version-info.hT
>echo '#define VER_COMPILE_DATE  "'`date`'" '            >> version-info.hT
>echo '#define VER_COMPILE_HOST  "'`hostname`'"'         >> version-info.hT
>echo '#define VER_CC            "gcc"'                >> version-info.hT
>echo '#define VER_KAFFELIBS     """"'      >> version-info.hT
>echo '#define VER_CFLAGS        """-g -O2 -Wall -Wstrict-prototypes"'      >> version-info.hT
>echo '#define VER_CPPFLAGS      "-I../kaffevm -I./../kaffevm -I../../libltdl -I../../kaffe/xprof""-DKVER='"1.1.0"' -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../config -I../../include  -DNDEBUG"'  >> version-info.hT
>echo '#define VER_LDFLAGS       ""'            >> version-info.hT
>echo '#define VER_DEFS          "-DHAVE_CONFIG_H"'              >> version-info.hT
>echo '#define VER_PREFIX        "/usr/local/kaffe"'            >> version-info.hT
>echo '#define VER_THREAD_SYSTEM "unix-jthreads"'     >> version-info.hT
>mv version-info.hT version-info.h
>if gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include  -I../kaffevm -I./../kaffevm -I../../libltdl -I../../kaffe/xprof -DKVER='"1.1.0"' -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm -I/home/jin/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../config -I../../include  -DNDEBUG  -g -O2 -Wall -Wstrict-prototypes -MT version.o -MD -MP -MF ".deps/version.Tpo" \
>  -c -o version.o `test -f 'version.c' || echo './'`version.c; \
>then mv -f ".deps/version.Tpo" ".deps/version.Po"; \
>else rm -f ".deps/version.Tpo"; exit 1; \
>fi
>/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes   -o kaffe-bin  -export-dynamic main.o version.o -dlopen ../../libraries/clib/native/libnative.la -dlopen ../../libraries/clib/net/libnet.la -dlopen ../../libraries/clib/io/libio.la -dlopen ../../libraries/clib/zip/libzip.la -dlopen ../../libraries/clib/math/libmath.la -dlopen ../../libraries/clib/management/libmanagement.la -dlopen ../../libraries/clib/security/libsecurity.la -dlopen ../../libraries/clib/awt/X/libawt.la ../kaffevm/libkaffevm.la   ../../libltdl/libltdlc.la
>rm -f .libs/kaffe-bin.nm .libs/kaffe-bin.nmS .libs/kaffe-bin.nmT
>creating .libs/kaffe-binS.c
>(cd .libs && gcc -c -fno-builtin "kaffe-binS.c")
>rm -f .libs/kaffe-binS.c .libs/kaffe-bin.nm .libs/kaffe-bin.nmS .libs/kaffe-bin.nmT
>gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/kaffe-bin main.o version.o .libs/kaffe-binS.o -Wl,--export-dynamic  ../kaffevm/.libs/libkaffevm.so -lm ../../libltdl/.libs/libltdlc.a -ldl -Wl,--rpath -Wl,/usr/local/kaffe/jre/lib/i386
>../kaffevm/.libs/libkaffevm.so: undefined reference to `maxStack'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `return_float'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `i386_do_fixup_trampoline'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `maxLocal'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `return_ref'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `_start_sub_block'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_ref'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `globalMethod'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_long'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `return_long'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `isStatic'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `finishInsnSequence'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_float'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_int'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `_start_basic_block'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `epilogue'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `end_func_sync'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `begin_func_sync'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_float'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `tempinfo'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `translate'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `prologue'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `maxArgs'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `translatorlock'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `installMethodCode'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `_end_sub_block'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `mon_enter'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `return_double'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_double'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `return_int'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_long'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `mon_exit'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `maxTemp'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `popargs'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `localinfo'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `tmpslot'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_int'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `initInsnSequence'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_ref_const'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `call_soft'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_double'
>../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_ref'
>collect2: ld returned 1 exit status
>make[2]: *** [kaffe-bin] Error 1
>make[2]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe/kaffe'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/jin/kaffe-1.1.0/kaffe'
>make: *** [all-recursive] Error 1
>================================================================
>when i deleted the '--with-engine=intrp' parameter ,i have been succeced in making.
>
>i am appreciate any help from you,and please reply me as soon as possible
>
>best regards
>Jin leon
>
>==============================================
>安全稳定大容量,大附件收发, 全国最大的免费邮箱@126.com!
>马上到http://www.126.com申请260M免费大容量邮箱!
>提供新邮件到达手机短信提醒功能, 随时掌握邮件信息!
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>kaffe mailing list
>kaffe at kaffe.org
>http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>  
>





More information about the kaffe mailing list