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<br>Chris<br><br><br><div class="gmail_quote">On Tue, Jan 12, 2010 at 2:25 PM,  <span dir="ltr"><<a href="mailto:fredbo@club-internet.fr">fredbo@club-internet.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
First "maybe" you could try (better result for me) with gmake instead of make then, I put this parameter to pass a similar error :<br>
<br>
vi build/Makefile.rules <br>
<br>
to add this line :<br>
<br>
LIBRTDEF="-lrt"<br>
<br>
<br>
I am under Sol10 sparc<br>
<br>
Regards,<br>
<br>
Fred.<br>
<br>
<br>
Hi<br>
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:<br>
<div><div></div><div class="h5">I have looked at the forums and known issues page but not one of the recommendations seem to work.<br>
******************************************<br>
bash-2.05# make<br>
MAKE="make"CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.-I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" `pwd`/build/genconfig.sh<br>
Checking for socklen_t<br>
Checking for snprintf<br>
Checking for vsnprintf<br>
Checking for rpc/rpcent.h<br>
Checking for sys/select.h<br>
Checking for u_int32_t typedef<br>
Checking for PATH_MAX definition<br>
Checking for SHUT_RD/WR/RDWR definitions<br>
Checking for strtoll()<br>
config.h created<br>
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<br>

make[1]: Entering directory `/export/home/chrisw/xymon-4.3.0-beta2/lib'<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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<br>

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<br>
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<br>
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<br>
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<br>
loadhosts.c: In function `bbh_find_item':<br>
loadhosts.c:228: warning: return discards qualifiers from pointer target type<br>
loadhosts.c: In function `bbh_item_id':<br>
loadhosts.c:619: warning: return discards qualifiers from pointer target type<br>
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<br>
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<br>
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<br>
In file included from /export/home/chrisw/xymon-4.3.0-beta2/include/libbbgen.h:42,<br>
                 from misc.c:34:<br>
/export/home/chrisw/xymon-4.3.0-beta2/include/../lib/eventlog.h:38: error: syntax error before numeric constant<br>
make[1]: *** [misc.o] Error 1<br>
make[1]: Leaving directory `/export/home/chrisw/xymon-4.3.0-beta2/lib'<br>
make: *** [lib-client] Error 2<br>
******************************************<br>
Thank you<br>
<br>
<br>
<br>
<br>
</div></div><div><div></div><div class="h5">To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br>