problems installing kaffe-1.0.6

v6 v6 at reactor-core.org
Wed Jul 4 22:19:01 PDT 2001



Hi,

I am trying to build kaffe-1.0.6 on OpenBSD 2.8-current, and it's not
working out. Can you help me figure out how?


gcc --version is  2.95.3


I ran:

	$ ./configure --prefix=~/local/kaffe

then:

	$ make

Here's a tail of the make log:


*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
rm -fr .libs/libkaffexprof.lax
mkdir .libs/libkaffexprof.lax
rm -fr .libs/libkaffexprof.lax/libltdlc.al
mkdir .libs/libkaffexprof.lax/libltdlc.al
(cd .libs/libkaffexprof.lax/libltdlc.al && ar x /usr/home/v6/src/kaffe-1.0.6/kaffe/xprof/../../libltdl/.libs/libltdlc.al)
/usr/bin/ld -Bshareable -o .libs/libkaffexprof-1.0.6.so.0.0  callGraph.lo debugFile.lo feedback.lo fileSections.lo gmonFile.lo mangle.lo memorySamples.lo se
ctionFile.lo xprofiler.lo .libs/libkaffexprof.lax/libltdlc.al/ltdl.lo
(cd .libs && rm -f libkaffexprof.so.0.0 && ln -s libkaffexprof-1.0.6.so.0.0 libkaffexprof.so.0.0)
rm -fr .libs/libkaffexprof.lax
creating libkaffexprof.la
(cd .libs && rm -f libkaffexprof.la && ln -s ../libkaffexprof.la libkaffexprof.la)
Making all in kaffe
source='main.c' object='main.o' libtool=no  depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo'  depmode=gcc /bin/sh ../../depcomp  gcc -DHAVE_CONFIG_H -I.
-I. -I../../config -I../../include -I../kaffevm -I./../kaffevm -I../../libltdl  -I../../kaffe/xprof  -DKVER='"1.0.6"' -I/usr/home/v6/src/kaffe-1.0.6/./kaffe
/kaffevm -I/usr/home/v6/src/kaffe-1.0.6/./kaffe/kaffevm/systems/unix-jthreads -I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall -Wstrict-pr
ototypes -c -o main.o main.c
main.c:42: warning: `java_version' defined but not used
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     "-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/extensions/microsoft/clib/libmicrosoft.la ../kaffevm/libkaffevm.la ../xprof/libk
affexprof.la ""-L/usr/local/lib   -R/usr/local/lib"'      >> version-info.hT
echo '#define VER_CFLAGS        """-g -O2 -Wall -Wstrict-prototypes"'      >> version-info.hT
echo '#define VER_CPPFLAGS      """-DKVER='"1.0.6"' -I/usr/home/v6/src/kaffe-1.0.6/./kaffe/kaffevm -I/usr/home/v6/src/kaffe-1.0.6/./kaffe/kaffevm/systems/un
ix-jthreads -I../../config -I../../include  -I/usr/local/include"'  >> version-info.hT
echo '#define VER_LDFLAGS       "-export-dynamic"'            >> version-info.hT
echo '#define VER_DEFS          "-DHAVE_CONFIG_H -I. -I. -I../../config -I../../include"'              >> version-info.hT
echo '#define VER_PREFIX        "/usr/home/v6/local/"'            >> version-info.hT
echo '#define VER_THREAD_SYSTEM "unix-jthreads"'     >> version-info.hT
mv version-info.hT version-info.h
source='version.c' object='version.o' libtool=no  depfile='.deps/version.Po' tmpdepfile='.deps/version.TPo'  depmode=gcc /bin/sh ../../depcomp  gcc -DHAVE_C
ONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm -I./../kaffevm -I../../libltdl  -I../../kaffe/xprof  -DKVER='"1.0.6"' -I/usr/home/v6/src/kaffe-1
.0.6/./kaffe/kaffevm -I/usr/home/v6/src/kaffe-1.0.6/./kaffe/kaffevm/systems/unix-jthreads -I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall
 -Wstrict-prototypes -c -o version.o version.c
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes   -o Kaffe -export-dynamic main.o version.o -dlopen ../../libraries/clib/native/libn
ative.la -dlopen ../../libraries/clib/net/libnet.la -dlopen ../../libraries/clib/io/libio.la -dlopen ../../libraries/clib/zip/libzip.la -dlopen ../../librar
ies/clib/math/libmath.la -dlopen ../../libraries/clib/management/libmanagement.la -dlopen ../../libraries/clib/security/libsecurity.la -dlopen ../../librari
es/extensions/microsoft/clib/libmicrosoft.la ../kaffevm/libkaffevm.la ../xprof/libkaffexprof.la  -L/usr/local/lib   -R/usr/local/lib
rm -f .libs/Kaffe.nm .libs/Kaffe.nmS .libs/Kaffe.nmT
creating .libs/KaffeS.c
extracting global C symbols from `../../libraries/clib/native/.libs/libnative.a'
extracting global C symbols from `../../libraries/clib/zip/.libs/libzip.a'
extracting global C symbols from `../../libraries/clib/math/.libs/libmath.a'
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "KaffeS.c")
rm -f .libs/KaffeS.c .libs/Kaffe.nm .libs/Kaffe.nmS .libs/Kaffe.nmT
gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/Kaffe main.o version.o .libs/KaffeS.o  -lgmp -L/usr/local/lib ../../libraries/clib/math/.libs/libmath.a -lz ..
/../libraries/clib/zip/.libs/libzip.a ../../libraries/clib/native/.libs/libnative.a -L../kaffevm/.libs -lkaffevm -L../xprof/.libs -lkaffexprof -lm -R/usr/ho
me/v6/local//lib -R/usr/local/lib
BigInteger.c:47: Undefined symbol `_mp_set_memory_functions' referenced from text segment
BigInteger.c:56: Undefined symbol `_mpz_init' referenced from text segment
BigInteger.c:68: Undefined symbol `_mpz_clear' referenced from text segment
BigInteger.c:89: Undefined symbol `_mpz_set_ui' referenced from text segment
BigInteger.c:90: Undefined symbol `_mpz_mul_2exp' referenced from text segment
BigInteger.c:91: Undefined symbol `_mpz_add_ui' referenced from text segment
BigInteger.c:93: Undefined symbol `_mpz_neg' referenced from text segment
BigInteger.c:112: Undefined symbol `_mpz_set_ui' referenced from text segment
BigInteger.c:114: Undefined symbol `_mpz_mul_ui' referenced from text segment
BigInteger.c:115: Undefined symbol `_mpz_add_ui' referenced from text segment
BigInteger.c:121: Undefined symbol `_mpz_neg' referenced from text segment
BigInteger.c:135: Undefined symbol `_mpz_set_str' referenced from text segment
BigInteger.c:156: Undefined symbol `_mpz_add' referenced from text segment
BigInteger.c:170: Undefined symbol `_mpz_sub' referenced from text segment
BigInteger.c:184: Undefined symbol `_mpz_mul' referenced from text segment
BigInteger.c:198: Undefined symbol `_mpz_tdiv_q' referenced from text segment
BigInteger.c:212: Undefined symbol `_mpz_tdiv_r' referenced from text segment
BigInteger.c:228: Undefined symbol `_mpz_tdiv_qr' referenced from text segment
BigInteger.c:240: Undefined symbol `_mpz_abs' referenced from text segment
BigInteger.c:252: Undefined symbol `_mpz_neg' referenced from text segment
BigInteger.c:264: Undefined symbol `_mpz_pow_ui' referenced from text segment
BigInteger.c:278: Undefined symbol `_mpz_gcd' referenced from text segment
BigInteger.c:292: Undefined symbol `_mpz_mod' referenced from text segment
BigInteger.c:315: Undefined symbol `_mpz_init' referenced from text segment
BigInteger.c:316: Undefined symbol `_mpz_neg' referenced from text segment
BigInteger.c:317: Undefined symbol `_mpz_powm' referenced from text segment
BigInteger.c:318: Undefined symbol `_mpz_invert' referenced from text segment
BigInteger.c:319: Undefined symbol `_mpz_clear' referenced from text segment
BigInteger.c:326: Undefined symbol `_mpz_add' referenced from text segment
BigInteger.c:329: Undefined symbol `_mpz_powm' referenced from text segment
BigInteger.c:356: Undefined symbol `_mpz_invert' referenced from text segment
BigInteger.c:364: Undefined symbol `_mpz_add' referenced from text segment
BigInteger.c:378: Undefined symbol `_mpz_and' referenced from text segment
BigInteger.c:392: Undefined symbol `_mpz_ior' referenced from text segment
BigInteger.c:407: Undefined symbol `_mpz_init' referenced from text segment
BigInteger.c:408: Undefined symbol `_mpz_and' referenced from text segment
BigInteger.c:409: Undefined symbol `_mpz_com' referenced from text segment
BigInteger.c:410: Undefined symbol `_mpz_ior' referenced from text segment
BigInteger.c:411: Undefined symbol `_mpz_and' referenced from text segment
BigInteger.c:413: Undefined symbol `_mpz_clear' referenced from text segment
BigInteger.c:425: Undefined symbol `_mpz_com' referenced from text segment
BigInteger.c:437: Undefined symbol `_mpz_set' referenced from text segment
BigInteger.c:438: Undefined symbol `_mpz_setbit' referenced from text segment
BigInteger.c:450: Undefined symbol `_mpz_set' referenced from text segment
BigInteger.c:451: Undefined symbol `_mpz_clrbit' referenced from text segment
BigInteger.c:461: Undefined symbol `_mpz_scan1' referenced from text segment
BigInteger.c:474: Undefined symbol `_mpz_cmp' referenced from text segment
BigInteger.c:486: Undefined symbol `_mpz_get_str' referenced from text segment
BigInteger.c:500: Undefined symbol `_mpz_get_d' referenced from text segment
BigInteger.c:511: Undefined symbol `_mpz_get_si' referenced from text segment
BigInteger.c:521: Undefined symbol `_mpz_probab_prime_p' referenced from text segment
BigInteger.c:531: Undefined symbol `_mpz_sizeinbase' referenced from text segment
BigInteger.c:542: Undefined symbol `_mpz_hamdist' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/home/v6/src/kaffe-1.0.6/kaffe/kaffe (line 245 of Makefile).
*** Error code 1

Stop in /usr/home/v6/src/kaffe-1.0.6/kaffe (line 185 of Makefile).
*** Error code 1

Stop in /usr/home/v6/src/kaffe-1.0.6 (line 252 of Makefile).







More information about the kaffe mailing list