Are you taking the version out of CVS, or the most recent package? I honestly
cannot recall if there is a difference.
On Mon, 27 Mar 2006, Danny Russell wrote:
Fellow Group Members,
I am running Nagios 2.0 stable. I am looking to add mysql database
support. I know the Nagios-db group exists and people have it working,
but I cannot get it to compile and I am running in to a brick wall. Are
there any instructions out there on it? A wiki? I am just looking for
some general help.
Here's my compile error:
[EMAIL PROTECTED] mysql]# make
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -lmysqlclient -fPIC
inserter.c: In function `nebmodule_init':
inserter.c:138: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast
inserter.c:138: error: too few arguments to function
`neb_register_callback'
inserter.c: In function `loadconfig':
inserter.c:343: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast
inserter.c:343: error: too few arguments to function
`neb_register_callback'
inserter.c:344: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast
inserter.c:344: error: too few arguments to function
`neb_register_callback'
inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast
inserter.c:345: error: too few arguments to function
`neb_register_callback'
inserter.c:346: warning: passing arg 3 of `neb_register_callback' makes
integer from pointer without a cast
inserter.c:346: error: too few arguments to function
`neb_register_callback'
make: *** [all] Error 1
[EMAIL PROTECTED] mysql]#
I have nagios-db-0.91 and nagios-2.0-2.2 on Centos 4.2.
Thanks!
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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