[Nagiosplug-help] make error on plugins
Steve Gill
Steve.Gill at kcom.com
Thu Mar 1 09:16:57 CET 2007
Hi all
The configure script ran ok but this error happened when I did the make
mysql is installed and running ok
Steve
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap
-I/usr/include -I/usr/include/mysql -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT
check_mysql-check_mysql.o -MD -MP -MF
".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o
`test -f 'check_mysql.c' || echo './'`check_mysql.c; \
then mv -f ".deps/check_mysql-check_mysql.Tpo"
".deps/check_mysql-check_mysql.Po"; else rm -f
".deps/check_mysql-check_mysql.Tpo"; exit 1; fi
check_mysql.c:51:19: error: mysql.h: No such file or directory
check_mysql.c:52:20: error: errmsg.h: No such file or directory
check_mysql.c:58: error: âMYSQL_PORTâ undeclared here (not in a
function)
check_mysql.c: In function âmainâ:
check_mysql.c:73: error: âMYSQLâ undeclared (first use in this function)
check_mysql.c:73: error: (Each undeclared identifier is reported only
once
check_mysql.c:73: error: for each function it appears in.)
check_mysql.c:73: error: expected â;â before âmysqlâ
check_mysql.c:74: error: âMYSQL_RESâ undeclared (first use in this
function)
check_mysql.c:74: error: âresâ undeclared (first use in this function)
check_mysql.c:75: error: âMYSQL_ROWâ undeclared (first use in this
function)
check_mysql.c:75: error: expected â;â before ârowâ
check_mysql.c:91: error: âmysqlâ undeclared (first use in this function)
check_mysql.c:93: error: âMYSQL_READ_DEFAULT_GROUPâ undeclared (first
use in this function)
check_mysql.c:97: error: âCR_UNKNOWN_HOSTâ undeclared (first use in this
function)
check_mysql.c:99: error: âCR_VERSION_ERRORâ undeclared (first use in
this function)
check_mysql.c:101: error: âCR_OUT_OF_MEMORYâ undeclared (first use in
this function)
check_mysql.c:103: error: âCR_IPSOCK_ERRORâ undeclared (first use in
this function)
check_mysql.c:105: error: âCR_SOCKET_CREATE_ERRORâ undeclared (first use
in this function)
check_mysql.c:112: warning: passing argument 1 of âstrlenâ makes pointer
from integer without a cast
check_mysql.c:112: warning: passing argument 2 of
â__builtin___memcpy_chkâ makes pointer from integer without a cast
check_mysql.c:112: warning: passing argument 2 of â__memcpy_ichkâ makes
pointer from integer without a cast
check_mysql.c:112: warning: passing argument 1 of â__strdupâ makes
pointer from integer without a cast
check_mysql.c:116: error: âCR_SERVER_GONE_ERRORâ undeclared (first use
in this function)
check_mysql.c:118: error: âCR_SERVER_LOSTâ undeclared (first use in this
function)
check_mysql.c:120: error: âCR_UNKNOWN_ERRORâ undeclared (first use in
this function)
check_mysql.c:127: warning: passing argument 1 of âstrlenâ makes pointer
from integer without a cast
check_mysql.c:127: warning: passing argument 2 of
â__builtin___memcpy_chkâ makes pointer from integer without a cast
check_mysql.c:127: warning: passing argument 2 of â__memcpy_ichkâ makes
pointer from integer without a cast
check_mysql.c:127: warning: passing argument 1 of â__strdupâ makes
pointer from integer without a cast
check_mysql.c:134: warning: passing argument 1 of âstrlenâ makes pointer
from integer without a cast
check_mysql.c:134: warning: passing argument 2 of
â__builtin___memcpy_chkâ makes pointer from integer without a cast
check_mysql.c:134: warning: passing argument 2 of â__memcpy_ichkâ makes
pointer from integer without a cast
check_mysql.c:134: warning: passing argument 1 of â__strdupâ makes
pointer from integer without a cast
check_mysql.c:146: error: ârowâ undeclared (first use in this function)
check_mysql.c:147: warning: passing argument 1 of âstrlenâ makes pointer
from integer without a cast
check_mysql.c:147: warning: passing argument 2 of
â__builtin___memcpy_chkâ makes pointer from integer without a cast
check_mysql.c:147: warning: passing argument 2 of â__memcpy_ichkâ makes
pointer from integer without a cast
check_mysql.c:147: warning: passing argument 1 of â__strdupâ makes
pointer from integer without a cast
check_mysql.c:165: error: âMYSQL_FIELDâ undeclared (first use in this
function)
check_mysql.c:165: error: âfieldsâ undeclared (first use in this
function)
make[2]: *** [check_mysql-check_mysql.o] Error 1
make[2]: Leaving directory `/usr/local/nagios-plugins-1.4.6/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/nagios-plugins-1.4.6'
make: *** [all] Error 2
The content of this e-mail and any attachment is private and may be
legally privileged. If you are not
the intended recipient, any use, disclosure, copying or forwarding of
this e-mail and//or its
attachments is unauthorised. If you have received this e-mail in error
please notify the sender by e-
mail and delete this message and any attachments immediately from this
system.
Kingston Communications (HULL) PLC is a public limited company
incorporated in England and Wales
with registration number 02150618 and whose registered office is at 37
Carr Lane, Hull HU1 3RE
118288 - Kingston UK Directory Enquiries. Calls cost 9p per minute + 39p
connection, for up to 3
searches. Calls from mobiles and other networks may vary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20070301/9c6ecd1d/attachment.html>
More information about the Help
mailing list