[hobbit] Re:[hobbit] Xymon client install fail on Solaris9

Christopher White christopher.s1ckle at gmail.com
Thu Jan 14 09:26:54 CET 2010


Thanks Fred, but I am getting the same result as before I put the line in
Makefile.rules. Result is the same on Sol9 and 10. And I am using gmake
Chris


On Tue, Jan 12, 2010 at 2:25 PM, <fredbo at club-internet.fr> wrote:

> 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
>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100114/b43b5449/attachment.html>


More information about the Xymon mailing list