compilation error for 2.0-very-pre-alpha 08-18-2003

Shapiro, David david.shapiro at bti.com
Thu Sep 11 16:53:14 CEST 2003


Can anybody let me know what I should update/fix to get this compilation to
work?  
 
Redhat Linux 2.4.2-2
gdchart0.94c 
i686-pc-linux-gnu
rrdtool-1.1.0 
gd-1.8.3 
gdbm-1.8.0
gcc 3.0.4
 
I did a make clean first.
 
Buildt with:
 
/configure \
--with-template-objects \
--with-mysql-lib=/usr/lib/mysql \
--with-mysql-inc=/usr/include/mysql \
--with-mysql-xdata \
--enable-embedded-perl \
--with-perlcache \
--with-ping-command=/usr/local/sbin/fping
 
 
 
nagios 2.0-very-pre-alpha 08-18-2003 ***:
 
 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nagios,nagios
            Embedded Perl:  yes, with caching
             Event Broker:  yes
        Install ${prefix}:  /usr/local/nagios
                Lock file:  ${prefix}/var/nagios.lock
           Init directory:  /etc/rc.d/init.d
                  Host OS:  linux-gnu
 
 Web Interface Options:
 ------------------------
                 HTML URL:  http://localhost/nagios/
<http://localhost/nagios/> 
                  CGI URL:  http://localhost/nagios/cgi-bin/
<http://localhost/nagios/cgi-bin/> 
 Traceroute (used by WAP):  /usr/sbin/traceroute
 
 External Data Routines:
 ------------------------
              Status data:  Database (MySQL)
             Comment data:  Database (MySQL)
            Downtime data:  Database (MySQL)
          Peformance data:  Default (external commands)
 

Review the options above for accuracy.  If they look okay,
type 'make all' to compile the main program and CGIs.
 
root at netsaint:/usr/local/nagios <mailto:root at netsaint:/usr/local/nagios>
#make
Please supply a command line argument (i.e. 'make all').  Other targets are:
   nagios cgis contrib modules
   clean
   install install-base install-cgis install-html install-config
install-init install-commandmode fullinstall
root at netsaint:/usr/local/nagios <mailto:root at netsaint:/usr/local/nagios>
#make all
cd ./base && make
make[1]: Entering directory `/usr/local/nagios/base'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
../xdata/xsddb.c: In function `xsddb_save_status_data':
../xdata/xsddb.c:902: `ERORR' undeclared (first use in this function)
../xdata/xsddb.c:902: (Each undeclared identifier is reported only once
../xdata/xsddb.c:902: for each function it appears in.)
../xdata/xsddb.c: In function `xsddb_save_program_status':
../xdata/xsddb.c:941: `last_update' undeclared (first use in this function)
../xdata/xsddb.c: In function `xsddb_save_host_status':
../xdata/xsddb.c:1054: `host_name' undeclared (first use in this function)
../xdata/xsddb.c: In function `xsddb_save_service_status':
../xdata/xsddb.c:1105: `host_name' undeclared (first use in this function)
../xdata/xsddb.c:1107: `description' undeclared (first use in this function)
../xdata/xsddb.c:1113: `temp_host' undeclared (first use in this function)
make[1]: *** [xstatusdata-base.o] Error 1
make[1]: Leaving directory `/usr/local/nagios/base'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030911/e30d3f3e/attachment.html>


More information about the Users mailing list