<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear Sir,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I tried to build Kaffe-1.0.6 on WINNT
4.0.</FONT></DIV>
<DIV><FONT face=Arial size=2>According to the instruction, I installed CYGWIN
firstly, and then ran configure for kaffe. So far, it</FONT></DIV>
<DIV><FONT face=Arial size=2>worked well. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But when I </FONT><FONT face=Arial size=2>tried to
compile the source codes using command "make", it invokes a lot
</FONT><FONT face=Arial size=2>of errores which</FONT></DIV>
<DIV><FONT face=Arial size=2>were caused by the absent header file
"windows.h". </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, I added a line in config-std.h to </FONT><FONT
face=Arial size=2>include "windows.h" </FONT><FONT face=Arial size=2>and
re-compiled the codes. Well, this time, it </FONT></DIV>
<DIV><FONT face=Arial size=2>could compile most of modulars but </FONT><FONT
face=Arial size=2>still failed at the directory Kaffe-1.0.6\kaffe\kaffe which
would build </FONT></DIV>
<DIV><FONT face=Arial size=2>kaffe.exe. The failure was caused </FONT><FONT
face=Arial size=2>by "undefined reference" to those function defined in
"zlib.h".</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The error message looked as:</FONT></DIV>
<DIV><FONT face=Arial size=2>"gcc -g -O2 -Wall -Wstrict-prototypes -o Kaffe.exe
main.o version.o .libs/Kaffe.e<BR>xeS.o -Wl,--export-dynamic
-L/usr/local/lib
../../libraries/extensions/microsof<BR>t/clib/.libs/libmicrosoft.a
../../libraries/clib/security/.libs/libsecurity.a
..<BR>/../libraries/clib/management/.libs/libmanagement.a
../../libraries/clib/math/.l<BR>ibs/libmath.a -lz
../../libraries/clib/zip/.libs/libzip.a
../../libraries/clib/i<BR>o/.libs/libio.a
../../libraries/clib/net/.libs/libnet.a
../../libraries/clib/nat<BR>ive/.libs/libnative.a ../kaffevm/.libs/libkaffevm.a
../xprof/.libs/libkaffexprof<BR>.a -Wl,--rpath
-Wl,/usr/local/lib<BR>../../libraries/clib/zip/.libs/libzip.a(Adler32.o): In
function `java_util_zip_A<BR>dler32_update':<BR><A
href="file://f/temp/kaffe-1.0.6/libraries/clib/zip/Adler32.c:24:">file://f/temp/kaffe-1.0.6/libraries/clib/zip/Adler32.c:24:</A>
undefined reference to
`ad<BR>ler32'<BR>../../libraries/clib/zip/.libs/libzip.a(Adler32.o): In function
`java_util_zip_A<BR>dler32_update1':<BR><A
href="file://f/temp/kaffe-1.0.6/libraries/clib/zip/Adler32.c:33:">file://f/temp/kaffe-1.0.6/libraries/clib/zip/Adler32.c:33:</A>
undefined reference to `ad<BR>ler32'"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Would you mind telling what can be done to fix such
a problem?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks a lot.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>congchun</FONT></DIV></BODY></HTML>