RE: [Nagios-devel] Problem compiling nagios 2.3.1
Posted: Tue May 16, 2006 1:00 am
Same here for Solaris 8. I found the declaration of INT_MAX
in /usr/include/sys/types.h but it's only enabled for compiling
kernel or kernel-modules...
which value to set INT_MAX??
christian
--
"I sense much NT in you, NT leads to Blue Screen.=20
Blue Screen leads to downtime, downtime leads to suffering. NT is the =
path to the darkside."=20
- Unknown Unix Jedi =20
> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Andrea Gabellini
> Sent: Tuesday, May 16, 2006 9:58 AM
> To: [email protected]
> Subject: [Nagios-devel] Problem compiling nagios 2.3.1
>=20
> Hi,
>=20
> I'm compiling nagios 2.3.1 but I get this error:
>=20
> make[1]: Entering directory `/temp/SERVER/nagios-2.3.1/cgi'
> gcc -g -O2 -fno-strict-aliasing -pipe -I/usr/local/include=20
> -D_LARGEFILE_SOURCE=20
> -D_FILE_OFFSET_BITS=3D64 =20
> -I/usr/local/lib/perl5/5.8.6/i86pc-solaris/CORE =20
> -DHAVE_CONFIG_H -DNSCGI=20
> -c -o getcgi.o getcgi.c
> getcgi.c: In function `getcgivars':
> getcgi.c:174: error: `INT_MAX' undeclared (first use in this function)
> getcgi.c:174: error: (Each undeclared identifier is reported only once
> getcgi.c:174: error: for each function it appears in.)
> make[1]: *** [getcgi.o] Error 1
> make[1]: Leaving directory `/temp/SERVER/nagios-2.3.1/cgi'
> make: *** [all] Error 2
>=20
> Looking the code the declaration of INT_MAX is missing.
>=20
> Andrea
>=20
> --=20
>=20
> ---------------------------------------
> Time is what keeps things from happening all at once.
> ---------------------------------------
> Ing. Andrea Gabellini
> Email: [email protected]
> Tel: 0549 886111 (Italy)
> Tel. +378 0549 886111 (International)
>=20
> Telecom Italia San Marino S.p.A.
> Strada degli Angariari, 3
> 47891 Rovereta
> Repubblic of San Marino
>=20
> http://www.omniway.sm http://www.telecomitalia.sm
>=20
>=20
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web=20
> services, security?
> Get stuff done quickly with pre-integrated technology to make=20
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on=20
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dl ... d=3D263057&
> dat=3D121642
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>=20
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
in /usr/include/sys/types.h but it's only enabled for compiling
kernel or kernel-modules...
which value to set INT_MAX??
christian
--
"I sense much NT in you, NT leads to Blue Screen.=20
Blue Screen leads to downtime, downtime leads to suffering. NT is the =
path to the darkside."=20
- Unknown Unix Jedi =20
> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Andrea Gabellini
> Sent: Tuesday, May 16, 2006 9:58 AM
> To: [email protected]
> Subject: [Nagios-devel] Problem compiling nagios 2.3.1
>=20
> Hi,
>=20
> I'm compiling nagios 2.3.1 but I get this error:
>=20
> make[1]: Entering directory `/temp/SERVER/nagios-2.3.1/cgi'
> gcc -g -O2 -fno-strict-aliasing -pipe -I/usr/local/include=20
> -D_LARGEFILE_SOURCE=20
> -D_FILE_OFFSET_BITS=3D64 =20
> -I/usr/local/lib/perl5/5.8.6/i86pc-solaris/CORE =20
> -DHAVE_CONFIG_H -DNSCGI=20
> -c -o getcgi.o getcgi.c
> getcgi.c: In function `getcgivars':
> getcgi.c:174: error: `INT_MAX' undeclared (first use in this function)
> getcgi.c:174: error: (Each undeclared identifier is reported only once
> getcgi.c:174: error: for each function it appears in.)
> make[1]: *** [getcgi.o] Error 1
> make[1]: Leaving directory `/temp/SERVER/nagios-2.3.1/cgi'
> make: *** [all] Error 2
>=20
> Looking the code the declaration of INT_MAX is missing.
>=20
> Andrea
>=20
> --=20
>=20
> ---------------------------------------
> Time is what keeps things from happening all at once.
> ---------------------------------------
> Ing. Andrea Gabellini
> Email: [email protected]
> Tel: 0549 886111 (Italy)
> Tel. +378 0549 886111 (International)
>=20
> Telecom Italia San Marino S.p.A.
> Strada degli Angariari, 3
> 47891 Rovereta
> Repubblic of San Marino
>=20
> http://www.omniway.sm http://www.telecomitalia.sm
>=20
>=20
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web=20
> services, security?
> Get stuff done quickly with pre-integrated technology to make=20
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on=20
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dl ... d=3D263057&
> dat=3D121642
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>=20
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]