Compiling NRPE (Solaris 10/x86)

Hello all,

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:

[08:28:34|root@bergen:~/nagios/nrpe-2.12] make
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,
from …/include/common.h:24,
from nrpe.c:21:
/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 ?

Regards,

Jeff