28 Mar
2011
28 Mar
'11
12:14 p.m.
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