[Kaffe] build problem with kaffe from CVS

Moses DeJong dejong at cs.umn.edu
Tue Nov 2 09:14:03 PST 1999

Hi all.

I checked out the cvs from today Tue Nov 2 and tried to build
but I got an error.

I configured like this.

% ../configure --prefix=`cd ../install; pwd` --enable-debug

While building I got this error.

/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes
-o Kaf
fe -export-dynamic main.o -dlopen ../../libraries/clib/native/libnative.la
en ../../libraries/clib/net/libnet.la -dlopen
../../libraries/clib/io/libio.la -
dlopen ../../libraries/clib/zip/libzip.la -dlopen
ath.la -dlopen ../../libraries/clib/management/libmanagement.la -dlopen
braries/clib/security/libsecurity.la -dlopen
t/clib/libmicrosoft.la -dlopen ../../libraries/clib/awt/X/libawt.la
ibkaffevm.la  -L/usr/local/lib   -R/usr/local/lib
mkdir .libs
rm -f .libs/Kaffe.nm .libs/Kaffe.nmS .libs/Kaffe.nmT
creating .libs/KaffeS.c
(cd .libs && gcc -c -fno-builtin "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 .libs/KaffeS.o
-lm -L
/usr/local/lib -lz -lz -lm -ljpeg -lpng -lz -lz -lm -L/usr/X11R6/lib
-lXext -lSM
 -lICE -lX11 ../kaffevm/.libs/libkaffevm.so -ldl -lm -L/usr/local/lib
rt-dynamic -Wl,--rpath -Wl,/usr/local/project/kaffe/install/lib
-Wl,--rpath -Wl,
/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib
../kaffevm/.libs/libkaffevm.so: undefined reference to
make[2]: *** [Kaffe] Error 1
make[2]: Leaving directory `/usr/local/project/kaffe/build/kaffe/kaffe'
make[1]: *** [all-recursive] Error 1

Any ideas?

There seems to be an entry in ChangeLog.1 line 2098 related to this.

/usr/local/project/kaffe/ChangeLog.1:2098:      * kaffevm/jit/icode.c
(softcall_lookupmethod):  Now that a method*.

Mo DeJong

More information about the kaffe mailing list