any ideas

Steve steve at n2sw.com
Wed Jul 21 16:38:55 CEST 2004


this is on solaris 9 

conf looks like this 

 ./configure --with-gd-inc=/usr/local/include/ --with-gd-lib=/usr/local/include/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-default-comments --with-default-status --with-mysql-retention --with-template-objects --with-mysql-downtime --with-mysql-lib=/usr/local/src/mysql-max-4.0.20-sun-solaris2.9-sparc/include/ --enable-embedded-perl --with-perlcache




bash-2.05# /usr/local/bin/make all
cd ./base && /usr/local/bin/make
make[1]: Entering directory `/usr/local/src/nagios-1.2/base'
/usr/local/bin/gcc -g -O2 -I/usr/local/include/  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/local/lib/perl5/5.8.4/sun4-solaris/CORE  -DHAVE_CONFIG_H -DNSCORE -L/usr/local/src/mysql-max-4.0.20-sun-solaris2.9-sparc/include/ -L/usr/local/include/ -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/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c   /usr/local/lib/perl5/5.8.4/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.4/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lm -o nagios
../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory
../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory
../xdata/xrddb.c:59: error: parse error before "xrddb_mysql"
../xdata/xrddb.c:59: warning: data definition has no type or storage class
../xdata/xrddb.c: In function `xrddb_read_program_information':
../xdata/xrddb.c:823: error: `MYSQL_RES' undeclared (first use in this function)
../xdata/xrddb.c:823: error: (Each undeclared identifier is reported only once
../xdata/xrddb.c:823: error: for each function it appears in.)
../xdata/xrddb.c:823: error: `query_result' undeclared (first use in this function)
../xdata/xrddb.c:824: error: `MYSQL_ROW' undeclared (first use in this function)
../xdata/xrddb.c:824: error: parse error before "result_row"
../xdata/xrddb.c:854: error: `result_row' undeclared (first use in this function)
../xdata/xrddb.c: In function `xrddb_read_host_information':
../xdata/xrddb.c:921: error: `MYSQL_RES' undeclared (first use in this function)
../xdata/xrddb.c:921: error: `query_result' undeclared (first use in this function)
../xdata/xrddb.c:922: error: `MYSQL_ROW' undeclared (first use in this function)
../xdata/xrddb.c:922: error: parse error before "result_row"
../xdata/xrddb.c:955: error: `result_row' undeclared (first use in this function)
../xdata/xrddb.c: In function `xrddb_read_service_information':
../xdata/xrddb.c:1098: error: `MYSQL_RES' undeclared (first use in this function)
../xdata/xrddb.c:1098: error: `query_result' undeclared (first use in this function)
../xdata/xrddb.c:1099: error: `MYSQL_ROW' undeclared (first use in this function)
../xdata/xrddb.c:1099: error: parse error before "result_row"
../xdata/xrddb.c:1133: error: `result_row' undeclared (first use in this function)
^Cmake[1]: *** [nagios] Interrupt
make: *** [all] Error 130

bash-2.05#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040721/0b47899f/attachment.html>


More information about the Users mailing list