[Nagiosplug-devel] [ nagiosplug-Bugs-1087171 ] 1.4alpha3: check_icmp fails build on solaris 8

SourceForge.net noreply at sourceforge.net
Fri Dec 17 09:48:08 CET 2004


Bugs item #1087171, was opened at 2004-12-17 12:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1087171&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Lynne Lawrence (lglawrence)
Assigned to: Nobody/Anonymous (nobody)
Summary: 1.4alpha3: check_icmp fails build on solaris 8

Initial Comment:
When building on a Solaris 8 server, check_icmp fail
build with:

gcc  -g -O2  -L. -L/usr/local/ssl/lib -o check_icmp 
check_icmp.o  ../intl/libintl.a -liconv -lgen -lsocket
-lssl -lcrypto
Undefined                       first referenced
 symbol                             in file
gethostbyaddr                       check_icmp.o 
(symbol belongs to implicit dependency
/usr/lib/libnsl.so.1)
inet_ntoa                           check_icmp.o 
(symbol belongs to implicit dependency
/usr/lib/libnsl.so.1)
inet_addr                           check_icmp.o 
(symbol belongs to implicit dependency
/usr/lib/libnsl.so.1)
gethostbyname                       check_icmp.o 
(symbol belongs to implicit dependency
/usr/lib/libnsl.so.1)
h_errno                             check_icmp.o 
(symbol belongs to implicit dependency
/usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written
to check_icmp
collect2: ld returned 1 exit status
make[2]: *** [check_icmp] Error 1

This is because the necessary -lnsl is missing.  When I
modify plugins/Makefile as follows:

check_icmp_LDADD = $(LDADD) $(SOCKETLIBS)

it will compile.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1087171&group_id=29880




More information about the Devel mailing list