[Nagiosplug-devel] [ nagiosplug-Bugs-1430709 ] check_uptime don´t compile error

SourceForge.net noreply at sourceforge.net
Mon Feb 13 07:18:02 CET 2006


Bugs item #1430709, was opened at 2006-02-13 15:17
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=1430709&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Wilson Galafassi (wgalafassijr)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_uptime don´t compile error

Initial Comment:
hello.
when i try to complite check_uptime.c this error occours:

gcc check_uptime.c
check_uptime.c:24:20: config.h: No such file or directory
check_uptime.c:25:20: common.h: No such file or directory
check_uptime.c:26:19: utils.h: No such file or directory
check_uptime.c:27:19: popen.h: No such file or directory
check_uptime.c: In function `main':
check_uptime.c:33: error: `MAX_INPUT_BUFFER' undeclared
(first use in this function)
check_uptime.c:33: error: (Each undeclared identifier
is reported only once
check_uptime.c:33: error: for each function it appears in.)
check_uptime.c:36: error: `NULL' undeclared (first use
in this function)
check_uptime.c:52: error: `STATE_UNKNOWN' undeclared
(first use in this function)
check_uptime.c:55: error: `child_process' undeclared
(first use in this function)
check_uptime.c:55: error: `PATH_TO_UPTIME' undeclared
(first use in this function)
check_uptime.c:60: error: `child_stderr' undeclared
(first use in this function)
check_uptime.c:60: error: `child_stderr_array'
undeclared (first use in this function)
check_uptime.c:78: warning: assignment makes pointer
from integer without a cast
check_uptime.c:80: warning: assignment makes pointer
from integer without a cast
check_uptime.c:98: error: `STATE_OK' undeclared (first
use in this function)


i´m using fc4 and nagios-plugins-1.4.2.
very thanks
wilson

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

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




More information about the Devel mailing list