[Nagiosplug-devel] [ nagiosplug-Bugs-1117643 ] Problems compiling 1.4 on Solaris 8 x86

SourceForge.net noreply at sourceforge.net
Sun Feb 6 18:53:18 CET 2005


Bugs item #1117643, was opened at 2005-02-06 20:52
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=1117643&group_id=29880

Category: Parsing problem
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Russell (ellipses)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems compiling 1.4 on Solaris 8 x86

Initial Comment:
make errored on compling check_icmp.
------<snip>----------------------------------------
gcc  -g -O2  -L. -R/usr/local/ssl/lib -L/usr/local/ssl/lib -o 
check_icmp  check_icmp.o  ../intl/libintl.a -liconv -lgen -
lsocket  -I/usr/local/ssl/include
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 
`/usr/local/support/src/monitor/nagios-plugins-
1.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/usr/local/support/src/monitor/nagios-plugins-1.4'
make: *** [all] Error 2
----------<snip>--------------------------------

 gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-
solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)


edited plugins/Makefile 

# diff Makefile Makefile.orig
419c419
< check_icmp_LDADD = -lnsl
---
> check_icmp_LDADD =


attaching config.log

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

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




More information about the Devel mailing list