[Nagiosplug-devel] [ nagiosplug-Bugs-1094326 ] check-ide-smart does not build
SourceForge.net
noreply at sourceforge.net
Sun Jan 2 17:39:22 CET 2005
Bugs item #1094326, was opened at 2005-01-02 04:53
Message generated for change (Comment added) made by opensides
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1094326&group_id=29880
Category: None
Group: CVS
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Reuben Farrelly (reuben)
Assigned to: Benoit Mortier (opensides)
Summary: check-ide-smart does not build
Initial Comment:
The .c file remains unbuilt in the plugins directory,
after a build run:
-rw-r--r-- 1 root root 11217 Dec 26 22:43
check_ide_smart.c
Upon invoking 'make check_ide_smart', I then get a
compile failure:
[root at tornado plugins]# make check_ide_smart
if gcc -DLOCALEDIR=\/usr/share/nagios/locale\
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
-I/usr/include/ldap -I/include -g -O2 -MT
check_ide_smart.o -MD -MP -MF
".deps/check_ide_smart.Tpo" -c -o check_ide_smart.o
check_ide_smart.c; then mv -f ".deps/check_ide_smart.Tpo"
".deps/check_ide_smart.Po"; else rm -f
".deps/check_ide_smart.Tpo"; exit 1; fi
check_ide_smart.c:401: error: conflicting types for
'print_values'
check_ide_smart.c:257: error: previous implicit
declaration of 'print_values' was here
check_ide_smart.c:452: error: conflicting types for
'smart_cmd_simple'
check_ide_smart.c:452: note: an argument type that has
a default promotion can't match an empty parameter name
list declaration
check_ide_smart.c:229: error: previous implicit
declaration of 'smart_cmd_simple' was here
check_ide_smart.c:491: error: conflicting types for
'print_help'
check_ide_smart.c:203: error: previous implicit
declaration of 'print_help' was here
check_ide_smart.c: In function `print_usage':
check_ide_smart.c:518: error: syntax error before ')' token
make: *** [check_ide_smart.o] Error 1
[root at tornado plugins]#
----------------------------------------------------------------------
>Comment By: Benoit Mortier (opensides)
Date: 2005-01-03 02:38
Message:
Logged In: YES
user_id=388184
hi,
i have corrected some more problems ;-)
Could you just check this version out of cvs
----------------------------------------------------------------------
Comment By: Reuben Farrelly (reuben)
Date: 2005-01-02 21:29
Message:
Logged In: YES
user_id=26209
Still fails to build (but looks slightly better now)
[root at tornado plugins]# make check_ide_smart
if gcc -DLOCALEDIR=\/usr/share/nagios/locale\
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
-I/usr/include/ldap -I/include -g -O2 -MT
check_ide_smart.o -MD -MP -MF ".deps/check_ide_smart.Tpo" -c
-o check_ide_smart.o check_ide_smart.c; then mv -f ".deps/check_ide_smart.Tpo"
".deps/check_ide_smart.Po"; else rm -f
".deps/check_ide_smart.Tpo"; exit 1; fi
check_ide_smart.c:401: error: conflicting types for
'print_values'
check_ide_smart.c:257: error: previous implicit declaration
of 'print_values' was here
check_ide_smart.c:451: error: conflicting types for
'smart_cmd_simple'
check_ide_smart.c:451: note: an argument type that has a
default promotion can't match an empty parameter name list
declaration
check_ide_smart.c:229: error: previous implicit declaration
of 'smart_cmd_simple' was here
check_ide_smart.c:490: error: conflicting types for 'print_help'
check_ide_smart.c:203: error: previous implicit declaration
of 'print_help' was here
make: *** [check_ide_smart.o] Error 1
[root at tornado plugins]
I'm using GCC 3.4.3 (Fedora Core 3) FWIW.
----------------------------------------------------------------------
Comment By: Benoit Mortier (opensides)
Date: 2005-01-02 19:37
Message:
Logged In: YES
user_id=388184
Hi,
i have juste fixed the various errors, but i still need to check why it
doesn't build with the others plugins..
----------------------------------------------------------------------
Comment By: Benoit Mortier (opensides)
Date: 2005-01-02 15:04
Message:
Logged In: YES
user_id=388184
Hi,
i have juste fixed the various errors, but i still need to check why it
doesn't build with the others plugins..
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1094326&group_id=29880
More information about the Devel
mailing list