[kaffe] Build Error

Guilin Chen guc111@psu.edu
Mon Mar 29 16:22:02 2004


I tried to build the latest CVS version under RedHat9.0. I got the 
following error at the end:

% ./configure --with-engine=intrp 
--prefix=/home/prideth/guilchen/linux/kaffeinstall
% gmake
...
gcc -g -O2 -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn 
-Wmissing-format-attribute -Wpacked -Wpadded -Wredundant-decls 
-Wnested-externs -Wunreachable-code -Winline -Wlong-long 
-Wdisabled-optimization -o .libs/kaffe-bin main.o version.o 
.libs/kaffe-binS.o -Wl,--export-dynamic  ../kaffevm/.libs/libkaffevm.so 
-lm ../../replace/.libs/libreplace.so ../../libltdl/.libs/libltdlc.a 
-ldl -Wl,--rpath -Wl,/home/prideth/guilchen/linux/kaffeinstall/jre/lib/i386
../kaffevm/.libs/libkaffevm.so: undefined reference to `Kaffe_KNI_wrapper'
collect2: ld returned 1 exit status
gmake[2]: *** [kaffe-bin] Error 1
gmake[2]: Leaving directory `/home/prideth/guilchen/linux/kaffe/kaffe/kaffe'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/prideth/guilchen/linux/kaffe/kaffe'
gmake: *** [all-recursive] Error 1


Any suggestions?

Regards,
Guilin