error compiling nagios w/ mysql support: mysql_real_connect

b_2_o b_2_o at hotmail.com
Tue May 27 23:49:25 CEST 2003


Hello,

when attempting to build nagios with mysql support, I receive the following error message: 

In function `xrddb_connect':
../xdata/xrddb.c:252: too many arguments to function `mysql_real_connect'

The version of mysql that I am using is 3.23.56
The version of nagios is 1.0
gcc is version 3.2.2 running on redhat linux

I used this to generate the makefiles: 

./configure --prefix=/usr/local/nagios --with-cgiurl=/usr/local/nagios/sbin --with-htmurl=/usr/local/nagios/share --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-inc=/usr/include/mysql

I have seen other people with problems compiling in the mysql support, but none seemed to be receiving this exact error

any help would be much appreciated, thanx

Robert


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
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