<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am having difficulty compiling Nagios 2.0b4 on 
FreeBSD4.8</FONT></DIV>
<DIV><FONT face=Arial size=2>Example of what happens as follows:-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The configure runs fine...</FONT></DIV>
<DIV><FONT face=Arial 
size=2>##############################################################</FONT></DIV>
<DIV><FONT face=Arial size=2>sudo ./configure --with-gd-lib=/usr/local/lib 
--with-gd-inc=/usr/local/include</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>*** Configuration summary for nagios 2.0b4 
08-02-2005 ***:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> General 
Options:<BR> -------------------------<BR>        
Nagios executable:  nagios<BR>        
Nagios user/group:  nagios,nagios<BR>       
Command user/group:  
nagios,nagios<BR>            
Embedded Perl:  
no<BR>             
Event Broker:  yes<BR>        Install 
${prefix}:  
/usr/local/nagios<BR>                
Lock file:  
${prefix}/var/nagios.lock<BR>           
Init directory:  
/usr/local/etc/rc.d<BR>                  
Host OS:  freebsd4.8</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial 
size=2>###############################################################</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR>The Compile fails as follows:-</FONT></DIV>
<DIV><FONT face=Arial 
size=2>################################################################</FONT></DIV>
<DIV><FONT face=Arial size=2>sudo make all<BR>cd ./base && make<BR>gcc 
-g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c broker.c<BR>In file 
included from 
../include/config.h:174,<BR>                 
from broker.c:26:<BR>/usr/include/sys/wait.h:62: warning: `WIFEXITED' 
redefined<BR>../include/config.h:102: warning: this is the location of the 
previous definition<BR>/usr/include/sys/wait.h:63: warning: `WEXITSTATUS' 
redefined<BR>../include/config.h:99: warning: this is the location of the 
previous definition<BR>In file included from 
../include/config.h:114,<BR>                 
from broker.c:26:<BR>/usr/include/sys/resource.h:58: field `ru_utime' has 
incomplete type<BR>/usr/include/sys/resource.h:59: field `ru_stime' has 
incomplete type<BR>/usr/include/sys/resource.h:119: syntax error before 
`int32_t'<BR>/usr/include/sys/resource.h:124: syntax error before 
`rlim_t'<BR>/usr/include/sys/resource.h:130: syntax error before 
`fixpt_t'<BR>*** Error code 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Stop in 
/home/staff/noc/mckay/ports/Nagios-2/nagios-2.0b4/base.<BR>*** Error code 
1<BR>####################################################################</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nagios 1.2 compiles no problem at all on the same 
box! Has anyone seen this before or can you provide any idea solutions to get 
2.0b4 compiling on FreeBSD4.8.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Declan.</DIV></FONT></BODY></HTML>