[kaffe] Build Error

Dalibor Topic robilad at kaffe.org
Tue Mar 30 05:11:02 PST 2004


Hi Guilin,

Guilin Chen wrote:
> 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

Thanks for the quick bug report. It was a bad addition of a static 
modifer to a function that isn't statically scoped which lead to the 
above error on interpreter builds. Fixed in the CVS now.

cheers,
dalibor topic




More information about the kaffe mailing list