<!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 6.00.2900.3199" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to port kaffe to the NAS Server TS-101
of QNAP. This is a mini Network Attached Storage (NAS) barebone system
which supports SATA disk. It supports many valuable software functions like File
Server, Backup Server, FTP Server, Web Server and Remote
Replication.</FONT></DIV>
<DIV><FONT face=Arial size=2>NAS Server hat a powerpc system with a 2.6.12.3
Linux version.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First, I tried to configure kaffe with the command:
$./configure --prefix=/jvm/kaffe/powerpc</FONT></DIV>
<DIV><FONT face=Arial size=2>I got the error: "Can't find or can't use system
zlib.h"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Second, I have found the path of the library, so I
tried with this: $./configure --prefix=/jvm/kaffe/powerpc
--with-includes=/usr/include/linux
--with-libraries=/usr/include/linux.</FONT></DIV>
<DIV><FONT face=Arial size=2>And I got the error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2>checking semaphore.h usability... no<BR>checking
semaphore.h presence... yes<BR>configure: WARNING: semaphore.h: present but
cannot be compiled<BR>configure: WARNING: semaphore.h:
check for missing prerequisite headers?<BR>configure: WARNING: semaphore.h: see
the Autoconf documentation<BR>configure: WARNING:
semaphore.h: section "Present But Cannot Be
Compiled"<BR>configure: WARNING: semaphore.h: proceeding with the preprocessor's
result<BR>configure: WARNING: semaphore.h: in the future, the compiler will take
precedence<BR>configure: WARNING: ##
------------------------------ ##<BR>configure: WARNING:
## Report this to <A href="mailto:kaffe@kaffe.org">kaffe@kaffe.org</A>
##<BR>configure: WARNING: ##
------------------------------ ##<BR>checking for semaphore.h... yes<BR>checking
for working semaphores... not implemented<BR>configure: error: Missing library
libpthread, read FAQ/FAQ.pthreads</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, I report this WARNING to kaffe.org. Maybe it
help in the develop for the future releases and even maybe it help for the
solution of my error in the future.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thank you very much for
you attention.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>
Sergio</FONT></DIV>
<DIV> </DIV></BODY></HTML>