[Nagiosplug-devel] [ nagiosplug-Bugs-1119142 ] Solrais9: make abort with Error 2
SourceForge.net
noreply at sourceforge.net
Fri Feb 11 00:09:19 CET 2005
Bugs item #1119142, was opened at 2005-02-09 08:43
Message generated for change (Comment added) made by zxr750
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
----------------------------------------------------------------------
Comment By: Alex Peeters (zxr750)
Date: 2005-02-11 09:06
Message:
Logged In: YES
user_id=590764
When you remove alle the references to check_icmp from the
nagios-plugins-1.4/plugins/makefile then you can already
compile the other plugins.
-- Alex Peeters
----------------------------------------------------------------------
Comment By: Alex Peeters (zxr750)
Date: 2005-02-11 09:00
Message:
Logged In: YES
user_id=590764
I have the same problem!!!
# make
make all-recursive
make[1]: Entering directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4'
Making all in intl
make[2]: Entering directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/intl'
Making all in lib
make[2]: Entering directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/lib'
make all-am
make[3]: Entering directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/lib'
make[2]: Leaving directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/lib'
Making all in plugins
make[2]: Entering directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/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)
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 `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/nagios/nagios-
plugins/nagios-plugins-1.4'
make: *** [all] Error 2
Alex Peeters
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1119142&group_id=29880
More information about the Devel
mailing list