[Nagiosplug-help] Compiling check_icmp.c on Solaris 8

Andreas Ericsson ae at op5.se
Thu May 12 15:03:03 CEST 2005


Rancier, Jeff wrote:
> Hello,
> 
> Are there any new updates for this?  
> 

http://oss.op5.se/nagios/check_icmp-2005-03-30.tar.gz
Download, unpack and run 'make'.
You'll have to copy the resulting binary to the plugins directory manually.

> 
> Here's my system:	SunOS jrsun 5.8 Generic_108528-17 sun4u sparc
> SUNW,Sun-Blade-100
> Here's my error:
> 
> 93) jrsun:/export/home/jrancier/tmp/nagios-plugins-1.4/nagios-plugins-1.4>
> make
> make  all-recursive
> Making all in intl
> Making all in lib
> make  all-am
> Making all in plugins
> gcc  -g -O2  -L. -o check_icmp  check_icmp.o  ../intl/libintl.a -liconv
> -lgen -lsocket
> Undefined                       first referenced
>  symbol                             in file
> 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)
> 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
> *** Error code 1
> make: Fatal error: Command failed for target `check_icmp'
> Current working directory
> /export/home/jrancier/tmp/nagios-plugins-1.4/nagios-plugins-1.4/plugins
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory
> /export/home/jrancier/tmp/nagios-plugins-1.4/nagios-plugins-1.4
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 94) jrsun:/export/home/jrancier/tmp/nagios-plugins-1.4/nagios-plugins-1.4>
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 




More information about the Help mailing list