[Xymon] Xymon 4.3 compile error - Solaris 10

henrik at hswn.dk henrik at hswn.dk
Mon Mar 28 14:14:05 CEST 2011


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




More information about the Xymon mailing list