Question Locked

Nagios nrpe on solaris Make error

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to compile the nrpe 2.8.1 plugin on a Solaris 8 server and the make is failing. The configure went fine.

I read all the documentation and saw nothing related.

Any ideas?
Thanks
-------------------------------

arielle% ./configure
arielle% make
cd ./src/; make ; cd ..
make[1]: Entering directory `/home1/users/cross/nrpe-2.8.1/src'
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lsocket -lwrap -liberty
nrpe.c: In function `wait_for_connections':
nrpe.c:634: error: storage size of `req' isn't known
nrpe.c:824: error: `RQ_DAEMON' undeclared (first use in this function)
nrpe.c:824: error: (Each undeclared identifier is reported only once
nrpe.c:824: error: for each function it appears in.)
nrpe.c:824: error: `RQ_FILE' undeclared (first use in this function)
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/home1/users/cross/nrpe-2.8.1/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.

2 replies

by csgonan

I found out that the reason for this error was that there was no tcpd.h file in /usr/includes. Once I put one in there it compiled fine.

This discussion is closed to new replies.