Nagios plugins sslutils error while using the make command

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
DishaDoshi
Posts: 2
Joined: Wed Jan 11, 2023 11:58 pm

Nagios plugins sslutils error while using the make command

Post by DishaDoshi »

Making all in plugins
make[2]: Entering directory `/home/userapp/Disha/nagios/nagios-plugins-2.2.1/plugins'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/include -I/usr/include -DNP_VERSION='"2.2.1"' -g -O2 -MT sslutils.o -MD -MP -MF .deps/sslutils.Tpo -c -o sslutils.o sslutils.c
sslutils.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sslutils.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sslutils.c: In function ‘np_net_ssl_init_with_hostname_version_and_cert’:
sslutils.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sslutils.c:51: error: ‘method’ undeclared (first use in this function)
sslutils.c:51: error: (Each undeclared identifier is reported only once
sslutils.c:51: error: for each function it appears in.)
sslutils.c:69: error: ‘SSL_OP_NO_SSLv2’ undeclared (first use in this function)
sslutils.c:69: error: ‘SSL_OP_NO_TLSv1’ undeclared (first use in this function)
sslutils.c:134: error: ‘c’ undeclared (first use in this function)
sslutils.c:139: error: ‘SSL_FILETYPE_PEM’ undeclared (first use in this function)
sslutils.c:152: error: ‘SSL_MODE_AUTO_RETRY’ undeclared (first use in this function)
sslutils.c:153: error: ‘s’ undeclared (first use in this function)
sslutils.c: In function ‘np_net_ssl_cleanup’:
sslutils.c:174: error: ‘s’ undeclared (first use in this function)
sslutils.c:180: error: ‘c’ undeclared (first use in this function)
sslutils.c: In function ‘np_net_ssl_write’:
sslutils.c:189: error: ‘s’ undeclared (first use in this function)
sslutils.c: In function ‘np_net_ssl_read’:
sslutils.c:193: error: ‘s’ undeclared (first use in this function)
sslutils.c: In function ‘np_net_ssl_check_cert’:
sslutils.c:198: error: ‘X509’ undeclared (first use in this function)
sslutils.c:198: error: ‘certificate’ undeclared (first use in this function)
sslutils.c:199: error: ‘X509_NAME’ undeclared (first use in this function)
sslutils.c:199: error: ‘subj’ undeclared (first use in this function)
sslutils.c:206: error: ‘ASN1_STRING’ undeclared (first use in this function)
sslutils.c:206: error: ‘tm’ undeclared (first use in this function)
sslutils.c:217: error: ‘s’ undeclared (first use in this function)
sslutils.c:230: error: ‘NID_commonName’ undeclared (first use in this function)
sslutils.c:238: error: ‘V_ASN1_UTCTIME’ undeclared (first use in this function)
make[2]: *** [sslutils.o] Error 1
make[2]: Leaving directory `/home/userapp/Disha/nagios/nagios-plugins-2.2.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/userapp/Disha/nagios/nagios-plugins-2.2.1'
make: *** [all] Error 2
Post Reply