--with-mysql-xdata compilation error

Tom Schouteden tom.schouteden at gmail.com
Thu Sep 2 00:20:02 CEST 2004


hi

i'm trying to compile nagios 1.2 with mysql support using the
--with-mysql-xdata switch.  the configure process works ok, without
any errors.  but when i try to `make all` i get the following error:

gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -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
sretention.o: In function `save_state_information':
/home/tom/nagios-1.2/base/sretention.c:86: undefined reference to
`xrddefault_save_state_information'
sretention.o: In function `read_initial_state_information':
/home/tom/nagios-1.2/base/sretention.c:122: undefined reference to
`xrddefault_read_state_information'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/home/tom/nagios-1.2/base'
make: *** [all] Error 2

i googled for it and looked on the mailing lists but it only pops up
once or twice without ever providing some kind of solution.  anyone
knows what causes it and how it could be fixed

thanks

tom


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list