NRPE compilation error
Posted: Tue Oct 15, 2013 11:03 am
Can't seem to find a dedicated NRPE support forum, so I hope posting here isn't inappropriate.
I'm trying to compile NRPE 2.15 on CentOS 6.4 with ./configure --disable-ssl. This works without errors.
But:
Line 103 of nrpe.c:
and 1799:
NRPE compiles just fine if I leave the --disable-ssl flag off, but that's not an option I want to get into right now.
Does anyone have any suggestions?
Thanks
I'm trying to compile NRPE 2.15 on CentOS 6.4 with ./configure --disable-ssl. This works without errors.
But:
Code: Select all
[root@nagios nrpe-2.15]# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/home/tim/scratch/nrpe-2.15/src'
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lnsl -lwrap
./nrpe.c:103: error: expected ‘)’ before ‘*’ token
./nrpe.c:1799: error: expected ‘)’ before ‘*’ token
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/home/tim/scratch/nrpe-2.15/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.
Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.Code: Select all
void complete_SSL_shutdown( SSL *);Code: Select all
void complete_SSL_shutdown( SSL *ssl) {Does anyone have any suggestions?
Thanks