Subject: ld problem?
To: None <current-users@NetBSD.ORG>
From: Simon J. Gerraty <sjg@quick.com.au>
List: current-users
Date: 08/02/1997 19:30:20
In the past I've built kaffe 0.{5,6,9} with no problems.
I'm currently trying to build 0.8.4 so that I can compile some
applets...

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@zen.quick.com.au:/usr/src/sys/arch/i386/compile/ZEN i386

anyone built this ok?