Compiling MySQL NEB Module

Mohr James james.mohr at elaxy.com
Wed Jun 8 16:08:13 CEST 2005


Hi All!

When running make on the MySQL NEB Module I get:

inserter.c: In function `nebmodule_init':
inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use
in this function)
inserter.c:130: error: (Each undeclared identifier is reported only once
inserter.c:130: error: for each function it appears in.)
make: *** [all] Error 1

I changed the makefile to point to the correct nagios include directory
and the mysql include directory was correct from the start:

all:
        gcc -g -O2 -Wall -o inserter.o inserter.c -shared
-I/opt/INSTALL/nagios/nagios.src/nagios-2.0b3/include
-I/usr/include/mysql -lmysqlclient -fPIC


I don't want to change the code to explizitely define it myself until I
am sure that is what I need to do. Any help is greatly appreaciated.

Regards,

Jim Mohr


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list