Nagios 3 (CVS 10282006) compile error if EPN is enabled

Joerg Linge pitchfork at ederdrom.de
Sat Oct 28 19:43:52 CEST 2006


Hi Ethan, hi List

the latest CVS HEAD does not compile with --enable-embedded-perl

./configure --prefix=/usr/local/nagios3 --with-cgiurl=/nagios3/cgi-bin 
--with-htmurl=/nagios3  --enable-embedded-perl

 gcc -g -O2  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING 
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE  -DHAVE_CONFIG_H -DNSCORE   
-c -o utils.o utils.c
utils.c: In function `file_uses_embedded_perl':
utils.c:4946: error: redeclaration of `use_epn'
utils.c:4940: error: `use_epn' previously declared here
utils.c:4961: error: `isperl' undeclared (first use in this function)
utils.c:4961: error: (Each undeclared identifier is reported only once
utils.c:4961: error: for each function it appears in.)
utils.c:4965: error: `buffer' undeclared (first use in this function)
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/usr/local/src/devel/nagios-cvs/base'
make: *** [all] Error 2

Kind regards

Jörg LInge

-------------------------------------------------------------------------
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