Problem compiling nagios 2.3.1

Ethan Galstad nagios at nagios.org
Wed May 17 19:30:16 CEST 2006


Andreas Ericsson wrote:
> Andrea Gabellini wrote:
>> Hi,
>>
>> CHAR_BIT is also defined in iso/limits_iso.h.
>>
>> What about a way to include this file if we are on Solaris?
>>
> 
> iso/limits_iso.h doesn't exist on very many systems. It should, if 
> needed, be included by simply grabbing <limits.h>. <limits.h> is POSIX, 
> and by POSIX rules it should define (or include the files that define) 
> INT_MAX and CHAR_BIT.
> 
> In other words, including <limits.h> should be enough. If it isn't then 
> it should be considered a compliance bug in the header files.
> 

I'll be committing a patch to CVS to fix this shortly.  The configure 
script was detecting <limits.h>, but it wasn't included in include/config.h.


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list