<div>Most of the C  plugins depend on those files.</div>
<div>so If compiling any of these plugins seperatly, then locate those files; they are somewhere in the directories after you uncompressed the plugins.  </div>
<div> </div>
<div>Once you locate the .h files if you choose to copy them make sure you copy the .c files as well.</div>
<div> </div>
<div>Hope this helps, (Note my test server is currenlty offline so I could not verify the directory structure or command line)</div>
<div><br>Tony (Author of NC_Net)</div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">Robert Hassing</b> <<a href="mailto:robert@cable2000.nl">robert@cable2000.nl</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi<br><br>Is there anybody who can tell me what the steps are in order to compile any<br>.c plugin provided in the contrib. folder?
<br><br>I'm trying to compile the check_uptime.c plugin at this moment but it ends<br>up with the following error:<br><br>fw2:~/nagios-plugins-1.4.7/contrib# gcc ./check_uptime.c<br>./check_uptime.c:24: config.h: No such file or directory
<br>./check_uptime.c:25: common.h: No such file or directory<br>./check_uptime.c:26: utils.h: No such file or directory<br>./check_uptime.c:27: popen.h: No such file or directory<br><br>Is there a specific location to put the source and then compile it or?
<br><br>Hope someone can help me<br><br>Regards<br>Robert<br><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems?  Stop.
<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >> <a href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________
<br>Nagiosplug-help mailing list<br><a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
</a><br>::: Please include plugins version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>