[Nagiosplug-devel] [ nagiosplug-Bugs-1091547 ] compile error using 1.4alpha3 on check_icmp
SourceForge.net
noreply at sourceforge.net
Sun Dec 26 22:55:01 CET 2004
Bugs item #1091547, was opened at 2004-12-27 03:26
Message generated for change (Comment added) made by opensides
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1091547&group_id=29880
Category: None
>Group: CVS
Status: Open
Resolution: None
>Priority: 7
Submitted By: madhamster (madhamster)
>Assigned to: Benoit Mortier (opensides)
Summary: compile error using 1.4alpha3 on check_icmp
Initial Comment:
Using nagios-plugins-HEAD-200412231747, I get a compile
error on check_icmp using RedHat EL ES v3 update 4.
This is my path:
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/ssl:/usr/local/lib:/usr/local/include:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/X11R6/bin
This was the error dui\ring the 'make':
gcc -g -O2 -L. -L/usr/lib -o urlize urlize.o utils.o
../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o
-I/usr/include
if gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
-I/usr/include/ldap -I/include -I/include
-I/usr/kerberos/include -g -O2 -MT check_icmp.o -MD
-MP -MF ".deps/check_icmp.Tpo" -c -o check_icmp.o
check_icmp.c; then mv -f ".deps/check_icmp.Tpo"
".deps/check_icmp.Po"; else rm -f
".deps/check_icmp.Tpo"; exit 1; fi
gcc -g -O2 -L. -L/usr/lib -o check_icmp check_icmp.o
netutils.o utils.o ../lib/libnagiosplug.a
../lib/libcoreutils.a -lnsl -lresolv -I/usr/include
utils.o(.text+0x64): In function `usage':
/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:55:
multiple definition of `usage'
check_icmp.o(.text+0x19fc):/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/check_icmp.c:1345:
first defined here
/usr/bin/ld: Warning: size of symbol `usage' changed
from 359 in check_icmp.o to 36 in utils.o
utils.o(.text+0x78): In function `usage':
/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:57:
undefined reference to `print_usage'
utils.o(.text+0x96): In function `usage2':
/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:63:
undefined reference to `progname'
utils.o(.text+0xa5):/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:64:
undefined reference to `print_usage'
utils.o(.text+0xc6): In function `usage3':
/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:71:
undefined reference to `progname'
utils.o(.text+0xd5):/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:72:
undefined reference to `print_usage'
utils.o(.text+0xf3): In function `usage4':
/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:79:
undefined reference to `progname'
utils.o(.text+0x102):/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:80:
undefined reference to `print_usage'
utils.o(.text+0x213): In function `timeout_alarm_handler':
/usr/local/src/nagios-plugins-HEAD-200412231747/plugins/utils.c:136:
undefined reference to `timeout_interval'
collect2: ld returned 1 exit status
make[2]: *** [check_icmp] Error 1
make[2]: Leaving directory
`/usr/local/src/nagios-plugins-HEAD-200412231747/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/nagios-plugins-HEAD-200412231747'
make: *** [all] Error 2
Attached is the config.log
--Paul
----------------------------------------------------------------------
>Comment By: Benoit Mortier (opensides)
Date: 2004-12-27 07:54
Message:
Logged In: YES
user_id=388184
Hi,
Could you try the latest cvs, a lot of changes hav been made to
check_icmp.c this week-end
Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1091547&group_id=29880
More information about the Devel
mailing list