[Nagiosplug-help] plugin compilation error: check_disk.c

Anthony Townsend anthony at nycwireless.net
Wed Sep 24 14:12:16 CEST 2003


does anyone know what's wrong here? trying to compile the plugins after 
successful installation of nagios on a Debian 3.0 system

-----

stats:~/download/nagios-plugins-1.3.1# make all
Making all in lib
make[1]: Entering directory `/root/download/nagios-plugins-1.3.1/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/download/nagios-plugins-1.3.1/lib'
Making all in plugins
make[1]: Entering directory 
`/root/download/nagios-plugins-1.3.1/plugins'
make  all-am
make[2]: Entering directory 
`/root/download/nagios-plugins-1.3.1/plugins'
source='check_disk.c' object='check_disk.o' libtool=no \
depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib  
-I/usr/includ
e/postgresql -I/usr/include     -g -O2 -c `test -f 'check_disk.c' || 
echo './'`c
heck_disk.c
check_disk.c: In function `main':
check_disk.c:79: `DF_COMMAND' undeclared (first use in this function)
check_disk.c:79: (Each undeclared identifier is reported only once
check_disk.c:79: for each function it appears in.)
make[2]: *** [check_disk.o] Error 1
make[2]: Leaving directory `/root/download/nagios-plugins-1.3.1/plugins'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/download/nagios-plugins-1.3.1/plugins'
make: *** [all-recursive] Error 1
stats:~/download/nagios-plugins-1.3.1#





More information about the Help mailing list