Compiling a single plug-in

Subhendu Ghosh sghosh at sghosh.org
Thu Oct 17 22:18:39 CEST 2002



for check_snmp and check_hpjd

rm config.cache, configure, make

there are some local dependencies for common functions from utils.c. so a 
simple gcc won't do.


-sg

On Thu, 17 Oct 2002, Kaplan, Andrew H. wrote:

> I tried to compile the check_snmp and check_hpjd plugins using the gcc -o
> command. 
> When I tried to do so I got the following error message in both cases:
> 
> PATH_TO_SNMPGET undeclared (first use in this function)
> 
> What can I do to correct this problem? Thanks.
> 
> 
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Thursday, October 17, 2002 3:27 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Compiling a single plug-in
> 
> 
> 
> if check_hpjd did not compile check_snmp is probably not there either.  
> both depend on snmpget command for ucd-snmp/net-snmp package.
> 
> 
> 
> check_dhcp is in the contrib directory and those are usually not compiled 
> by default.
> 
> gcc -o check_dhcp check_dhcp.c
> 
> 
> 
> 
> On Thu, 17 Oct 2002, Pulyankote, Gopinath wrote:
> 
> > I have the problem with check_dhcp. This one didn't compile, didn't see
> any
> > errors while running configure
> > -G
> > 
> > -----Original Message-----
> > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] 
> > Sent: Thursday, October 17, 2002 11:18 AM
> > To: Nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Compiling a single plug-in
> > 
> > 
> > Hi there,
> > 
> > For some reason, the check_hpjd plugin did not compile on my machine. Is
> > there a way to compile that, and only that, plug-in? Thanks.
> > 
> > 
> 
> 
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm




More information about the Users mailing list