[Nagiosplug-help] Complie Error on Plugin 1.4A (MYSQL)

Christopher D. Chandler chris at dhinnovations.com
Mon Aug 30 10:27:04 CEST 2004


All, 

 

I am trying to complie the new plugins and getting the following error:

 

make[1]: Entering directory
`/downloads/nagios-plugins-1.4.0alpha1/plugins'

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/include
-I/usr/include   -I/usr/kerberos/include  -g -O2 -MT check_mysql.o -MD
-MP -MF ".deps/check_mysql.Tpo" \

  -c -o check_mysql.o `test -f 'check_mysql.c' || echo
'./'`check_mysql.c; \

then mv -f ".deps/check_mysql.Tpo" ".deps/check_mysql.Po"; \

else rm -f ".deps/check_mysql.Tpo"; exit 1; \

fi

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'

make[1]: *** [check_mysql.o] Error 1

make[1]: Leaving directory
`/downloads/nagios-plugins-1.4.0alpha1/plugins'

make: *** [install-recursive] Error 1

[root at dh24 nagios-plugins-1.4.0alpha1]# 

You have new mail in /var/spool/mail/root

[root at dh24 nagios-plugins-1.4.0alpha1]#

 

Thanks - Chris

 

 

Christopher D. Chandler    Managing Partner

Office: 919-481-9876
Mobile: 919-274-7684                              

 

chris at dhinnovations.com <mailto:chris at dhinnovations.com> 

 

DH Innovations, LLC
Post Office Box 5335 | Cary, North Carolina 27512

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20040830/cffd33b2/attachment.html>


More information about the Help mailing list