[Nagios-devel] nagios-1.x CVS cgi build error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] nagios-1.x CVS cgi build error

Post by Guest »

--J5MfuwkIyy7RmF4Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

FYI, there seems to be a problem when building the cgi's in the latest Nagi=
os
1.x CVS branch with --enable-DEBUG1. The daemon is not affected.

$ ./configure --enable-DEBUG1
[snip, no errors]

$ make cgis
cd ./cgi && make
make[1]: Entering directory `/home/jhmartin/nagios/cgi'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o auth.o auth.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o popen.o popen.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o pope=
n.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../x=
data/xsddefault.c -o avail.cgi
=2E./xdata/xodtemplate.c: In function `xodtemplate_add_object_property':
=2E./xdata/xodtemplate.c:1344: error: `temp_buffer' undeclared (first use i=
n this function)
=2E./xdata/xodtemplate.c:1344: error: (Each undeclared identifier is report=
ed only once
=2E./xdata/xodtemplate.c:1344: error: for each function it appears in.)
=2E./xdata/xodtemplate.c:1346: error: `NSLOG_CONFIG_ERROR' undeclared (firs=
t use in this function)
make[1]: *** [avail.cgi] Error 1
make[1]: Leaving directory `/home/jhmartin/nagios/cgi'
make: *** [cgis] Error 2

Thanks,
-Jason Martin
--=20
Neurotic: Self-taut person.
This message is PGP/MIME signed.

--J5MfuwkIyy7RmF4Q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: --no-verbose

iD8DBQFBRdw9l2ODWuqVSBMRAlmuAKCJ4o8adbbZIjhOpsv9BGo0DZSPigCdFqg5
mclAGJ4UYQktrMjOEA2Yvf8=
=wTec
-----END PGP SIGNATURE-----

--J5MfuwkIyy7RmF4Q--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked