[Nagiosplug-help] Check_nt Plugin in CVS Problems...
Jon Lyons
jlyons30 at yahoo.com
Fri Aug 27 13:18:19 CEST 2004
I can't get the new check_nt to compile on Freebsd
4.10..Can someone point me in the right direction?
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.
-I.. -I../lib -I/usr/include -g -O2 -c check_nt.c
check_nt.c: In function `main':
check_nt.c:107: `LC_ALL' undeclared (first use in this
function)
check_nt.c:107: (Each undeclared identifier is
reported only once
check_nt.c:107: for each function it appears in.)
check_nt.c:108: `LOCALEDIR' undeclared (first use in
this function)
check_nt.c:112: warning: passing arg 1 of `usage'
makes pointer from integer without a cast
check_nt.c:127: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:138: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:140: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:144: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:145: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:167: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:170: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:179: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:191: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:198: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:200: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:213: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:216: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:228: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:238: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:264: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:266: warning: passing arg 2 of `asprintf'
makes pointer from integer without a cast
check_nt.c:301: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:319: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:334: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:338: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:345: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:357: warning: passing arg 2 of `strcat'
makes pointer from integer without a cast
check_nt.c:383: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c:413: warning: passing arg 1 of `usage'
makes pointer from integer without a cast
check_nt.c: In function `process_arguments':
check_nt.c:553: warning: passing arg 1 of `strdup'
makes pointer from integer without a cast
check_nt.c: In function `fetch_data':
check_nt.c:566: warning: passing arg 1 of
`process_tcp_request' discards qualifiers from pointer
target type
check_nt.c:566: warning: passing arg 3 of
`process_tcp_request' discards qualifiers from pointer
target type
check_nt.c: In function `print_help':
check_nt.c:612: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:634: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:635: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:638: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:641: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:648: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:651: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:655: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:658: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:664: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:667: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:676: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c: In function `print_usage':
check_nt.c:687: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
check_nt.c:690: `UT_HLP_VRS' undeclared (first use in
this function)
check_nt.c:690: warning: passing arg 1 of `printf'
makes pointer from integer without a cast
*** Error code 1
Stop in
/usr/ports/net-mgmt/nagios-plugins/work/nagios-plugins-1.3.1/plugins.
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
More information about the Help
mailing list