[Nagiosplug-help] Compiling check_icmp.c on Solaris 8
Rancier, Jeff
Jeff.Rancier at Sensis.com
Thu May 12 12:28:33 CEST 2005
Hello,
Are there any new updates for this?
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>
More information about the Help
mailing list