Error while compiling with MySQL database support

Nicole Hähnel Nicole.Haehnel at epost.de
Thu Oct 10 13:40:13 CEST 2002


Hi,

I want to compile Nagios with MySQL database support,
but I get the following error:

/tmp/cc1ybAd3.o: In function `xdddb_read_service_downtime':
/usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1238: undefined reference to `mysql_store_result'
/usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row'
/usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1247: undefined reference to `mysql_free_result'
/usr/src/nagios-1.0b6/base/../xdata/xdddb.c:1280: undefined reference to `mysql_free_result'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/nagios-1.0b6/base«
make: *** [all] Fehler 2


Can anybody help me?


Thanks!

Nicole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021010/1e8f5d1e/attachment.html>


More information about the Users mailing list