[kaffe] _dbgGetMask issue when cross-compiling

Dario Laverde dario at nycjava.net
Thu Nov 15 15:28:34 PST 2007


How do I debug the following calling convention issue when cross-compiling:

Making all in kaffe/kaffeh
make[1]: Entering directory `/home/dario/kaffe-1.1.8/kaffe/kaffeh'
/bin/sh ../../libtool --tag=CC   --mode=link /usr/local/bin/arm-apple-darwin-gcc
-Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char
-fno-omit-frame-pointer   -g -O2   -o kaffeh main.o mem.o sigs.o support.o
constants.o debug.o file.o jar.o readClass.o utf8const.o binreloc.o  -lz
/usr/local/bin/arm-apple-darwin-gcc -Wall -W -Wextra -fno-strict-aliasing
-fno-omit-frame-pointer -fsigned-char -fno-omit-frame-pointer -g -O2 -o kaffeh
main.o mem.o sigs.o support.o constants.o debug.o file.o jar.o readClass.o
utf8const.o binreloc.o  -lz
/usr/local/bin/arm-apple-darwin-ld: Undefined symbols:
_dbgGetMask
collect2: ld returned 1 exit status
make[1]: *** [kaffeh] Error 1
make[1]: Leaving directory `/home/dario/kaffe-1.1.8/kaffe/kaffeh'

I can bypass with --disable-vmdebug but I really need to -vmdebug to figure out why
jni is failing at runtime.

thanks,
Dario






More information about the kaffe mailing list