<br><font size=2 face="sans-serif">Looks like the same issue as I had with
1.1 and mysql.</font>
<br><font size=2 face="sans-serif">Whoops, no this is the solution that
worked for me not the last....  Sorry.</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
Steve O'Brien<br>
City of Bend<br>
Network Administrator<br>
sobrien@ci.bend.or.us<br>
541-322-6393</font><font size=3> <br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=32%><font size=1 face="sans-serif"><b>tnelson@starpoint.com</b>
</font>
<p><font size=1 face="sans-serif">08/21/2003 11:42 AM</font><font size=3>
</font>
<td width=67%>
<br>
<table width=100%>
<tr>
<td width=13%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=86% valign=top><font size=1 face="sans-serif">Steve OBrien <sobrien@ci.bend.or.us></font><font size=3>
</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Nagios-users] Errors
making Nagios with mysql</font></table>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=49%></table>
<br></table>
<br><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
<br>
I got those same errors.. it has to do w/ the way the makefile is written
(at least on slackware 9.0)..</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
find the link lines in the make files.. and add -lmysqlclient -lz jusr
before -o .. example.. from my base/Makefile</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
nagios: nagios.c $(OBJS) nagios.h $(SRC_COMMON)/locations.h</font><font size=3>
</font><font size=2 face="sans-serif"><br>
       $(CC) $(CFLAGS) $(LDFLAGS) nagios.c $(OBJS) $(PERLLIBS)
$(MATHLIBS) -lmysqlclient -lz -o $@</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
It seems that the version of ld we have doesn't hang on to the symbols
unless the libs are at the end..</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
Tony Nelson<br>
Director of IT Operations<br>
Starpoint Solutions<br>
115 Broadway, 2nd Fl.<br>
New York, NY 10006</font><font size=3><br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=1%>
<td width=43%><font size=1 face="sans-serif"><b>Steve OBrien <sobrien@ci.bend.or.us></b></font><font size=3>
</font><font size=1 face="sans-serif"><br>
Sent by: nagios-users-admin@lists.sourceforge.net</font><font size=3> </font>
<p><font size=1 face="sans-serif">08/21/2003 10:40 AM</font><font size=3>
</font>
<td width=54%><font size=1 face="Arial">        </font><font size=1 face="sans-serif"><br>
       To:        <nagios-users@lists.sourceforge.net></font><font size=3>
</font><font size=1 face="sans-serif"><br>
       cc:        </font><font size=3>
</font><font size=1 face="sans-serif"><br>
       Subject:        [Nagios-users]
Errors making Nagios with mysql</font></table>
<br><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
<br>
<br>
I am getting errors when I make all after configuring Nagios with mysql
support.  I have seen references to these errors on google and the
fix was to put LDFLAGS= -L/usr/lib/mysql -lmysqlclient in your Makefile,
well mine already had it in there.  Anyone else had this problem,
I already know that DB support is questionable for the future but to me
it makes no sense to log this data to flat files.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
<br>
[root@localhost nagios-1.1]# make all</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
cd ./base && make</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
make[1]: Entering directory `/home/system/src/nagios-1.1/base'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
gcc -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql
-lmysqlclient  nagios.c checks.o config.o commands.o flapping.o logging.o
notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c
../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c
../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c
../xdata/xdddb.c    -lm -o nagios</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x378): In function `xrddb_initialize':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:215: undefined reference to `mysql_init'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x3f2): In function `xrddb_connect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:252: undefined reference to `mysql_real_connect'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference
to `mysql_close'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x464): In function `xrddb_disconnect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:299: undefined reference to `mysql_close'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x47c): In function `xrddb_query':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:329: undefined reference to `mysql_query'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0xd98): In function `xrddb_read_program_information':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:850: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0xdb3):../xdata/xrddb.c:854: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0xe79):../xdata/xrddb.c:867: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0xf38): In function `xrddb_read_host_information':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:951: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0xf62):../xdata/xrddb.c:951: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x1124):../xdata/xrddb.c:1004: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x11b8): In function `xrddb_read_service_information':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xrddb.c:1129: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x11e2):../xdata/xrddb.c:1129: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cc1pKEPG.o(.text+0x1431):../xdata/xrddb.c:1195: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x378): In function `xcddb_initialize':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:234: undefined reference to `mysql_init'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x3ea): In function `xcddb_connect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:259: undefined reference to `mysql_real_connect'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x405):../xdata/xcddb.c:261: undefined reference
to `mysql_close'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x45c): In function `xcddb_disconnect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:303: undefined reference to `mysql_close'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x474): In function `xcddb_query':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:329: undefined reference to `mysql_query'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x5c3): In function `xcddb_validate_host_comments':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:477: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x5dd):../xdata/xcddb.c:477: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x673): In function `xcddb_validate_service_comments':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:566: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x68d):../xdata/xcddb.c:566: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x806): In function `xcddb_save_host_comment':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:748: undefined reference to `mysql_insert_id'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccTEGl8x.o(.text+0x9da): In function `xcddb_save_service_comment':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xcddb.c:847: undefined reference to `mysql_insert_id'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x3e4): In function `xsddb_initialize':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xsddb.c:253: undefined reference to `mysql_init'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x45e): In function `xsddb_connect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xsddb.c:286: undefined reference to `mysql_real_connect'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x479):../xdata/xsddb.c:288: undefined reference
to `mysql_close'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x4e0): In function `xsddb_disconnect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xsddb.c:335: undefined reference to `mysql_close'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x4f8): In function `xsddb_check_connection':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xsddb.c:363: undefined reference to `mysql_errno'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x571):../xdata/xsddb.c:369: undefined reference
to `mysql_close'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/cciRZnh0.o(.text+0x670): In function `xsddb_query':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xsddb.c:463: undefined reference to `mysql_query'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x378): In function `xdddb_initialize':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:234: undefined reference to `mysql_init'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x3ea): In function `xdddb_connect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:259: undefined reference to `mysql_real_connect'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x405):../xdata/xdddb.c:261: undefined reference
to `mysql_close'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x45c): In function `xdddb_disconnect':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:303: undefined reference to `mysql_close'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x474): In function `xdddb_query':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:329: undefined reference to `mysql_query'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x574): In function `xdddb_validate_host_downtime':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:473: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x58d):../xdata/xdddb.c:473: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x64c): In function `xdddb_validate_service_downtime':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:587: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x665):../xdata/xdddb.c:587: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x80a): In function `xdddb_save_host_downtime':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:788: undefined reference to `mysql_insert_id'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0x9e6): In function `xdddb_save_service_downtime':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:887: undefined reference to `mysql_insert_id'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xc1d): In function `xdddb_read_host_downtime':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:1107: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xc41):../xdata/xdddb.c:1107: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xd23):../xdata/xdddb.c:1116: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xd40):../xdata/xdddb.c:1149: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xd95): In function `xdddb_read_service_downtime':</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
../xdata/xdddb.c:1238: undefined reference to `mysql_store_result'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference
to `mysql_fetch_row'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
/tmp/ccFlpGYl.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference
to `mysql_free_result'</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
collect2: ld returned 1 exit status</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
make[1]: *** [nagios] Error 1</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
make[1]: Leaving directory `/home/system/src/nagios-1.1/base'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
make: *** [all] Error 2</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<br>
Steve O'Brien<br>
City of Bend<br>
Network Administrator<br>
sobrien@ci.bend.or.us<br>
541-322-6393</font><font size=3> <br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Shapiro, David"
<david.shapiro@bti.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: nagios-users-admin@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">09/11/2003 07:53 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">"'nagios-users@lists.sourceforge.net'"
<nagios-users@lists.sourceforge.net></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Nagios-users] compilation
error for 2.0-very-pre-alpha 08-18-2003</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Can anybody let me know what I should update/fix
to get this compilation to work?  </font>
<br><font size=3> </font>
<br><font size=2 face="Arial">Redhat Linux 2.4.2-2</font>
<br><font size=2 face="Arial">gdchart0.94c </font>
<br><font size=2 face="Arial">i686-pc-linux-gnu</font>
<br><font size=2 face="Arial">rrdtool-1.1.0 </font>
<br><font size=2 face="Arial">gd-1.8.3 </font>
<br><font size=2 face="Arial">gdbm-1.8.0</font>
<br><font size=2 face="Arial">gcc 3.0.4</font>
<br><font size=3> </font>
<br><font size=2 face="Arial">I did a make clean first.</font>
<br><font size=3> </font>
<br><font size=2 face="Arial">Buildt with:</font>
<br><font size=3> </font>
<br><font size=2 face="Arial">/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</font>
<br><font size=3> </font>
<br><font size=3> </font>
<br><font size=3> </font>
<br><font size=2 face="Arial">nagios 2.0-very-pre-alpha 08-18-2003 ***:</font>
<br><font size=3> </font>
<br><font size=2 face="Arial"> 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>
<br><font size=3> </font>
<br><font size=2 face="Arial"> Web Interface Options:<br>
 ------------------------<br>
                 HTML URL:  </font><a href=http://localhost/nagios/><font size=2 color=blue face="Arial"><u>http://localhost/nagios/</u></font></a><font size=2 face="Arial"><br>
                  CGI URL:
 </font><a href="http://localhost/nagios/cgi-bin/"><font size=2 color=blue face="Arial"><u>http://localhost/nagios/cgi-bin/</u></font></a><font size=2 face="Arial"><br>
 Traceroute (used by WAP):  /usr/sbin/traceroute</font>
<br><font size=3> </font>
<br><font size=2 face="Arial"> 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>
<br><font size=3> </font>
<br><font size=2 face="Arial"><br>
Review the options above for accuracy.  If they look okay,<br>
type 'make all' to compile the main program and CGIs.</font>
<br><font size=2 face="Arial"> </font>
<br><a href=mailto:root@netsaint:/usr/local/nagios><font size=2 color=blue face="Arial"><u>root@netsaint:/usr/local/nagios</u></font></a><font size=2 face="Arial">
#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</font><font size=2 color=blue face="Arial"><u><br>
</u></font><a href=mailto:root@netsaint:/usr/local/nagios><font size=2 color=blue face="Arial"><u>root@netsaint:/usr/local/nagios</u></font></a><font size=2 face="Arial">
#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>
<br>