compile fails with mysql support

extern.Lars.Oeschey at audi.de extern.Lars.Oeschey at audi.de
Wed Jan 7 14:39:41 CET 2004


Hi,

I want to recompile nagios with mysql support (want to take a look at
nagmin). Compile fails with this error:

make[1]: Entering directory `/home/oeschela/nagios-1.1/cgi'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o getcgi.o getcgi.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o cgiutils.o cgiutils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o auth.o auth.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o popen.o popen.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient  avail.c getcgi.o
cgiutils.o auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddb.c -o avail.cgi
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient  cmd.c  getcgi.o cgiutils.o
auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddb.c ../common/comments.c
../xdata/xcddb.c ../common/downtime.c ../xdata/xdddb.c -o cmd.cgi
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient  config.c  getcgi.o
cgiutils.o auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddb.c -o config.cgi
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -lmysqlclient  extinfo.c getcgi.o
cgiutils.o auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddb.c ../common/comments.c
../xdata/xcddb.c edata.o ../xdata/xeddb.c ../common/downtime.c
../xdata/xdddb.c -o extinfo.cgi
edata.o: In function `read_extended_object_config_data':
/home/oeschela/nagios-1.1/cgi/edata.c:85: undefined reference to
`xedtemplate_read_extended_object_config_data'
collect2: ld returned 1 exit status
make[1]: *** [extinfo.cgi] Error 1
make[1]: Leaving directory `/home/oeschela/nagios-1.1/cgi'
make: *** [all] Error 2


Anyone seen this before, or knows what happens?

Lars


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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