Hi,everybody!
My question is I'm going to compiling nrpe on my solaris box 9,it occured
some erroes:

root@ebackup # /Solaris/make-3.82/make all
cd ./src/; /Solaris/make-3.82/make ; cd ..
make[1]: Entering directory `/Solaris/nrpe-2.13/src'
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H   -c -o snprintf.o snprintf.c
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c acl.c -L/usr/local/ssl/lib  -lssl
-lcrypto -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//ccT84dbE.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 `/Solaris/nrpe-2.13/src'

my configure commandis:
./configure --with-ssl=/usr/local/ssl/lib --with-ssl-lib=/usr/sfw/lib
--prefix=/usr/local/nagios

And the make is download from the GNU website and commpiled.
root@ebackup # make --version
GNU Make 3.82
Built for sparc-sun-solaris2.9
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

My NRPE version is:nrpe-2.13
And the lasted is,I refer the blog:
http://utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/to
modify the NRPE code.

Thanks all!Forgive my poor English!
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to