Xymon Mailing List Archive search

Xymon 4.3 compile error - Solaris 10

list Keith Meserole
Mon, 28 Mar 2011 10:01:42 -0400
Message-Id: <user-cce6bbd97400@xymon.invalid>

Thanks Henrik,

This worked perfectly.   Thank You!


-----Original Message-----
From: xymon-bounces at xymon.com on behalf of user-ce4a2c883f75@xymon.invalid
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" <user-9db928ee7098@xymon.invalid>
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