<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003>Can anybody let me
know what I should update/fix to get this compilation to work?
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003></SPAN></FONT><FONT
face=Arial size=2><SPAN class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003>Redhat
Linux 2.4.2-2</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003>gdchart0.94c </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003>i686-pc-linux-gnu</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003>rrdtool-1.1.0 </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003>gd-1.8.3 </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003>gdbm-1.8.0</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003>gcc
3.0.4</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003>I did a make clean
first.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003>Buildt
with:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=576253514-11092003></SPAN></FONT><FONT
face=Arial size=2><SPAN class=576253514-11092003>/configure
\<BR>--with-template-objects \<BR>--with-mysql-lib=/usr/lib/mysql
\<BR>--with-mysql-inc=/usr/include/mysql \<BR>--with-mysql-xdata
\<BR>--enable-embedded-perl \<BR>--with-perlcache
\<BR>--with-ping-command=/usr/local/sbin/fping</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=576253514-11092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2>nagios 2.0-very-pre-alpha 08-18-2003
***:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> General
Options:<BR> -------------------------<BR>
Nagios executable: nagios<BR>
Nagios user/group: nagios,nagios<BR>
Command user/group:
nagios,nagios<BR>
Embedded Perl: yes, with
caching<BR>
Event Broker: yes<BR> Install
${prefix}:
/usr/local/nagios<BR>
Lock file:
${prefix}/var/nagios.lock<BR>
Init directory:
/etc/rc.d/init.d<BR>
Host OS: linux-gnu</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Web Interface
Options:<BR> ------------------------<BR>
HTML URL: <A
href="http://localhost/nagios/">http://localhost/nagios/</A><BR>
CGI URL: <A
href="http://localhost/nagios/cgi-bin/">http://localhost/nagios/cgi-bin/</A><BR> Traceroute
(used by WAP): /usr/sbin/traceroute</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> External Data
Routines:<BR> ------------------------<BR>
Status data: Database
(MySQL)<BR>
Comment data: Database
(MySQL)<BR>
Downtime data: Database
(MySQL)<BR> Peformance
data: Default (external commands)</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>Review the options above for accuracy. If they look okay,<BR>type
'make all' to compile the main program and CGIs.</DIV>
<DIV> </DIV>
<DIV><A
href="mailto:root@netsaint:/usr/local/nagios">root@netsaint:/usr/local/nagios</A>
#make<BR>Please supply a command line argument (i.e. 'make all'). Other
targets are:<BR> nagios cgis contrib modules<BR>
clean<BR> install install-base install-cgis install-html
install-config install-init install-commandmode fullinstall<BR><A
href="mailto:root@netsaint:/usr/local/nagios">root@netsaint:/usr/local/nagios</A>
#make all<BR>cd ./base && make<BR>make[1]: Entering directory
`/usr/local/nagios/base'<BR>gcc -g -O2 -I/usr/include/mysql -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o broker.o broker.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o nebmods.o nebmods.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o checks.o checks.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o config.o config.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o commands.o commands.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o events.o events.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o flapping.o flapping.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o logging.o logging.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o notifications.o notifications.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o sehandlers.o sehandlers.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o utils.o utils.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o retention-base.o sretention.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o comments-base.o ../common/comments.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o xcomments-base.o ../xdata/xcddb.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o objects-base.o ../common/objects.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o statusdata-base.o ../common/statusdata.c<BR>gcc -g -O2
-I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H
-DNSCORE -c -o xstatusdata-base.o ../xdata/xsddb.c<BR>../xdata/xsddb.c: In
function `xsddb_save_status_data':<BR>../xdata/xsddb.c:902: `ERORR' undeclared
(first use in this function)<BR>../xdata/xsddb.c:902: (Each undeclared
identifier is reported only once<BR>../xdata/xsddb.c:902: for each function it
appears in.)<BR>../xdata/xsddb.c: In function
`xsddb_save_program_status':<BR>../xdata/xsddb.c:941: `last_update' undeclared
(first use in this function)<BR>../xdata/xsddb.c: In function
`xsddb_save_host_status':<BR>../xdata/xsddb.c:1054: `host_name' undeclared
(first use in this function)<BR>../xdata/xsddb.c: In function
`xsddb_save_service_status':<BR>../xdata/xsddb.c:1105: `host_name' undeclared
(first use in this function)<BR>../xdata/xsddb.c:1107: `description' undeclared
(first use in this function)<BR>../xdata/xsddb.c:1113: `temp_host' undeclared
(first use in this function)<BR>make[1]: *** [xstatusdata-base.o] Error
1<BR>make[1]: Leaving directory `/usr/local/nagios/base'<BR>make: *** [all]
Error 2</FONT></DIV></BODY></HTML>