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

jeff vier jeff.vier at tradingtechnologies.com
Fri Nov 21 08:34:32 CET 2003


use the attached patch.

I've had these problems for a long, long time, too :)

On Fri, 2003-11-21 at 08:27, Florian Huber wrote:
> 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
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-plugins-cvs+mysql.patch
Type: text/x-patch
Size: 1689 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20031121/3783f91e/attachment.bin>


More information about the Help mailing list