Search found 2 matches
- Mon Jul 23, 2012 10:47 am
- Forum: Open Source Nagios Projects
- Topic: plugins fail to compile
- Replies: 6
- Views: 1974
Re: plugins fail to compile
In check_http.c file the block of code using ssl_version is supposed to be in the #if macro. [b]#if HAVE_SSL[/b] use_ssl = TRUE; if (optarg == NULL || c != 'S') ssl_version = 0; else { ssl_version = atoi(optarg); if (ssl_version < 1 || ssl_version > 3) usage4 (_("Invalid option - Valib values f...
- Mon Jul 23, 2012 10:36 am
- Forum: Open Source Nagios Projects
- Topic: plugins fail to compile
- Replies: 6
- Views: 1974
Bug in plugin compilation
It appears there is a bug in the config script that prevents compilation of plugins when openssl library (package libssl-dev) is not installed. In compilation the error message reads check_http.c:312:9: error: "ssl_version" undeclared (first use in this function) If you open the C source f...