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

SourceForge.net noreply at sourceforge.net
Tue Apr 4 19:21:31 CEST 2006


Bugs item #1430709, was opened at 02/13/06 07:17
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: None
Priority: 5
Submitted By: Wilson Galafassi (wgalafassijr)
Assigned to: Ton Voon (tonvoon)
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

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

>Comment By: SourceForge Robot (sf-robot)
Date: 04/04/06 19:20

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Ton Voon (tonvoon)
Date: 03/21/06 05:01

Message:
Logged In: YES 
user_id=664364

Wilson,

Have you run ./configure? I'm guessing not because config.h has not been 
created. You need to run this before you can compile any specific plugins. See 
the README file.

I'm marking this tracker item as PENDING. Please update if there is still an 
issue.

Ton

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

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