[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-users
Subject:    [Nagios-users] Question beyond make on Solaris 9 : isblank-ld: fatal:
From:       Luo Li <lilogohard () gmail ! com>
Date:       2012-08-17 7:41:21
Message-ID: CAEJ23UfoV-0VdmVdCek12XvRSyRz0NCB5WrcvNhpC-umUs7O1g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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!

[Attachment #5 (text/html)]

Hi,everybody!<br>My question is I&#39;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&#39;<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&#39;:<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&#39;<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 &lt;<a \
href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<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>



------------------------------------------------------------------------------
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic