[Nagiosplug-help] check_http.c:64: error: expected '=', ',', '; ', 'asm' or '__attribute__' before '*' token
Guillén, Francisco [GFU]
fguillen at grupo-uno.com
Tue Aug 19 18:10:11 CEST 2008
Hi, good morning:
I was tried install nagios-plugins.1.4.12 but I has the next error:
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I .. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_http.o - MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c; \
then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f ".de ps/check_http.Tpo"; exit 1; fi
check_http.c:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[2]: *** [check_http.o] Error 1
make[2]: Leaving directory `/root/nagios-plugins-1.4.12/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.12'
make: *** [all] Error 2
This error show error in line 64 of check_http.c file. My file show this:
#ifdef HAVE_SSL
int check_cert = FALSE;
int days_till_exp;
char *randbuff;
********************** *********************************************************** line 64*********************************
X509 *server_cert;
# define my_recv(buf, len) ((use_ssl) ? np_net_ssl_read(buf, len) : read(sd, buf, len))
# define my_send(buf, len) ((use_ssl) ? np_net_ssl_write(buf, len) : send(sd, buf, len, 0))
#else /* ifndef HAVE_SSL */
# define my_recv(buf, len) read(sd, buf, len)
# define my_send(buf, len) send(sd, buf, len, 0)
#endif /* HAVE_SSL */
int no_body = FALSE;
int maximum_age = -1;
I don't know exactly mean.
¿Can't you help me?
Excuse my bad english.
Saludos cordiales................................
IMPORTANTE: A corto plazo esta dirección de correo electrónico será deshabilitada. Favor enviar sus mensajes a la dirección francisco.guillen at eds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080819/3da7bcb8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 15416 bytes
Desc: image001.jpg
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080819/3da7bcb8/attachment.jpg>
More information about the Help
mailing list