[kaffe] undefined references in kaffeh
Andrea Scian
andrea.scian at katamail.com
Fri Jul 4 00:45:01 PDT 2003
Hi all,
I began working with kaffe 1.0.6 a few months ago but now I got a problem with the new release I cannot solve... while building Kaffe 1.1.0 on my x86-CygWin system I get this message:
.
.
.
make[3]: Entering directory `/Progetti/Java/kaffe-1.1.0/kaffe/kaffeh'
/bin/bash ../../libtool --mode=link gcc -g -O2 -Wall -Wstrict-prototypes -o kaffeh.exe sigs.o support.o main.o mem.o inflate.o jar.o utf8const.o readClass.o constants.o debug.o -liconv
gcc -g -O2 -Wall -Wstrict-prototypes -o kaffeh.exe sigs.o support.o main.o mem.o inflate.o jar.o utf8const.o readClass.o constants.o debug.o /usr/lib/libiconv.dll.a
constants.o(.text+0x9e4): In function `jthread_current':
/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:193: undefined reference to `_currentJThread'
constants.o(.text+0xa4b): In function `jthread_on_current_stack':
/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:227: undefined reference to `_currentJThread'
constants.o(.text+0xaeb): In function `jthread_relaxstack':
/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:271: undefined reference to `_currentJThread'
constants.o(.text+0xb01):/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:283: undefined reference to `_currentJThread'
constants.o(.text+0xb12): In function `jthread_stacklimit':
/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:298: undefined reference to `_currentJThread'
constants.o(.text+0xb45): In function `jthread_spinon':
/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:378: undefined reference to `_jthread_suspendall'
constants.o(.text+0xb55): In function `jthread_spinoff':
/Progetti/Java/kaffe-1.1.0/kaffe/kaffevm/systems/unix-jthreads/jthread.h:385: undefined reference to `_jthread_unsuspendall'
collect2: ld returned 1 exit status
make[3]: *** [kaffeh.exe] Error 1
make[3]: Leaving directory `/Progetti/Java/kaffe-1.1.0/kaffe/kaffeh'
make[2]: *** [stamp-kaffeh] Error 2
make[2]: Leaving directory `/Progetti/Java/kaffe-1.1.0/include'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/Progetti/Java/kaffe-1.1.0/include'
make: *** [all-recursive] Error 1
Attached you can find the configure.log and the full make messages...
It seems it cannot solve the _currentJThread symbols and the others defined under unix-jthread directory while linking kaffeh...
Before running make I just call ./configure with no parameters (I will change them later to fit my needs...)
Can someone please help me??
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.tar.gz
Type: application/octet-stream
Size: 43799 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030704/163d7454/attachment-0002.obj
More information about the kaffe
mailing list