<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<div><br></div><div>I missed lib/Makefile in last post.</div><div><br></div><div>tj-yangs-imac:4.4.0 tj_yang$ diff -u  lib/Makefile.orig  lib/Makefile</div><div>--- lib/Makefile.orig   2010-02-14 22:57:16.000000000 -0600</div><div>+++ lib/Makefile        2010-02-14 22:58:21.000000000 -0600</div><div>@@ -9,7 +9,7 @@</div><div> endif</div><div><br></div><div><br></div><div>-CFLAGS += -I. -I../include</div><div>+CFLAGS += -I../include</div><div><br></div><div> all: test-endianness libbbgen.a hobbitclient.a loadhosts stackio availability md5 sha1 rmd160 locator</div><div><br></div><div>tj-yangs-imac:4.4.0 tj_yang$ diff -u  build/Makefile.rules.orig build/Makefile.rules</div><div>--- build/Makefile.rules.orig   2010-02-14 22:57:15.000000000 -0600</div><div>+++ build/Makefile.rules        2010-02-14 22:58:51.000000000 -0600</div><div>@@ -8,7 +8,7 @@</div><div> # Build targets</div><div> #####################</div><div><br></div><div>-CFLAGS += -I. -I$(BUILDTOPDIR)/include</div><div>+CFLAGS += -I$(BUILDTOPDIR)/include</div><div><br></div><div> ifeq ($(CLIENTONLY),yes)</div><div>        BUILDTARGETS = client</div><div>tj-yangs-imac:4.4.0 tj_yang$</div><div><br></div><br><hr id="stopSpelling">From: tj_yang@hotmail.com<br>To: hobbit@hswn.dk<br>Date: Sun, 14 Feb 2010 21:47:49 -0600<br>Subject: [hobbit] Compiling Xymon on OSX Snow Leopard<br><br>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>


<div>Thanks to Joshua in Macport team to provide a pointer regarding the very "Availability.h" issue is caused</div><div>by duplicated inclusion of "Availability.h" in . directory. I commented out "-I." in Makefile.rules file to fix the compilation issue.</div><div>Look likes we have solution for reported issue in R1. Not sure the impact of the omission of "-I." will do to other OS.</div><div><br></div><div><br></div><div>How ?</div><div>tj-yangs-imac:4.2.3 tj_yang$ diff -u    build/Makefile.rules.orig build/Makefile.rules</div><div>--- build/Makefile.rules.orig   2010-02-14 21:35:37.000000000 -0600</div><div>+++ build/Makefile.rules        2010-02-14 21:36:24.000000000 -0600</div><div>@@ -8,7 +8,7 @@</div><div> # Build targets</div><div> #####################</div><div><br></div><div>-CFLAGS += -I. -I$(BUILDTOPDIR)/include</div><div>+CFLAGS += -I$(BUILDTOPDIR)/include</div><div><br></div><div> ifeq ($(CLIENTONLY),yes)</div><div>        BUILDTARGETS = client</div><div>tj-yangs-imac:4.2.3 tj_yang$</div><div><br></div><div>Why ?</div><div>Don't know exactly why the change of gcc version to 4.2.1 in S.L. break the Makefile.rules files.</div><div><br></div>R1: <a href="http://www.hswn.dk/hobbiton/2009/11/msg00311.html">http://www.hswn.dk/hobbiton/2009/11/msg00311.html</a><div><br></div><div><a href="http://www.hswn.dk/hobbiton/2009/11/msg00311.html"></a>Cheers</div><div><br><div><a href="http://www.hswn.dk/hobbiton/2009/11/msg00311.html"></a><br>T.J. Yang<br><br></div></div>                                      <br><hr>Hotmail: Trusted email with powerful SPAM protection. <a href="http://clk.atdmt.com/GBL/go/201469227/direct/01/">Sign up now.</a>                                     <br /><hr />Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/201469226/direct/01/' target='_new'>Sign up now.</a></body>
</html>