Compiling nrpe on Solaris 9

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gjwaite
Posts: 1
Joined: Wed May 09, 2012 2:58 pm

Compiling nrpe on Solaris 9

Post by gjwaite »

Hi everyone. I'm trying to install nrpe on a Solaris 9 machine from source and right off the bad I get a compile error I don't understand:

Code: Select all

make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/usr/share/src/nrpe-2.13/src'
gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c acl.c  -lnsl -lsocket -lwrap ./snprintf.o -liberty
acl.c: In function `parse_allowed_hosts':
acl.c:418: warning: assignment makes pointer from integer without a cast
acl.c:428: warning: assignment makes pointer from integer without a cast
Undefined                       first referenced
 symbol                             in file
isblank                             /var/tmp//ccnWmb1M.o
ld: fatal: Symbol referencing errors. No output written to nrpe
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/usr/share/src/nrpe-2.13/src'
My guess is its a dependency issue but I'm only guessing. I've tried Google and found nothing. Can anyone point me in the right direction as to how to resolve this issue?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Compiling nrpe on Solaris 9

Post by agriffin »

The fact that the file is referenced as /var/tmp//ccnWmb1M.o in the error message makes me think the configure script might have gone wrong somewhere (notice the two adjacent slashes). I really don't know for sure though; good luck figuring it out! If you uncover anything else maybe post it here again.
Locked