Originally posted by Anarusis
Chris, thank you for your reply.
There's only a few lines before that:
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/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 ".deps/check_http.Tpo"; exit 1; fi
I don't even know where to begin to start tracking anything down. I was able to compile nagios itself fine, I don't understand why the plugins would give me trouble.
I am getting the same error and have isolated it to line 64 of the check_http.c file which is called during the make compile. I have not been able to isolate the exact cause and am also looking for some help. Line 64 is SSL_CTX *ctx;. I have copied lines 60 - 71 from the check_http.c file below.
int check_cert = FALSE;
int connect_SSL (void);
int check_certificate (X509 **);
int no_body = FALSE;
int maximum_age = -1;