<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi everyone,<br>
I am trying to compile xymon 4.3.10 on a Solaris 10 SPARC 64bit
server.<br>
When i run make, after a while the compilation stops with the
following error:<br>
<blockquote><tt>...<br>
xymond_client.c: In function `nextsection':<br>
xymond_client.c:216: warning: dereferencing type-punned pointer
will break strict-aliasing rules<br>
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSunOS
-I/export/home/xymon/xymon-4.3.10/include -DCLIENTONLY=1
-DLOCALCLIENT=1 -I/usr/local/include -c -o xymond_worker.o
xymond_worker.c<br>
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSunOS
-I/export/home/xymon/xymon-4.3.10/include -DCLIENTONLY=1
-DLOCALCLIENT=1 -I/usr/local/include -c -o xymond_buffer.o
xymond_buffer.c<br>
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSunOS
-I/export/home/xymon/xymon-4.3.10/include -DCLIENTONLY=1
-DLOCALCLIENT=1 -I/usr/local/include -c -o client_config.o
client_config.c<br>
make[1]: *** No rule to make target `../lib/xymonclient.a',
needed by `../client/xymond_client'. Stop.<br>
make[1]: Leaving directory
`/export/home/xymon/xymon-4.3.10/xymond'<br>
make: *** [xymond-client] Error 2</tt><br>
</blockquote>
The ./configure.client report a<br>
<tt> Checking for clock_gettime() requiring librt ...</tt><tt><br>
</tt><tt> clock_gettime() requires librt</tt><tt><br>
</tt>I checked for librt libraries in /lib, they are there and in
/usr/lib also, my LD_LIBRARY_PATH is correctly set (at least, I
think so) and libpcre is installed.<br>
Then, googleing I found a suggestion about adding<br>
<meta charset="utf-8">
<tt>
LIBRTDEF="-lrt" in build/Makefile.rules
</tt><br>
I did it, but nothing changed.<br>
<br>
Can anyone help me investigating the error.<br>
<br>
Kind regards,<br>
Daniele Barreca<br>
<br>
</body>
</html>