Question beyond make on Solaris 9 : isblank-ld: fatal:
Luo Li
lilogohard at gmail.com
Fri Aug 17 09:41:21 CEST 2012
Hi,everybody!
My question is I'm going to compiling nrpe on my solaris box 9,it occured
some erroes:
root at 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 at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120817/e617a241/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list