[Nagiosplug-devel] [ nagiosplug-Bugs-1119142 ] Solrais9: make abort with Error 2

Andreas Ericsson ae at op5.se
Wed Feb 9 01:03:30 CET 2005


Can someone please add $(SOCKETLIBS) to check_icmp_LDADD in Makefile.am? 
I assume $(SOCKETLIBS) would contain -lnsl -lsocket on Solaris and SunOS.

SourceForge.net wrote:
> Bugs item #1119142, was opened at 2005-02-09 07:43
> 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=1119142&group_id=29880
> 
> Category: None
> Group: Release (specify)
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: KlausW (osumok)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Solrais9: make abort with Error 2
> 
> Initial Comment:
> nagios-plugins-1.4
> Using Solaris 9/Sparc make exits with Error2: 
> nagios-plugins-1.3.1 works well
> .....make...:
> ...depmode=gcc /bin/bash ../depcomp gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
>   -g -O2 -c check_icmp.c
> gcc  -g -O2  -L. -o check_icmp  check_icmp.o 
> ../intl/libintl.a  -lgen -lsocket  
> Undefined                       first referenced
>  symbol                             in file
> gethostbyname                       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)
> inet_ntoa                           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
> make[2]: Leaving directory
> `/tmp2/NAGIOS/nagios-plugins-1.4/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/tmp2/NAGIOS/nagios-plugins-1.4'
> make: *** [all] Error 2
> 
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1119142&group_id=29880
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Devel mailing list