I’m having some issues while trying to compile NPRE.
All my install is done into /tools/nagios, ssl 0.98f has been compiled from source and installed in /tools/ssl/
When I ./configure NRPE all goes OK, but in the first stages of make it fails with:
cd ./src/; make ; cd …
gcc -g -O2 -I/tools/ssl/include/openssl -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/tools/ssl/lib -lssl -lcrypto -lnsl -lsocket ./snprintf.o
In file included from …/include/config.h:238,
/tools/ssl/include/openssl/rsa.h:90: error: syntax error before “RSA”
/tools/ssl/include/openssl/rsa.h:93: error: syntax error before “RSA”
(and so on)
I’ve tried also with the Blastwave SSL package, same result.
Any idea anyone ?