[hobbit] Xymon client install fail on Solaris9
fredbo at club-internet.fr
fredbo at club-internet.fr
Tue Jan 12 13:25:03 CET 2010
Hi,
First "maybe" you could try (better result for me) with gmake instead of make then, I put this parameter to pass a similar error :
vi build/Makefile.rules
to add this line :
LIBRTDEF="-lrt"
I am under Sol10 sparc
Regards,
Fred.
Hi
I have installed xymon-4.3.0-beta2 on a freebsd server and it isworking happily. When I am installing the xymon client on a Solaris 9machine 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
More information about the Xymon
mailing list