any ideas

Balestra, Roberto Roberto.Balestra at getronics.com
Wed Jul 21 15:24:01 CEST 2004


I think that you don't have mysql-devel installed on your system
Bye
    Roberto

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Steve
Sent: mercoledì 21 luglio 2004 16.39
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] any ideas


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/be18f6fb/attachment.html>


More information about the Users mailing list