[Nagiosplug-help] compiling errors

Deborah Ellis Deborah.Ellis at bea.com
Tue Oct 22 14:45:05 CEST 2002


Hi,
Can anyone help me figure out why the plugins are not compiling on hp, aix and Digital Unix.  These are some of the errors that I am receiving.  I have attached 2 files.  Any help would be
appreciated.  I have a tight deadline to get this tool up and running.  Thanks



-------------- next part --------------
# make all
Making all in plugins
make[1]: Entering directory `/usr/local/nagios/nagiosplug-1.3-beta1/plugins'
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.     -g  -c snprintf.c -o snprintf.o
snprintf.c:108: error: conflicting types for `snprintf'
/usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.00/3.2/include/stdio.h:459: error: previous declaration of `snprintf'
make[1]: *** [snprintf.o] Error 1
make[1]: Leaving directory `/usr/local/nagios/nagiosplug-1.3-beta1/plugins'
make: *** [all-recursive] Error 1









-------------- next part --------------
sh-2.04# gmake all
Making all in plugins
gmake[1]: Entering directory `/usr/local/nagios/nagiosplug-1.3-beta1/plugins'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.     -g -O2 -c check_disk.c
In file included from common.h:48,
                 from check_disk.c:34:
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/2.9-gnupro-99r1/include/unistd.h:609: warning: `cuserid' redefined
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/2.9-gnupro-99r1/include/stdio.h:458: warning: this is the location of the previous definition
check_disk.c: In function `main':
check_disk.c:75: `DF_COMMAND' undeclared (first use in this function)
check_disk.c:75: (Each undeclared identifier is reported only once
check_disk.c:75: for each function it appears in.)
gmake[1]: *** [check_disk.o] Error 1
gmake[1]: Leaving directory `/usr/local/nagios/nagiosplug-1.3-beta1/plugins'
gmake: *** [all-recursive] Error 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Deborah.Ellis.vcf
Type: text/x-vcard
Size: 180 bytes
Desc: Card for Deborah Ellis
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20021022/700fff2c/attachment.vcf>


More information about the Help mailing list