It appears that these defines that are referenced in
check_mysql.c are not defined anywhere. I looked
around in the mysql headers and could not find them.
I have the following MySQL packages installed:
MySQL_GPL-3.20.32a-18mdk
MySQL_GPL-bench-3.20.32a-18mdk
MySQL_GPL-client-3.20.32a-18mdk
MySQL_GPL-devel-3.20.32a-18mdk
MySQL_GPL-resolveip-3.20.32a-18mdk
MySQL_GPL-shared-libs-3.20.32a-18mdk
perl-Mysql-1.19_14-1mdk
Error messages below:
check_mysql.c: In function `main':
check_mysql.c:52: `CR_UNKNOWN_HOST' undeclared (first
use in this function)
check_mysql.c:52: (Each undeclared identifier is
reported only once
check_mysql.c:52: for each function it appears in.)
check_mysql.c:56: `CR_VERSION_ERROR' undeclared (first
use in this function)
check_mysql.c:60: `CR_OUT_OF_MEMORY' undeclared (first
use in this function)
check_mysql.c:64: `CR_IPSOCK_ERROR' undeclared (first
use in this function)
check_mysql.c:68: `CR_SOCKET_CREATE_ERROR' undeclared
(first use in this functio
n)
check_mysql.c:85: `CR_SERVER_GONE_ERROR' undeclared
(first use in this function)
check_mysql.c:89: `CR_SERVER_LOST' undeclared (first
use in this function)
check_mysql.c:93: `CR_UNKNOWN_ERROR' undeclared (first
use in this function)
make[1]: *** [check_mysql.o] Error 1
make[1]: Leaving directory `/usr/src/netsaint/netsaint-
plugins-1.2.9-2/plugins'
make: *** [all-recursive] Error 1