WinNT install issues.

Kumanan Yogaratnam kumanan at espial-group.com
Sat Aug 15 15:42:14 PDT 1998


hi,

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 cygnus 19 with the 19.1 cygwin32.dll.

any help would be appreciated.

thanks.

kumanan

--------------------- 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)
---------------------------
...

gcc -g -O2 -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config
-I../../config -I../../include -I./../../include -DTRANSLATOR
-I./jit
-DKVER=\"1
.00\"  -c  ./jit/machine.c -o machine.o
gcc -g -O2 -DNO_SHARED_LIBRARIES -DNO_SHARED_VMLIBRARY -I. -I.
-I./../../config
-I../../config -I../../include -I./../../include -DTRANSLATOR
-I./jit
-DKVER=\"1
.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 
../../libraries/
clib/native/libnative.a ../../libraries/clib/net/libnet.a
../../libraries/clib/z
ip/libzip.a ../../libraries/clib/math/libmath.a
../../libraries/clib/management/
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
`Kaffe_T
hreadInterface'
../kaffevm/libkaffevm.a(baseClasses.o): In function
`initialiseKaffe':
//e/kaffe/kaffe-1.0.b1/kaffe/kaffevm/baseClasses.c:99: undefined
reference to `K
affe_ThreadInterface'
../kaffevm/libkaffevm.a(thread.o): In function `startThread':
//e/kaffe/kaffe-1.0.b1/kaffe/kaffevm/thread.c:99: undefined
reference to
`Kaffe_
ThreadInterface'

...


More information about the kaffe mailing list