<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>RE: [Xymon] Xymon 4.3 compile error - Solaris 10</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Thanks Henrik,<BR>
<BR>
This worked perfectly.   Thank You!<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: xymon-bounces@xymon.com on behalf of henrik@hswn.dk<BR>
Sent: Mon 3/28/2011 8:15 AM<BR>
To: xymon@xymon.com<BR>
Subject: Re: [Xymon] Xymon 4.3 compile error - Solaris 10<BR>
<BR>
On Tue, 22 Mar 2011 23:45:58 -0400, "Keith Meserole" <kmeserole@keithm.us><BR>
wrote:<BR>
> /usr/ccs/bin/ld: illegal option -- rpath<BR>
> /usr/ccs/bin/ld: illegal option -- rpath<BR>
> /usr/ccs/bin/ld: illegal option -- rpath<BR>
> /usr/ccs/bin/ld: illegal option -- rpath<BR>
> usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]<BR>
<BR>
The Solaris makefile for Xymon tries to figure out if you are compiling<BR>
with the GNU linker or the native Solaris linker.<BR>
<BR>
Unfortunately, it seems to guess wrong quite often.<BR>
<BR>
The simplest fix is to edit build/Makefile.SunOS and delete these lines:<BR>
<BR>
ifeq ($(LDTYPE),GNU)<BR>
   RPATH=-Wl,--rpath,<BR>
else<BR>
   RPATH=-Wl,-R<BR>
endif<BR>
<BR>
<BR>
Regards,<BR>
Henrik<BR>
<BR>
_______________________________________________<BR>
Xymon mailing list<BR>
Xymon@xymon.com<BR>
<A HREF="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</A><BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>