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

extern.Lars.Oeschey at AUDI.DE extern.Lars.Oeschey at AUDI.DE
Wed Sep 8 03:27:15 CEST 2004


Same here. It happened after I uninstalled mysql 3.23 and installed 4.0,
since PerfParse needs this. Seems to be some header changes in the
mysql-devel stuff, is there perhaps some fix for this?
 
Lars

-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of
Christopher D. Chandler
Sent: Monday, August 30, 2004 7:32 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Complie Error on Plugin 1.4A (MYSQL)



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                              

 

 <mailto:chris at dhinnovations.com> 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/20040908/b4d19185/attachment.html>


More information about the Help mailing list