make all for nrpe issues

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.
Locked
jtvdw
Posts: 2
Joined: Mon May 11, 2020 4:42 pm

make all for nrpe issues

Post by jtvdw »

Hi,

I'm installing nagios on a server, when trying to run "make all" under nrpe I get this error message:
root@fbwh01 /web/sites/monitor.liquorice.co.za/nrpe-3.2.1 # make all
cd ./src/; make
make[1]: Entering directory '/web/sites/monitor.liquorice.co.za/nrpe-3.2.1/src'
gcc -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/lib/x86_64-linux-gnu -lssl -lcrypto -lnsl
In file included from ./nrpe.c:45:0:
./../include/dh.h: In function ‘get_dh2048’:
./../include/dh.h:36:4: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
^
Makefile:48: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/web/sites/monitor.liquorice.co.za/nrpe-3.2.1/src'
Makefile:65: recipe for target 'all' failed
make: *** [all] Error 2
What can I do to fix this, any helpw ould be appreciated.

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: make all for nrpe issues

Post by ssax »

Are you on Debian Stretch? If not, what OS/version?

https://github.com/NagiosEnterprises/nrpe/issues/93

What version of openssl are you running?

Code: Select all

openssl version
jtvdw
Posts: 2
Joined: Mon May 11, 2020 4:42 pm

Re: make all for nrpe issues

Post by jtvdw »

Hi,

Thanks for the reply, please see below:

root@server# openssl version
OpenSSL 1.0.2g 1 Mar 2016

root@server# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

I will check out the link and please let me know if you need more info.

Thanks.
Locked