WIN-NT install probs.

Kumanan Yogaratnam kumanan at
Sat Aug 15 14:49:51 PDT 1998


i've followed Pavel Roskin's guide to installing and have hit a
standstill as shown below.  (sorry about the awful word wrap).

i've tried both with 'intrp' and 'jit'.  what i can deduce is that
various structs defined in *.h files in kaffe/kaffevm are not being
extern'd properly in the .a files.  i'm not completely initiated in the
intricacies of 'ar' so i could be wrong and it could be a compiler issue
or something very obvious.

am using cybnus 19 with the 19.1 cygwin32.dll.

any help would be appreciated.



--------------------- see snip of make run where i am stuck.
--- note: from the top i've snipped out success
---       from the bottom i've snipped out similar errors (lots)

-I../../config -I../../include -I./../../include -DTRANSLATOR -I./jit
.00\"  -c  ./jit/machine.c -o machine.o
-I../../config -I../../include -I./../../include -DTRANSLATOR -I./jit
.00\"  -c  ./jit/seq.c -o seq.o
dlltool --def ./libkaffevm.def --output-exp lib.exp --output-lib
libkaffevm.a --
dllname libkaffevm.a
touch lib.exp
ar cr libkaffevm.a.1.00 code.o lookup.o external.o constants.o
classMethod.o rea
dClass.o findInJar.o baseClasses.o object.o itypes.o gc.o gc-mem.o
thread.o lock
s.o support.o soft.o string.o verify.o code-analyse.o exception.o
stackTrace.o j
ar.o inflate.o debug.o jni.o md.o  basecode.o constpool.o funcs.o
icode.o labels
.o registers.o slots.o machine.o seq.o
ranlib libkaffevm.a.1.00
rm -f libkaffevm.a
cp libkaffevm.a.1.00 libkaffevm.a
gcc -g -O2  -I. -I./../kaffevm -I../../config -I./../../config
-I../../include -
I./../../include  -c main.c
gcc -g -O2  -I. -I./../kaffevm -I../../config -I./../../config
-I../../include -
I./../../include   -o Kaffe.exe main.o ../kaffevm/libkaffevm.a 
clib/native/libnative.a ../../libraries/clib/net/libnet.a
ip/libzip.a ../../libraries/clib/math/libmath.a
libmanagement.a  -lm
../kaffevm/libkaffevm.a(jni.o): In function `Kaffe_DetachCurrentThread':
//e/kaffe/kaffe-1.0.b1/kaffe/kaffevm/jni.c:3410: undefined reference to
../kaffevm/libkaffevm.a(baseClasses.o): In function `initialiseKaffe':
//e/kaffe/kaffe-1.0.b1/kaffe/kaffevm/baseClasses.c:99: undefined
reference to `K
../kaffevm/libkaffevm.a(thread.o): In function `startThread':
//e/kaffe/kaffe-1.0.b1/kaffe/kaffevm/thread.c:99: undefined reference to


More information about the kaffe mailing list