[Nagiosplug-help] Can't compile plugins from CVS. Maybe related to MySQL4?

Florian Huber florian.huber at mnet-online.de
Fri Nov 21 08:09:06 CET 2003


Hello ML,
I cannot compile the plugins from the CVS. Nagios itself did compile
cleanly.
The error appears at this point:

gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap  -I/usr/include  
  -g -O2 -c `test -f check_mysql.c || echo './'`check_mysql.c 

In file included from /usr/include/mysql/mysql.h:57,
from check_mysql.c:25:
/usr/include/mysql/mysql_com.h:181: conflicting types for `my_connect'
netutils.h:50: previous declaration of `my_connect'

I'm using Gentoo Linux with mysql 4.0.13. FYI the nagios-1.1 ebuild
(for those who don't know gentoo, it's a kind of "package") is
working.

Has someone alread experienced this problem?

TIA
	Florian Huber




More information about the Help mailing list