problem linking kaffe-0.8.4

Simon J. Gerraty sjg at quick.com.au
Sat Aug 2 02:33:52 PDT 1997


In the past I've built kaffe 0.{5,6,9} with no problems.
0.9.1 was built on the same machine which is having problems with
0.8.4

I'm currently trying to build 0.8.4 so that I can compile some
applets... 0.9.1 with the jdk1.0.2 classes and javac gets a 
java.lang.NoSuchMethodError

I get the following error:
:
:
gcc -g -O  -I. -I/u0/share/src/kaffe-0.8.4/kaffe/kaffe/../kaffevm -I../../config -I/u0/share/src/kaffe-0.8.4/kaffe/kaffe/../../config -I../../include -c /u0/share/src/kaffe-0.8.4/kaffe/kaffe/main.c
gcc -g -O  -I. -I/u0/share/src/kaffe-0.8.4/kaffe/kaffe/../kaffevm -I../../config -I/u0/share/src/kaffe-0.8.4/kaffe/kaffe/../../config -I../../include -o kaffe main.o -L../kaffevm -lkaffe_vm 
/u0/share/src/kaffe-0.8.4/kaffe/kaffe/main.c:150: Undefined symbol `_gcHeapsize' referenced from text segment
/u0/share/src/kaffe-0.8.4/kaffe/kaffe/main.c:222: Undefined symbol `_gcHeapsize' referenced from text segment

but nm shows:

sjg:32$ nm main.o | grep _gcHeapsize
         U _gcHeapsize
sjg:33$ nm ../kaffevm/libkaffe_vm.so | grep _gcHeapsize
00025dec D _gcHeapsize

This is on 

NetBSD zen.quick.com.au 1.2G NetBSD 1.2G (ZEN) #2: Mon Jul 14 00:52:17 EST 1997     root at zen.quick.com.au:/usr/src/sys/arch/i386/compile/ZEN i386

I'm sure others have built this... any pointers appreciated.

--sjg





More information about the kaffe mailing list