[Xymon] Xymon 4.3 compile error - Solaris 10

Keith Meserole kmeserole at keithm.us
Mon Mar 28 16:01:42 CEST 2011


Thanks Henrik,

This worked perfectly.   Thank You!


-----Original Message-----
From: xymon-bounces at xymon.com on behalf of henrik at hswn.dk
Sent: Mon 3/28/2011 8:15 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Xymon 4.3 compile error - Solaris 10
 
On Tue, 22 Mar 2011 23:45:58 -0400, "Keith Meserole" <kmeserole at keithm.us>
wrote:
> /usr/ccs/bin/ld: illegal option -- rpath
> /usr/ccs/bin/ld: illegal option -- rpath
> /usr/ccs/bin/ld: illegal option -- rpath
> /usr/ccs/bin/ld: illegal option -- rpath
> 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:?]

The Solaris makefile for Xymon tries to figure out if you are compiling
with the GNU linker or the native Solaris linker.

Unfortunately, it seems to guess wrong quite often.

The simplest fix is to edit build/Makefile.SunOS and delete these lines:

ifeq ($(LDTYPE),GNU)
   RPATH=-Wl,--rpath,
else
   RPATH=-Wl,-R
endif


Regards,
Henrik

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110328/8b89978e/attachment.html>


More information about the Xymon mailing list