Compile problem - 2.0b4 on FreeBSD 5.1

Andreas Ericsson ae at op5.se
Wed Sep 14 13:50:52 CEST 2005


Drew Linsalata wrote:
> After a pretty simple "configure" run, we're running into compile issues 
> with 2.0b4 on a FreeBSD 5.1 box.  A "make all" results in:
> 
> 
> sky1# make all
> cd ./base && make
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c
> In file included from ../include/config.h:114,
>                  from broker.c:26:
> /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type
> /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type
> /usr/include/sys/resource.h:79: confused by earlier errors, bailing out
> *** Error code 1
> 

The problems are in the systems header files. As such, the problem is in 
FreeBSD's development environment and not in Nagios.

> Stop in /usr/local/src/nagios-2.0b4/base.
> *** Error code 1
> 
> Stop in /usr/local/src/nagios-2.0b4.
> 
> We don't have the GD/PNG/JPEG stuff on that box yet, but I dont see 
> where that would cause compile errors.  Has anyone seen this before?
> 
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list