Hi all,<br><br>I am new to kaffe, so excuse me if my question is too simple or already had been answered. I tried to search a similar problem in the mail-archives, but found nothing.<br><br>I am trying to compile Kaffe(release
kaffe-1.1.8) under Cygwin(CYGWIN_NT-5.1 1.5.22(0.156/4/2) 2006-11-13 17:01 i686 Cygwin) on MS Windows XP. <br>The C compiler I use is gcc version 3.4.4.<br>The linker is LD: GNU ld version 2.17.50 20060817<br>The make tool is: GNU Make
3.81<br><br>I want a very basic support with no gui or sound support for sure, so I tried to remove everything that seemed unneeded. In result my configure flags are:<br>$ ./../kaffe-1.1.8/configure --without-alsa --without-x --without-esd --disable-sound --disable-xawt-xi18n --disable-gtk-peer --disable-native-awt --disable-gconf-peer --with-engine=intrp --host=i386-cygwin32 --build=i386-cygwin32
<br><br><br><br>First I had several problems with IPV6 support functions/structures, it seems that flag USE_IPV6 were not set when compiling some part of the source, but was needed to include needed structures/functions from header files. I fixed this easily by adding some ifdefs in the source, since I did not care about IPV6 support.
<br><br>Current problem I have that I cannot resolve almost two days now is as follows. During linking of libkaffevm I get the following errors:<br>=============================<br>/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -g -O2 -module -no-undefined -export-dynamic -release
1.1.8 -o <a href="http://libkaffevm.la">libkaffevm.la</a> -rpath /usr/local/kaffe/jre/lib/i386 libkaffevm_la-InetAddressImpl.lo libkaffevm_la-AccessController.lo libkaffevm_la-java_lang_ref_Reference.lo libkaffevm_la-java_lang_reflect_VMArray.lo libkaffevm_la-
Constructor.lo libkaffevm_la-Field.lo libkaffevm_la-Method.lo libkaffevm_la-TimeZone.lo libkaffevm_la-Class.lo libkaffevm_la-ClassLoader.lo libkaffevm_la-java_lang_Object.lo libkaffevm_la-Runtime.lo libkaffevm_la-VMRuntime.lo
libkaffevm_la-java_lang_String.lo libkaffevm_la-System.lo libkaffevm_la-java_lang_Thread.lo libkaffevm_la-Throwable.lo libkaffevm_la-gnu_classpath_VMStackWalker.lo libkaffevm_la-gnu_classpath_VMSystemProperties.lo<br>rm -fr .libs/libkaffevm.dll.a
<br>gcc -shared .libs/libkaffevm_la-InetAddressImpl.o .libs/libkaffevm_la-AccessController.o .libs/libkaffevm_la-java_lang_ref_Reference.o .libs/libkaffevm_la-java_lang_reflect_VMArray.o .libs/libkaffevm_la-Constructor.o
.libs/libkaffevm_la-Field.o .libs/libkaffevm_la-Method.o .libs/libkaffevm_la-TimeZone.o .libs/libkaffevm_la-Class.o .libs/libkaffevm_la-ClassLoader.o .libs/libkaffevm_la-java_lang_Object.o .libs/libkaffevm_la-Runtime.o .libs/libkaffevm_la-
VMRuntime.o .libs/libkaffevm_la-java_lang_String.o .libs/libkaffevm_la-System.o .libs/libkaffevm_la-java_lang_Thread.o .libs/libkaffevm_la-Throwable.o .libs/libkaffevm_la-gnu_classpath_VMStackWalker.o .libs/libkaffevm_la-gnu_classpath_VMSystemProperties.o -o .libs/cygkaffevm-
1-1-8.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libkaffevm.dll.a<br>.libs/libkaffevm_la-InetAddressImpl.o: In function `gnu_java_net_SysInetAddressImpl_getHostByName':<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-
1.1.8/libraries/clib/net/InetAddressImpl.c:240: undefined reference to `_stringJava2CBuf'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:241: undefined reference to `_Kaffe_SystemCallInterface'
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:247: undefined reference to `_ObjectClass'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:247: undefined reference to `_newArrayChecked'
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:261: undefined reference to `_types'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:261: undefined reference to `_newArrayChecked'
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:288: undefined reference to `_postExceptionMessage'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8
/libraries/clib/net/InetAddressImpl.c:298: undefined reference to `_throwError'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:266: undefined reference to `_postOutOfMemory'
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:252: undefined reference to `_postOutOfMemory'<br>.libs/libkaffevm_la-InetAddressImpl.o: In function `gnu_java_net_SysInetAddressImpl_getHostByAddr':
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:466: undefined reference to `_postExceptionMessage'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8
/libraries/clib/net/InetAddressImpl.c:502: undefined reference to `_locks_internal_unlockMutex'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:502: undefined reference to `_jthread_enable_stop'
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:472: undefined reference to `_jthread_disable_stop'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8
/libraries/clib/net/InetAddressImpl.c:472: undefined reference to `_locks_internal_lockMutex'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:473: undefined reference to `_Kaffe_SystemCallInterface'
<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:491: undefined reference to `_postExceptionMessage'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8
/libraries/clib/net/InetAddressImpl.c:480: undefined reference to `_stringC2Java'<br>/e/Tornado2.2/kaffehost/kaffe/kaffevm/../.././../kaffe-1.1.8/libraries/clib/net/InetAddressImpl.c:505: undefined reference to `_throwError'
<br>.libs/libkaffevm_la-InetAddressImpl.o: In function `gnu_java_net_SysInetAddressImpl_getHostByAddr':<br>... (There is a lot more but I decided not to included all in the body of the mail, the whole log is in the attachment)
<br>=================================<br><br>Please advise what might be causing the problem.<br>-- <br><br>Best regards,<br> yavor mailto:<a href="mailto:yavor.g.georgiev@gmail.com">yavor.g.georgiev@gmail.com
</a>