[Nagiosplug-help] compilation error, conflicting types for `m y_connect'
Voon, Ton
Ton.Voon at egg.com
Fri May 14 08:17:04 CEST 2004
Laurent,
I think this is fixed in CVS HEAD. Can you try the snapshot at
http://nagiosplug.sf.net/snapshot.
Ton
-----Original Message-----
From: laurent Schweizer [mailto:laurent.schweizer at eivd.ch]
Sent: 14 May 2004 14:56
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] compilation error, conflicting types for
`my_connect'
Hello,
when i try to compile plugins for nagios I a have this error:
Making all in plugins
make[2]: Entering directory
`/usr/local/src/source/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/usr/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[2]: *** [check_mysql.o] Error 1
make[2]: Leaving directory
`/usr/local/src/source/nagios-plugins-1.4.0alpha1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/source/nagios-plugins-1.4.0alpha1'
make: *** [all] Error 2
Thanks
Schweizer Laurent
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
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
This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
is authorised and regulated by the Financial Services Authority. Egg
Investments Ltd. is entered in the FSA register under number 190518.
Registered in England and Wales. Registered offices: 1 Waterhouse
Square, 138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have received
it in error, please notify the sender by replying with 'received in
error' as the subject and then delete it from your mailbox.
More information about the Help
mailing list