[Nagiosplug-help] Compiling plugins: *** [check_disk.o] Error 1
Andrew Cranson
cranky at transnexis.com
Fri Dec 24 13:40:02 CET 2004
Hi,
When compiling nagios-plugins with "make all" I am getting the following
error:
*** [check_disk.o] Error 1
Does anyone have any idea how to fix this? I am funning a Fedora Core 2
Virtuozzo VPS - might that have anything to do with it?
Full log:
[root at vps105 nagios-plugins-1.3.1]# make all
Making all in lib
make[1]: Entering directory `/root/nagios/nagios-plugins-1.3.1/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/nagios/nagios-plugins-1.3.1/lib'
Making all in plugins
make[1]: Entering directory `/root/nagios/nagios-plugins-1.3.1/plugins'
make all-am
make[2]: Entering directory `/root/nagios/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=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-I/usr/include -g -O2 -c `test -f 'check_disk.c' || echo
'./'`check_disk.c
check_disk.c: In function `main':
check_disk.c:79: error: `DF_COMMAND' undeclared (first use in this function)
check_disk.c:79: error: (Each undeclared identifier is reported only once
check_disk.c:79: error: for each function it appears in.)
make[2]: *** [check_disk.o] Error 1
make[2]: Leaving directory `/root/nagios/nagios-plugins-1.3.1/plugins'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/nagios/nagios-plugins-1.3.1/plugins'
make: *** [all-recursive] Error 1
Thanks.
Kind Regards,
Andrew Cranson
Transnexis Hosting
ICQ: 161813538
AIM: cransona
MSN: andrew at transnexis.com
More information about the Help
mailing list