NagiosEnterprises / nrpe

NRPE Agent
GNU General Public License v2.0
263 stars 134 forks source link

check_nrpe 3.2.1 not compiling in Devuan Ascii #190

Closed mksmr closed 1 month ago

mksmr commented 6 years ago

After (AFAICS) configuring without problems, the module doesn't build. Here's the output of ./configure: configure.out.txt

...and this is what I get:

root@nagios01:~/nrpe-3.2.1# make nrpe
cd ./src/; make
make[1]: Verzeichnis „/root/nrpe-3.2.1/src“ wird betreten
gcc -g -O2 -I/usr/include/krb5  -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto -lnsl -lwrap  
In file included from ./nrpe.c:45:0:
./../include/dh.h: In function ‘get_dh2048’:
./../include/dh.h:46:17: warning: implicit declaration of function ‘DH_set0_pqg’ [-Wimplicit-function-declaration]
             || !DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) {
                 ^~~~~~~~~~~
/tmp/cc4YVgCO.o: In function `get_dh2048':
/root/nrpe-3.2.1/src/./../include/dh.h:46: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:48: die Regel für Ziel „nrpe“ scheiterte
make[1]: *** [nrpe] Fehler 1
make[1]: Verzeichnis „/root/nrpe-3.2.1/src“ wird verlassen
Makefile:77: die Regel für Ziel „nrpe“ scheiterte
make: *** [nrpe] Fehler 2
root@nagios01:~/nrpe-3.2.1# 

Any ideas on this? TIA Matthias

wytcld commented 5 years ago

Compilation fails on Ubuntu 18.04.1 with:

/tmp/ccSKhAGp.o: In function get_dh2048': /usr/src/nrpe/src/./../include/dh.h:46: undefined reference toDH_set0_pqg'

So ... same.

taigrr commented 4 years ago

https://github.com/NagiosEnterprises/nrpe/issues/93#issuecomment-295871161

This comment addresses the issue