Hi,everybody!<br>My question is I'm going to compiling nrpe on my solaris box 9,it occured some erroes:<br><br>root@ebackup # /Solaris/make-3.82/make all<br>cd ./src/; /Solaris/make-3.82/make ; cd ..<br>make[1]: Entering directory `/Solaris/nrpe-2.13/src'<br>
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H   -c -o snprintf.o snprintf.c<br>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<br>
acl.c: In function `parse_allowed_hosts':<br>acl.c:418: warning: assignment makes pointer from integer without a cast<br>acl.c:428: warning: assignment makes pointer from integer without a cast<br>Undefined                       first referenced<br>
 symbol                             in file<br>isblank                             /var/tmp//ccT84dbE.o<br>ld: fatal: Symbol referencing errors. No output written to nrpe<br>collect2: ld returned 1 exit status<br>make[1]: *** [nrpe] Error 1<br>
make[1]: Leaving directory `/Solaris/nrpe-2.13/src'<br><br>my configure commandis:<br>./configure --with-ssl=/usr/local/ssl/lib --with-ssl-lib=/usr/sfw/lib --prefix=/usr/local/nagios<br><br>And the make is download from the GNU website and commpiled.<br>
root@ebackup # make --version<br>GNU Make 3.82<br>Built for sparc-sun-solaris2.9<br>Copyright (C) 2010  Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>My NRPE version is:nrpe-2.13<br>And the lasted is,I refer the blog:<a href="http://utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/">http://utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/</a> to modify the NRPE code.<br>
<br>Thanks all!<span id="result_box" class="short_text" lang="en"><span class="">Forgive my poor English!<br></span></span>