--with-mysql-xdata compilation error

Tom Schouteden tom.schouteden at gmail.com
Mon Sep 6 17:18:02 CEST 2004


It's version 3.23.49 on Debian stable.
I haven't found the solution to this yet. And it seems actually nobody does.
Anyone has a solution for this?

thanks!!

tom

---
What version of MySQL? 

MySQL 4.x doesn't work, they changed the API....

mysql-3.23.58-1 works for me.  It's on RHEL V3 WS.

- Harper

Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)

-----Original Message-----
From: nagios-users-admin <at> lists.sourceforge.net
[mailto:nagios-users-admin <at> lists.sourceforge.net] On Behalf Of Tom
Schouteden
Sent: Wednesday, September 01, 2004 3:20 PM
To: nagios-users <at> lists.sourceforge.net
Subject: [Nagios-users] --with-mysql-xdata compilation error

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


-------------------------------------------------------
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


-------------------------------------------------------
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