[Xymon] Xymon 4.3 compile error - Solaris 10

Keith Meserole kmeserole at keithm.us
Wed Mar 23 04:45:58 CET 2011


Greetings,

I get the error below when doing the make command (gmake) on Xymon 4.3
on Solaris 10 x86.

This same server is currently running a version of Xymon 4.2

---------------------------------------------

if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT adig-adig.o -MD -MP -MF ".deps/adig-adig.Tpo" -c -o adig-adig.o
`test -f 'adig.c' || echo './'`adig.c; \
then mv -f ".deps/adig-adig.Tpo" ".deps/adig-adig.Po"; else rm -f
".deps/adig-adig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT adig-ares_getopt.o -MD -MP -MF ".deps/adig-ares_getopt.Tpo" -c
-o adig-ares_getopt.o `test -f 'ares_getopt.c' || echo
'./'`ares_getopt.c; \
then mv -f ".deps/adig-ares_getopt.Tpo" ".deps/adig-ares_getopt.Po";
else rm -f ".deps/adig-ares_getopt.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT adig-ares_strcasecmp.o -MD -MP -MF
".deps/adig-ares_strcasecmp.Tpo" -c -o adig-ares_strcasecmp.o `test -f
'ares_strcasecmp.c' || echo './'`ares_strcasecmp.c; \
then mv -f ".deps/adig-ares_strcasecmp.Tpo"
".deps/adig-ares_strcasecmp.Po"; else rm -f
".deps/adig-ares_strcasecmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT adig-inet_net_pton.o -MD -MP -MF ".deps/adig-inet_net_pton.Tpo"
-c -o adig-inet_net_pton.o `test -f 'inet_net_pton.c' || echo
'./'`inet_net_pton.c; \
then mv -f ".deps/adig-inet_net_pton.Tpo" ".deps/adig-inet_net_pton.Po";
else rm -f ".deps/adig-inet_net_pton.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT adig-inet_ntop.o -MD -MP -MF ".deps/adig-inet_ntop.Tpo" -c -o
adig-inet_ntop.o `test -f 'inet_ntop.c' || echo './'`inet_ntop.c; \
then mv -f ".deps/adig-inet_ntop.Tpo" ".deps/adig-inet_ntop.Po"; else rm
-f ".deps/adig-inet_ntop.Tpo"; exit 1; fi
/bin/bash ./libtool --tag=CC --mode=link gcc  -O2 -Wall -Wno-unused
-D_REENTRANT -DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include
-isystem /usr/local/include -g0 -Wno
-system-headers   -o adig  adig-adig.o adig-ares_getopt.o
adig-ares_strcasecmp.o adig-inet_net_pton.o adig-inet_ntop.o
./libcares.la -lrt -lsocket -lnsl
libtool: link: gcc -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -isystem .
-isystem /tmp/xymon-4.3.0/include -isystem /usr/local/include -g0
-Wno-system-headers -o adig adi
g-adig.o adig-ares_getopt.o adig-ares_strcasecmp.o adig-inet_net_pton.o
adig-inet_ntop.o  ./.libs/libcares.a -lrt -lsocket -lnsl
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT acountry-acountry.o -MD -MP -MF ".deps/acountry-acountry.Tpo"
-c -o acountry-acountry.o `test -f 'acountry.c' || echo './'`acountry.c;
\
then mv -f ".deps/acountry-acountry.Tpo" ".deps/acountry-acountry.Po";
else rm -f ".deps/acountry-acountry.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT acountry-ares_getopt.o -MD -MP -MF
".deps/acountry-ares_getopt.Tpo" -c -o acountry-ares_getopt.o `test -f
'ares_getopt.c' || echo './'`ares_getopt.c; \
then mv -f ".deps/acountry-ares_getopt.Tpo"
".deps/acountry-ares_getopt.Po"; else rm -f
".deps/acountry-ares_getopt.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT acountry-ares_strcasecmp.o -MD -MP -MF
".deps/acountry-ares_strcasecmp.Tpo" -c -o acountry-ares_strcasecmp.o
`test -f 'ares_strcasecmp.c' || echo './'`ares_strca
secmp.c; \
then mv -f ".deps/acountry-ares_strcasecmp.Tpo"
".deps/acountry-ares_strcasecmp.Po"; else rm -f
".deps/acountry-ares_strcasecmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT acountry-inet_net_pton.o -MD -MP -MF
".deps/acountry-inet_net_pton.Tpo" -c -o acountry-inet_net_pton.o `test
-f 'inet_net_pton.c' || echo './'`inet_net_pton.c; \
then mv -f ".deps/acountry-inet_net_pton.Tpo"
".deps/acountry-inet_net_pton.Po"; else rm -f
".deps/acountry-inet_net_pton.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H  -I. -I.    -O2 -Wall -Wno-unused -D_REENTRANT
-DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include -isystem
/usr/local/include -g0 -Wno-system-hea
ders -MT acountry-inet_ntop.o -MD -MP -MF ".deps/acountry-inet_ntop.Tpo"
-c -o acountry-inet_ntop.o `test -f 'inet_ntop.c' || echo
'./'`inet_ntop.c; \
then mv -f ".deps/acountry-inet_ntop.Tpo" ".deps/acountry-inet_ntop.Po";
else rm -f ".deps/acountry-inet_ntop.Tpo"; exit 1; fi
/bin/bash ./libtool --tag=CC --mode=link gcc  -O2 -Wall -Wno-unused
-D_REENTRANT -DSunOS -isystem . -isystem /tmp/xymon-4.3.0/include
-isystem /usr/local/include -g0 -Wno
-system-headers   -o acountry  acountry-acountry.o
acountry-ares_getopt.o acountry-ares_strcasecmp.o
acountry-inet_net_pton.o acountry-inet_ntop.o  ./libcares.la -lrt -ls
ocket -lnsl
libtool: link: gcc -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -isystem .
-isystem /tmp/xymon-4.3.0/include -isystem /usr/local/include -g0
-Wno-system-headers -o acountry
 acountry-acountry.o acountry-ares_getopt.o acountry-ares_strcasecmp.o
acountry-inet_net_pton.o acountry-inet_ntop.o  ./.libs/libcares.a -lrt
-lsocket -lnsl
gmake[3]: Leaving directory `/tmp/xymon-4.3.0/xymonnet/c-ares'
gmake[2]: Leaving directory `/tmp/xymon-4.3.0/xymonnet/c-ares'
ranlib c-ares/.libs/libcares.a || echo "ranlib failure - ignored"
cp c-ares/.libs/libcares.a .
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/xymon-4.3.0/include -I/usr/local/include -I./c-ares -c -o dns.o
dns.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/xymon-4.3.0/include -I/usr/local/include -I./c-ares -c -o dns2.o
dns2.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/xymon-4.3.0/include -I/usr/local/include -c -o httpcookies.o
httpcookies.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/tmp/xymon-4.3.0/include -I/usr/local/include -o xymonnet
-Wl,--rpath,/usr/local/rrdtool-1.2.19/lib -Wl,--rpath,/
usr/local/lib -Wl,--rpath,/opt/csw/lib -Wl,--rpath,/usr/lib xymonnet.o
contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o
../lib/libxymon.a libcares.
a -L/usr/lib -lldap  -L/opt/csw/lib -lssl -lcrypto -L/usr/local/lib
-lpcre -lresolv -lsocket -lnsl -lrt
/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:?]
file(s)
        [-64]           enforce a 64-bit link-edit
        [-a]            create an absolute file
        [-b]            do not do special PIC relocations in a.out
        [-B direct | nodirect]
                        establish direct bindings, or inhibit direct
binding
                        to, the object being created
        [-B dynamic | static]
                        search for shared libraries|archives
        [-B eliminate]  eliminate unqualified global symbols from the
                        symbol table
        [-B group]      relocate object from within group
        [-B local]      reduce unqualified global symbols to local
        [-B reduce]     process symbol reductions
        [-B symbolic]   bind external references to definitions when
creating
                        shared objects
        [-c name]       record configuration file `name'
        [-C]            demangle C++ symbol name diagnostics
        [-d y | n]      operate in dynamic|static mode
        [-D token,...]  print diagnostic messages
        [-e epsym]      use `epsym' as entry point address
        [-f name]       specify library for which this file is an
auxiliary
                        filter
        [-F name]       specify library for which this file is a filter
        [-G]            create a shared object
        [-h name]       use `name' as internal shared object identifier
        [-i]            ignore LD_LIBRARY_PATH setting
        [-I name]       use `name' as path of interpreter
        [-l x]          search for libx.so or libx.a
        [-L path]       search for libraries in directory `path'
        [-m]            print memory map
        [-M mapfile]    use processing directives contained in `mapfile'
        [-N string]     create a dynamic dependency for `string'
        [-o outfile]    name the output file `outfile'
        [-p auditlib]   identify audit library to accompany this object
        [-P auditlib]   identify audit library for processing the
dependencies
                        of this object
        [-Q y | n]      do|do not place version information in output
file
        [-r]            create a relocatable object
        [-R path]       specify a library search path to be used at run
time
        [-s]            strip any symbol and debugging information
        [-S supportlib]
                        specify a link-edit support library
        [-t]            do not warn of multiply-defined symbols that
have
                        different sizes or alignments
        [-u symname]    create an undefined symbol `symname'
        [-V]            print version information
        [-Y P,dirlist]  use `dirlist' as a default path when searching
for
                        libraries
        [-z absexec]    when building an executable absolute symbols
                        referenced in dynamic objects are promoted to
                        the executable
        [-z allextract | defaultextract | weakextract]
                        extract all member files, only members that
resolve
                        undefined tor tentative symbols, or allow
extraction of
                        archive members to resolvetweak references from 
                        archive files
        [-z combreloc]  combine multiple relocation sections
        [-z nocompstrtab]
                        disable compression of string tables
        [-z defs]       disallow undefined symbol references
        [-z direct | nodirect]
                        enable|disable direct binding to shared object
                        dependencies
        [-z endfiltee]  marks a filtee such that it will terminate a
filters
                        search
        [-z finiarray=function]
                        name of function to be appended to the
.finiarray
        [-z groupperm | nogroupperm]
                        enable|disable setting of group permissions
                        on dynamic dependencies
        [-z help ]      print this usage message
        [-z ignore | record]
                        ignore|record unused dynamic dependencies
        [-z initarray=function]
                        name of function to be appended to the
.initarray
        [-z initfirst]  mark object to indicate that its .init section
should
                        be executed before the .init section of any
other
                        objects
        [-z interpose]  dynamic object is to be an `interposer' on
direct
                        bindings
        [-z lazyload | nolazyload]
                        enable|disable delayed loading of shared object
                        dependencies
        [-z ld32=arg1,arg2,...]
                        define arguments applicable to the 32-bit class
of ld(1)
        [-z ld64=arg1,arg2,...]
                        define arguments applicable to the 64-bit class
of ld(1)
        [-z loadfltr]   mark filter as requiring immediate loading of
its
                        filtees at runtime
        [-z muldefs]    allow multiply-defined symbols
        [-z nodefs]     allow undefined symbol references
        [-z nodefaultlib]
                        mark object to ignore any default library search
path
        [-z nodelete]   mark object as non-deletable
        [-z nodlopen]   mark object as non-dlopen()'able
        [-z nodump]     mark object as non-dldump()'able
        [-z nopartial]  expand any partially initialized symbols
        [-z noversion]  don't record any version sections
        [-z now]        mark object as requiring non-lazy binding
        [-z origin]     mark object as requiring $ORIGIN processing
        [-z preinitarray=function]
                        name of function to be appended to the
.preinitarray
        [-z redlocsym]  reduce local syms in .symtab to a minimum
        [-z rescan]     rescan archive list until no further member
                        extraction occurs
        [-z text]       disallow output relocations against text
        [-z textoff]    allow output relocations against text
        [-z textwarn]   warn if there are relocations against text
        [-z verbose]    generate warnings for suspicious processings
collect2: ld returned 1 exit status
gmake[1]: *** [xymonnet] Error 1
gmake[1]: Leaving directory `/tmp/xymon-4.3.0/xymonnet'
gmake: *** [xymonnet-build] Error 2
root at server #








More information about the Xymon mailing list