i'm trying to install nrpe from source on a Debian
Linux wazo 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
i tested on the same debian 32 bits , with no problem. maybe 64 bits issues ?
Here the error :
Code: Select all
root@wazo:/tmp/nrpe-nrpe-3.2.1# make all
cd ./src/; make
make[1]: Entering directory '/tmp/nrpe-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->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
^
./../include/dh.h:37:4: error: dereferencing pointer to incomplete type
dh->g=BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL);
^
./../include/dh.h:38:9: error: dereferencing pointer to incomplete type
if ((dh->p == NULL) || (dh->g == NULL))
^
./../include/dh.h:38:28: error: dereferencing pointer to incomplete type
if ((dh->p == NULL) || (dh->g == NULL))
^
Makefile:48: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/tmp/nrpe-nrpe-3.2.1/src'
Makefile:65: recipe for target 'all' failed
make: *** [all] Error 2
Thanks for help,