<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Had the same problem just a couple of days ago.<br>
It seems that xymon is using a variable S_NONE that is already declared
in signal.h.<br>
I just comented the S_NONE in signal.h (that is
/usr/include/sys/signal.h )<br>
On Solaris 9 though but it should work on 8 as well.<br>
Compiling went ok, I then removed the comment in signal.h.<br>
<br>
I had sun's studio compiler installed as well and had to make sure PATH
and LD_LIBRARY_PATH<br>
pointed to /usr/local first, so it used the correct gcc and gmake.<br>
/usr/ccs/bin has to be in the path so Makefile can find ar.<br>
<br>
The correct fix would be to change all S_NONE to something else in the
xymon code.<br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<title>test</title>
<br>
<p style="font-size: 10pt; font-family: Verdana;"> Best Regards, <br>
Roland<br>
</p>
<p style="font-size: 10pt; font-family: Verdana;"><br>
<br>
</p>
</div>
On  9/07/10 02:26 AM, Shadow Azul wrote:
<blockquote
 cite="mid:AANLkTil47-HmylUxXVzYh4_RmeIWWgr7OJ3Ti8TtHEGd@mail.gmail.com"
 type="cite">I can´t compile Xymon 4.3.0-beta2 in solaris8. I have the
following error:<br>
  <br>
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I. -I`pwd`/include
-DCLIENTONLY=1" LDFLAGS="" OSDEF="-DSunOS" RPATHOPT="-Wl,-R"
PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv
-lsocket -lnsl" LIBRTDEF="" BBTOPDIR="/usr/local/xymon/client"
BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="127.0.0.1" BBHOSTOS=""
LOCALCLIENT="no" make -C lib client<br>
make[1]: Entering directory `/tmp/xymon-4.3.0-beta2/lib'<br>
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DSunOS -I. -I/tmp/xymon-4.3.0-beta2/include
-DCLIENTONLY=1 -I. -I../include    -c -o misc.o misc.c<br>
In file included from /tmp/xymon-4.3.0-beta2/include/libbbgen.h:42,<br>
                 from misc.c:34:<br>
/tmp/xymon-4.3.0-beta2/lib/eventlog.h:38: error: parse error before
numeric constant<br>
make[1]: *** [misc.o] Error 1<br>
make[1]: Leaving directory `/tmp/xymon-4.3.0-beta2/lib'<br>
make: *** [lib-client] Error 2<br>
  <br>
I try with the 4.2.3 version (non beta) and compile perfectly (in
solaris 8)...<br>
I try to compile 4.3.0-beta2 in solaris 10 and works fine !<br>
  <br>
Anybody have an idea where is the problem, I need to compile the latest
version of xymon?<br>
  <br>
Thanks a lot friends !<br>
</blockquote>
</body>
</html>