Xymon client install fail on Solaris9

Christopher White christopher.s1ckle at gmail.com
Tue Jan 12 12:30:58 CET 2010


Hi
I have installed xymon-4.3.0-beta2 on a freebsd server and it is working
happily. When I am installing the xymon client on a Solaris 9 machine the
error I get is as follows:
I have looked at the forums and known issues page but not one of the
recommendations seem to work.
******************************
************
bash-2.05# make
MAKE="make" CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS
-I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" `pwd`/build/genconfig.sh
Checking for socklen_t
Checking for snprintf
Checking for vsnprintf
Checking for rpc/rpcent.h
Checking for sys/select.h
Checking for u_int32_t typedef
Checking for PATH_MAX definition
Checking for SHUT_RD/WR/RDWR definitions
Checking for strtoll()
config.h created
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DSunOS" RPATHOPT="-Wl,-R"
PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket
-lnsl" LIBRTDEF="" BBTOPDIR="/export/home/xymon" BBLOGDIR="" BBHOSTNAME=""
BBHOSTIP="192.168.1.68" BBHOSTOS="" LOCALCLIENT="no" make -C lib client
make[1]: Entering directory `/export/home/chrisw/xymon-4.3.0-beta2/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include  -o test-endianness test-endianness.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o osdefs.o osdefs.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o cgiurls.o cgiurls.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include  -DCLIENTONLY -c -o color-client.o color.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o digest.o digest.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o encoding.o encoding.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include  -DBBTOPDIR=\"/export/home/xymon\" -DBBLOGDIR=\"\"
-DBBHOSTNAME=\"\" -DBBHOSTIP=\"192.168.1.68\" -DBBHOSTOS=\"\"
-DBUILD_HOME=\"/export/home/xymon/client\" -c -o environ-client.o environ.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o errormsg.o errormsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o holidays.o holidays.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o ipaccess.o ipaccess.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include  -c -o loadhosts.o loadhosts.c
loadhosts.c: In function `bbh_find_item':
loadhosts.c:228: warning: return discards qualifiers from pointer target
type
loadhosts.c: In function `bbh_item_id':
loadhosts.c:619: warning: return discards qualifiers from pointer target
type
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o md5.o md5.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o memory.o memory.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/chrisw/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I.
-I../include    -c -o misc.o misc.c
In file included from
/export/home/chrisw/xymon-4.3.0-beta2/include/libbbgen.h:42,
                 from misc.c:34:
/export/home/chrisw/xymon-4.3.0-beta2/include/../lib/eventlog.h:38: error:
syntax error before numeric constant
make[1]: *** [misc.o] Error 1
make[1]: Leaving directory `/export/home/chrisw/xymon-4.3.0-beta2/lib'
make: *** [lib-client] Error 2
******************************************
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100112/1938484a/attachment.html>


More information about the Xymon mailing list