removido
(usa Nenhuma)
Enviado em 09/08/2012 - 15:30h
Boa tarde a todos,
Estou tendo dificuldade em entender este problema para compilar o plugin do nagios 1.4.16 pois o mesmo está gerando dois erros.
Se alguem poder me ajudar ficarei grato.
root@alexandre:/home/alexandre/Downloads/nagios-plugins-1.4.16# make
make all-recursive
make[1]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16'
Making all in gl
make[2]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/gl'
make all-recursive
make[3]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/gl'
make[4]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/gl'
make[4]: Nada a ser feito para `all-am'.
make[4]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/gl'
make[3]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/gl'
make[2]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/gl'
Making all in tap
make[2]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/tap'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/tap'
Making all in lib
make[2]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/lib'
Making all in .
make[3]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/lib'
make[3]: Nada a ser feito para `all-am'.
make[3]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/lib'
Making all in tests
make[3]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/lib/tests'
make[3]: Nada a ser feito para `all'.
make[3]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/lib/tests'
make[2]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/lib'
Making all in plugins
make[2]: Entrando no diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/plugins'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"1.4.16"' -g -O2 -MT check_http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c
check_http.c: Na função ‘process_arguments’:
check_http.c:312:9: erro: ‘ssl_version’ undeclared (first use in this function)
check_http.c:312:9: nota: each undeclared identifier is reported only once for each function it appears in
check_http.c: Na função ‘redir’:
check_http.c:1217:18: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c: Na função ‘check_http’:
check_http.c:834:12: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:837:12: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:848:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:850:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:857:18: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:867:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:873:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:879:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:881:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:884:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:885:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:889:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:899:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:984:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:988:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:997:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1020:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1025:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1035:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1039:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1059:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1072:18: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1074:18: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1080:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1096:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1099:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:1110:12: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c: Na função ‘check_document_dates’:
check_http.c:693:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:696:14: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:703:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:706:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:709:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:714:18: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:717:18: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c: Na função ‘process_arguments’:
check_http.c:268:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:397:16: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
check_http.c: Na função ‘main’:
check_http.c:150:12: aviso: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
make[2]: ** [check_http.o] Erro 1
make[2]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16/plugins'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/alexandre/Downloads/nagios-plugins-1.4.16'
make: ** [all] Erro 2
root@alexandre:/home/alexandre/Downloads/nagios-plugins-1.4.16#