I'm installing nagios on a server, when trying to run "make all" under nrpe I get this error message:
What can I do to fix this, any helpw ould be appreciated.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
Thanks.