<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=870044023-27062001><FONT face=굴림 color=#0000ff size=2>In
My case, My host machine is Linux.</FONT></SPAN></DIV>
<DIV><SPAN class=870044023-27062001><FONT face=굴림 color=#0000ff size=2>And In
this case(<FONT face=Arial><FONT color=#000000>The failure was caused <FONT
size=2>by "undefined reference" to those function defined in "zlib.h".), zlib
library is required.</FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=870044023-27062001><FONT face=Arial size=2>I think you must
install zlib library..</FONT></SPAN></DIV>
<DIV><SPAN class=870044023-27062001></SPAN> </DIV>
<DIV><SPAN class=870044023-27062001><FONT face=Arial size=2>For
your </FONT>success.. </SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> owner-kaffe@rufus.w3.org
[mailto:owner-kaffe@rufus.w3.org]<B>On Behalf Of </B>Congchun
He<BR><B>Sent:</B> Thursday, June 28, 2001 5:42 AM<BR><B>To:</B>
kaffe@rufus.w3.org<BR><B>Subject:</B> Problems when building Kaffe on
WINNT<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Dear Sir,</FONT></DIV>
<DIV><FONT face=굴림 color=#0000ff size=2></FONT> </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><FONT face=굴림 color=#0000ff size=2></FONT> </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></BLOCKQUOTE></BODY></HTML>