Fw: compile nagios --with-file-perfdata

Jeyri Bautista jbautista at intercable.net.ve
Mon Jun 21 17:00:57 CEST 2004


Hi, I´m trying to compile the nagios with the performance data file based, 

but I execute the ./configure 

./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-file-perfdata --with-template-extinfo

But when I execute make all appear the following error:

[user at nagios nagios-1.2]# make all
cd ./base && make
make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  nagios.c checks.o config.o commands.o flapp
ing.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrdde
fault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/
xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/x
pdfile.c ../common/downtime.c ../xdata/xdddefault.c    -lm -o nagios
perfdata.o: In function `initialize_performance_data':
/usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to `xpddefault_initialize_performance_data'
perfdata.o: In function `cleanup_performance_data':
/usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to `xpddefault_cleanup_performance_data'
perfdata.o: In function `update_service_performance_data':
/usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to `xpddefault_update_service_performance_data'
perfdata.o: In function `update_host_performance_data':
/usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to `xpddefault_update_host_performance_data'
collect2: ld devolvió el estado de salida 1
make[1]: *** [nagios] Error 1
make[1]: Saliendo directorio `/usr/src/nagios-1.2/base'
make: *** [all] Error 2

When I compile whit the --with-default-perfdata all is fine.

What can I do to solve that?

Thanks,

Jeyri





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040621/d15659bb/attachment.html>


More information about the Users mailing list