Xymon Mailing List Archive search

Xymon 4.3 compile error - Solaris 10

list Henrik Størner
Mon, 28 Mar 2011 14:14:05 +0200
Message-Id: <03a233407cced2392869e018d50e31c1@localhost>

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