[kaffe] Cygwin Build Error--kaffe 1.1.5--/kaffevm/jit/methodcalls.c:162
4C/Gilbert T. Williams
bert at gtw4c.com
Sat Sep 10 09:47:05 PDT 2005
Greetings:
Someone who has built kaffe 1.1.5 on cygwin may be able to help me.
TIA!
I am evaluating Kaffe for use on an embedded platform. As a starting
point, I would like to get a clean build from source
on my cygwin installation using:
1. Windows XP (Home Edition Service Pack 2)
2. CYGWIN_NT-5.1
3. gcc 3.4.4 (cygming special)
4. jikes 1.22 - built using the gcc 3.4.4, so it appears that the
overall build environment is OK.
5. gnu ld 2.16.91
6. I have Visual C++.NET installed on this machine. I remove the
"INCLUDE" and "LIB" paths from the environment before
attempting a build.
Here is the bash file (bk.sh) I am using to do the extraction/build (I
get a similar error without the staticlib/staticbin
flags set),
using the command "./bk.sh 1>> bk.log 2>> bkerr.log" in a cygwin bash
shell terminal window:
#!/usr/bin/bash
unset INCLUDE
unset LIB
rm -rf kaffe-1.1.5
tar -xf kaffe-1.1.5.tar
cd kaffe-1.1.5
./configure --with-staticlib --with-staticbin
make
make test
I get the following build error (a lot of builds succeed before this
directory):
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
main.c: In function `main':
main.c:180: warning: passing arg 2 of `JNI_CreateJavaVM' from
incompatible pointer type
main.c: At top level:
main.c:401: warning: 'setKaffeAWT' defined but not used
/cygdrive/c/swtemp/kaffe-1.1.5/kaffe/kaffevm/.libs/libkaffevm.a(methodca
lls.o): In function `engine_buildTrampoline':
/cygdrive/c/swtemp/kaffe-1.1.5/kaffe/kaffevm/jit/methodcalls.c:162:
undefined reference to `_i386_do_fixup_trampoline'
Info: resolving _h_errno by linking to __imp__h_errno (auto-import)
collect2: ld returned 1 exit status
make[2]: *** [kaffe-bin.exe] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Gilbert T. Williams
bert at gtw4c.com
For product development expertise click --> www.gtw4c.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20050910/16ec590a/attachment-0005.htm
More information about the kaffe
mailing list