[Xymon] xymon 3.0 client - failing to compile on solaris 8

Henrik Størner henrik at hswn.dk
Sun Mar 13 23:03:23 CET 2011


> Undefined                       first referenced
>   symbol                             in file
> main
> /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/crt1.o
> ld: fatal: Symbol referencing errors. No output written to setup-newfiles
> collect2: ld returned 1 exit status
> gmake[1]: *** [setup-newfiles] Error 1

Please comment out the test for the GNU "ld" in the build/Makefile.SunOS
file - you can just delete these lines:

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

Then try re-running the "make" command.


Regards,
Henrik



More information about the Xymon mailing list