./nrpe.c:476:17: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
476 | DH_free(dh);
| ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/ssl.h:31,
from ../include/common.h:32:
/usr/include/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
./nrpe.c: In function ‘handle_conn_ssl’:
./nrpe.c

25: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2029 | while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
| ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld : /tmp/cczDbehp.o : dans la fonction « init_ssl » :
/home/Informatique/Nagios/nrpe-4.0.2/src/./nrpe.c:474 : référence indéfinie vers « get_dh2048 »
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:48 : nrpe] Erreur 1
make[1] : on quitte le répertoire « /home/Informatique/Nagios/nrpe-4.0.2/src »
make: *** [Makefile:80 : check_nrpe] Erreur 2
i suppose it's a SSL problem but i can't resolve this problem
can you help me please?
Regards
T Granier
that's what i have found but i don't know how to use it: