Page 1 of 1

Compiling nrpe on Solaris 9

Posted: Wed May 09, 2012 3:05 pm
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?

Re: Compiling nrpe on Solaris 9

Posted: Mon May 14, 2012 9:58 am
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.