[Nagios-devel] Problem compiling nagios 2.3.1
Posted: Mon May 15, 2006 11:58 pm
Hi,
I'm compiling nagios 2.3.1 but I get this error:
make[1]: Entering directory `/temp/SERVER/nagios-2.3.1/cgi'
gcc -g -O2 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.6/i86pc-solaris/CORE -DHAVE_CONFIG_H -DNSCGI
-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
Looking the code the declaration of INT_MAX is missing.
Andrea
--
---------------------------------------
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)
Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino
http://www.omniway.sm http://www.telecomitalia.sm
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
I'm compiling nagios 2.3.1 but I get this error:
make[1]: Entering directory `/temp/SERVER/nagios-2.3.1/cgi'
gcc -g -O2 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.6/i86pc-solaris/CORE -DHAVE_CONFIG_H -DNSCGI
-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
Looking the code the declaration of INT_MAX is missing.
Andrea
--
---------------------------------------
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)
Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino
http://www.omniway.sm http://www.telecomitalia.sm
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]