What OS? Make sure you have glibc-kernheaders installed. Robin-David Hammond%KB3IEN wrote: > > > configure+make failed. > > configure succeeded, but generated this warning: > > configure: WARNING: sys/mount.h: present but cannot be compiled > configure: WARNING: sys/mount.h: check for missing prerequisite > headers? > configure: WARNING: sys/mount.h: see the Autoconf documentation > configure: WARNING: sys/mount.h: section "Present But Cannot Be > Compiled" > configure: WARNING: sys/mount.h: proceeding with the preprocessor's > result > configure: WARNING: sys/mount.h: in the future, the compiler will take > precedence > configure: WARNING: ## ----------------------------------------- ## > configure: WARNING: ## Report this to the nagios-plugins lists. ## > configure: WARNING: ## ----------------------------------------- ## > > there is no sys/mount.h in the tarball, so I assume that this is a > reference to one of the following: > /usr/include/sys/mount.h > /usr/src/sys/compat/sys/mount.h > /usr/src/sys/sys/mount.h > > As best I can tell this is an autoconf snafu, and I am looking for a > line like the following in the configure scripts: > > AC_CHECK_HEADERS > > but haven't found it yet. > > > What is nagios expecting to find in this file? AND WHY? > > make failed, > mountlist.c: In function `fstype_to_string': > mountlist.c:187: error: case label does not reduce to an integer constant > mountlist.c:203: error: case label does not reduce to an integer constant > mountlist.c:207: error: case label does not reduce to an integer constant > mountlist.c:211: error: case label does not reduce to an integer constant > mountlist.c:215: error: case label does not reduce to an integer constant > mountlist.c:223: error: case label does not reduce to an integer constant > mountlist.c:227: error: case label does not reduce to an integer constant > mountlist.c:231: error: case label does not reduce to an integer constant > mountlist.c:235: error: case label does not reduce to an integer constant > mountlist.c:239: error: case label does not reduce to an integer constant > mountlist.c:243: error: case label does not reduce to an integer constant > mountlist.c:247: error: case label does not reduce to an integer constant > mountlist.c:251: error: case label does not reduce to an integer constant > mountlist.c:255: error: case label does not reduce to an integer constant > mountlist.c:263: error: case label does not reduce to an integer constant > mountlist.c: At top level: > mountlist.c:274: warning: `struct statfs' declared inside parameter list > mountlist.c:274: warning: its scope is only this definition or > declaration, which is probably not what you want > mountlist.c: In function `fsp_to_string': > > > looking inside mountlist.c at line 187: > >> case MOUNT_MFS: > > > Robin-David Hammond KB3IEN > ------------------------------------------------------------------------ > > bash-3.1# ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... yes > checking build system type... powerpc-unknown-netbsd3.0 > checking host system type... powerpc-unknown-netbsd3.0 > checking for a BSD-compatible install... /usr/bin/install -c > checking for style of include used by make... GNU > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for AIX... no > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking minix/config.h usability... no > checking minix/config.h presence... no > checking for minix/config.h... no > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ANSI C... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking how to run the C preprocessor... gcc -E > checking whether gcc needs -traditional... no > checking for ranlib... ranlib > checking whether make sets $(MAKE)... (cached) yes > checking for gawk... (cached) awk > > > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible realloc... yes > checking for error_at_line... no > checking for getloadavg... yes > checking for pstat_getdynamic... no > checking for kstat_open in -lkstat... no > checking for getloadavg... yes > checking whether getloadavg requires setgid... no > checking for working strtod... yes > checking for python... no > checking for sh... /bin/sh > checking for perl... /usr/local/bin/perl > checking for hostname... /bin/hostname > checking for basename... /usr/bin/basename > checking for main in -ldce... no > checking for main in -lnsl... no > checking for socket in -lsocket... no > checking for main in -lresolv... yes > checking for floor in -lm... yes > checking for main in -lcrypt... yes > checking for PQsetdbLogin in -lpq... no > configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) > configure: WARNING: LIBS="-lcrypt " CPPFLAGS="" > configure: WARNING: install PostgreSQL libs to compile this plugin (see > REQUIREMENTS). > checking for rc_read_config in -lradiusclient... no > configure: WARNING: Skipping radius plugin > configure: WARNING: install radius libs to compile this plugin (see > REQUIREMENTS). > checking for main in -lldap... no > configure: WARNING: Skipping LDAP plugin > configure: WARNING: install LDAP libs to compile this plugin (see > REQUIREMENTS). > configure: WARNING: Skipping mysql plugin > configure: WARNING: install mysql client libs to compile this plugin (see > REQUIREMENTS). > checking for unistd.h... (cached) yes > checking for IPv6 support... yes > checking for library containing getaddrinfo... none required > checking krb5.h usability... no > > checking krb5.h presence... no > checking for krb5.h... no > checking krb5.h usability... no > checking krb5.h presence... no > checking for krb5.h... no > checking for openssl... /usr/bin/openssl > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > > > checking for openssl/ssl.h... yes > checking openssl/x509.h usability... yes > checking openssl/x509.h presence... yes > checking for openssl/x509.h... yes > checking openssl/rsa.h usability... yes > checking openssl/rsa.h presence... yes > checking for openssl/rsa.h... yes > checking openssl/pem.h usability... yes > checking openssl/pem.h presence... yes > checking for openssl/pem.h... yes > > checking openssl/crypto.h usability... yes > checking openssl/crypto.h presence... yes > checking for openssl/crypto.h... yes > checking openssl/err.h usability... yes > checking openssl/err.h presence... yes > checking for openssl/err.h... yes > checking for CRYPTO_lock in -lcrypto... yes > checking for main in -lssl... yes > checking for ANSI C header files... (cached) yes > checking whether time.h and sys/time.h may both be included... yes > > checking for sys/wait.h that is POSIX.1 compatible... yes > checking signal.h usability... yes > checking signal.h presence... yes > checking for signal.h... yes > checking for strings.h... (cached) yes > checking for string.h... (cached) yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking uio.h usability... no > checking uio.h presence... no > checking for uio.h... no > checking errno.h usability... yes > checking errno.h presence... yes > checking for errno.h... yes > checking regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking for sys/types.h... (cached) yes > > > > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/loadavg.h usability... no > checking sys/loadavg.h presence... no > checking for sys/loadavg.h... no > > checking features.h usability... no > checking features.h presence... no > checking for features.h... no > checking stdarg.h usability... yes > checking stdarg.h presence... yes > checking for stdarg.h... yes > checking sys/unistd.h usability... yes > checking sys/unistd.h presence... yes > checking for sys/unistd.h... yes > checking ctype.h usability... yes > checking ctype.h presence... yes > checking for ctype.h... yes > checking for stdlib.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for va_copy... yes > checking for vsnprintf... yes > checking for snprintf... yes > > checking for asprintf... yes > checking for vasprintf... yes > checking for C99 vsnprintf... yes > checking for memmove... yes > checking for select... yes > checking for socket... yes > > > checking for strdup... yes > checking for strstr... yes > checking for strtod... (cached) yes > checking for strtol... yes > checking for strtoul... yes > checking for floor... no > checking return type of socket size... int > checking for ps... /bin/ps > checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm > args' > checking for ping... /sbin/ping > checking for ping6... /sbin/ping6 > checking for ICMP ping syntax... /sbin/ping -n -c %d %s > checking for ICMPv6 ping syntax... /sbin/ping6 -n -c %d %s > checking for nslookup... /usr/bin/nslookup > checking for nslookup syntax... /usr/bin/nslookup -sil > checking for host... /usr/bin/host > checking for uptime... /usr/bin/uptime > checking for rpcinfo... /usr/bin/rpcinfo > checking for ntpdate... /usr/sbin/ntpdate > checking for ntpdc... /usr/sbin/ntpdc > checking for ntpq... /usr/sbin/ntpq > checking for lmstat... no > configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm > licenses > checking for smbclient... no > configure: WARNING: Get smbclient from Samba.org to monitor SMB shares > checking for who... /usr/bin/who > checking for snmpget... no > configure: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make > check_hpjd and check_snmp plugins > checking for snmpgetnext... no > configure: WARNING: Tried /usr/local/bin/perl - install Net::SNMP perl module > if you want to use the perl snmp plugins > checking for quakestat... no > checking for qstat... no > configure: WARNING: Get qstat from > http://www.activesw.com/people/steve/qstat.html in order to make check_game > plugin > checking for fping... no > configure: WARNING: Get fping from http://www.fping.com in order to make > check_fping plugin > checking for ssh... /usr/bin/ssh > checking for mailq... /usr/bin/mailq > checking for qmail-qstat... no > configure: WARNING: Could not find qmail-qstat or eqivalent > checking for swap... no > > > checking for swapinfo... no > checking for lsps... no > checking for sys/stat.h... (cached) yes > checking sys/param.h usability... yes > checking sys/param.h presence... yes > checking for sys/param.h... yes > checking for sys/swap.h... yes > checking whether swapctl is declared... yes > checking for swaptbl_t... no > checking for swapent_t... no > checking for struct swapent.se_nblks... yes > checking for 2-arg (SVR4) swapctl... no > checking for 3-arg (*BSD) swapctl... yes > checking for whether swapctl uses blocks or pages... blocks (assuming 512b) > checking for /proc/meminfo... no > checking for dig... /usr/bin/dig > checking for va_list... yes > checking for msgfmt... /usr/bin/msgfmt > checking for gmsgfmt... /usr/bin/msgfmt > checking for xgettext... no > checking for msgmerge... no > checking for library containing strerror... none required > checking for inline... inline > checking for off_t... yes > checking for working alloca.h... no > checking for alloca... yes > checking for stdlib.h... (cached) yes > > > checking for unistd.h... (cached) yes > checking for getpagesize... yes > checking for working mmap... yes > checking whether we are using the GNU C Library 2.1 or newer... no > checking whether integer division by zero raises SIGFPE... no > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unsigned long long... yes > checking for inttypes.h... yes > > > > checking whether the inttypes.h PRIxNN macros are broken... no > checking for ld used by GCC... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for shared library run path origin... done > checking argz.h usability... no > checking argz.h presence... no > checking for argz.h... no > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking locale.h usability... yes > checking locale.h presence... yes > checking for locale.h... yes > checking nl_types.h usability... yes > checking nl_types.h presence... yes > checking for nl_types.h... yes > > checking malloc.h usability... yes > checking malloc.h presence... yes > checking for malloc.h... yes > checking stddef.h usability... yes > checking stddef.h presence... yes > checking for stddef.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for sys/param.h... (cached) yes > checking for feof_unlocked... no > checking for fgets_unlocked... no > checking for getc_unlocked... yes > checking for getcwd... yes > checking for getegid... yes > > checking for geteuid... yes > checking for getgid... yes > checking for getuid... yes > checking for mempcpy... no > checking for munmap... yes > checking for putenv... yes > checking for setenv... yes > > > checking for setlocale... yes > checking for stpcpy... no > checking for strcasecmp... yes > checking for strdup... (cached) yes > checking for strtoul... (cached) yes > checking for tsearch... yes > > > checking for __argz_count... no > checking for __argz_stringify... no > checking for __argz_next... no > checking for iconv... yes > checking for iconv declaration... > extern size_t iconv (iconv_t cd, const char * *inbuf, size_t > *inbytesleft, char * *outbuf, size_t *outbytesleft); > checking for nl_langinfo and CODESET... yes > checking for LC_MESSAGES... yes > checking for bison... bison > checking version of bison... 2.3, ok > checking whether NLS is requested... yes > checking whether included gettext is requested... no > checking for GNU gettext in libc... no > checking for GNU gettext in libintl... no > checking for stdbool.h that conforms to C99... yes > checking for _Bool... yes > checking for AFS... no > checking for sys/param.h... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking for unistd.h... (cached) yes > checking for listmntent... no > > > checking for getmntinfo... yes > checking for sys/ucred.h... no > checking mntent.h usability... no > checking mntent.h presence... no > checking for mntent.h... no > checking sys/mount.h usability... no > checking sys/mount.h presence... yes > configure: WARNING: sys/mount.h: present but cannot be compiled > configure: WARNING: sys/mount.h: check for missing prerequisite headers? > configure: WARNING: sys/mount.h: see the Autoconf documentation > configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" > configure: WARNING: sys/mount.h: proceeding with the preprocessor's result > configure: WARNING: sys/mount.h: in the future, the compiler will take > precedence > configure: WARNING: ## ----------------------------------------- ## > configure: WARNING: ## Report this to the nagios-plugins lists. ## > configure: WARNING: ## ----------------------------------------- ## > checking for sys/mount.h... yes > checking sys/fs_types.h usability... no > checking sys/fs_types.h presence... no > checking for sys/fs_types.h... no > > > checking for struct fsstat.f_fstypename... no > checking for getmntent in -lsun... no > checking for getmntent in -lseq... no > checking for getmntent in -lgen... no > checking for getmntent... no > checking for listmntent of Cray/Unicos-9... no > checking for mntctl function and struct vmount... no > checking for getfsstat function... no > checking for FIXME existence of three headers... no > checking for getmntinfo function... yes > checking sys/mntent.h usability... no > checking sys/mntent.h presence... no > checking for sys/mntent.h... no > checking for f_fstypename in struct statfs... no > checking for sys/mount.h... (cached) yes > checking sys/vfs.h usability... no > checking sys/vfs.h presence... no > checking for sys/vfs.h... no > checking for sys/fs_types.h... (cached) no > checking how to get filesystem space usage... > checking for statvfs function (SVR4)... yes > checking dustat.h usability... no > checking dustat.h presence... no > checking for dustat.h... no > checking sys/fs/s5param.h usability... no > checking sys/fs/s5param.h presence... no > checking for sys/fs/s5param.h... no > > > checking sys/filsys.h usability... no > checking sys/filsys.h presence... no > checking for sys/filsys.h... no > checking sys/statfs.h usability... no > checking sys/statfs.h presence... no > checking for sys/statfs.h... no > checking sys/statvfs.h usability... yes > checking sys/statvfs.h presence... yes > checking for sys/statvfs.h... yes > checking for statfs that truncates block counts... no > checking whether clearerr_unlocked is declared... no > checking whether feof_unlocked is declared... no > checking whether ferror_unlocked is declared... no > > > checking whether fflush_unlocked is declared... no > checking whether fgets_unlocked is declared... no > checking whether fputc_unlocked is declared... no > checking whether fputs_unlocked is declared... no > checking whether fread_unlocked is declared... no > checking whether fwrite_unlocked is declared... no > checking whether getc_unlocked is declared... yes > checking whether getchar_unlocked is declared... yes > checking whether putc_unlocked is declared... yes > checking whether putchar_unlocked is declared... yes > checking for socklen_t... yes > > > configure: creating ./config.status > config.status: creating Makefile > config.status: creating lib/Makefile > config.status: creating m4/Makefile > config.status: creating plugins/Makefile > config.status: creating plugins-scripts/Makefile > config.status: creating plugins-scripts/subst > config.status: creating plugins-scripts/utils.pm > config.status: creating plugins-scripts/utils.sh > config.status: creating command.cfg > config.status: creating test.pl > config.status: creating pkg/solaris/pkginfo > config.status: creating intl/Makefile > config.status: creating po/Makefile.in > config.status: creating config.h > config.status: executing depfiles commands > > > config.status: executing default-1 commands > config.status: creating po/POTFILES > config.status: creating po/Makefile > --with-perl: /usr/local/bin/perl > --with-cgiurl: /nagios/cgi-bin > --with-nagios-user: nagios > --with-nagios-group: nagios > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > --with-ping-command: /sbin/ping -n -c %d %s > --with-ping6-command: /sbin/ping6 -n -c %d %s > --with-lwres: no > --with-ipv6: yes > --with-openssl: yes > --enable-emulate-getaddrinfo: no > > > > bash-3.1# make > make all-recursive > Making all in intl > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 intl-compat.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 bindtextdom.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 dcgettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 dgettext.c > > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 gettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 finddomain.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 loadmsgcat.c > > > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 localealias.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 textdomain.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 l10nflist.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 explodename.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 dcigettext.c > > > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 dcngettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 dngettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 ngettext.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 plural.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 plural-exp.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 localcharset.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 localename.c > gcc -c -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/nagios/share/locale\" > -DLIBDIR=\"/usr/local/nagios/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. > -I../intl -g -O2 osdep.c > rm -f libintl.a > ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o > finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o > explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o > plural-exp.o localcharset.o localename.o osdep.o > ranlib libintl.a > cp ./libgnuintl.h libintl.h > /bin/sh ./config.charset 'powerpc-unknown-netbsd3.0' > t-charset.alias > mv t-charset.alias charset.alias > sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-add.sin > > t-ref-add.sed > mv t-ref-add.sed ref-add.sed > sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-del.sin > > t-ref-del.sed > mv t-ref-del.sed ref-del.sed > Making all in lib > make all-am > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT cloexec.o > -MD -MP -MF ".deps/cloexec.Tpo" -c -o cloexec.o cloexec.c; then mv -f > ".deps/cloexec.Tpo" ".deps/cloexec.Po"; else rm -f ".deps/cloexec.Tpo"; exit > 1; fi > > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT safe-write.o > -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; then mv > -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f > ".deps/safe-write.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xmalloc.o > -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; then mv -f > ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit > 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT xstrdup.o > -MD -MP -MF ".deps/xstrdup.Tpo" -c -o xstrdup.o xstrdup.c; then mv -f > ".deps/xstrdup.Tpo" ".deps/xstrdup.Po"; else rm -f ".deps/xstrdup.Tpo"; exit > 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT error.o -MD > -MP -MF ".deps/error.Tpo" -c -o error.o error.c; then mv -f > ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT mountlist.o > -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; then mv -f > ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; > exit 1; fi > mountlist.c: In function `fstype_to_string': > mountlist.c:187: error: case label does not reduce to an integer constant > mountlist.c:203: error: case label does not reduce to an integer constant > mountlist.c:207: error: case label does not reduce to an integer constant > mountlist.c:211: error: case label does not reduce to an integer constant > mountlist.c:215: error: case label does not reduce to an integer constant > mountlist.c:223: error: case label does not reduce to an integer constant > mountlist.c:227: error: case label does not reduce to an integer constant > mountlist.c:231: error: case label does not reduce to an integer constant > mountlist.c:235: error: case label does not reduce to an integer constant > mountlist.c:239: error: case label does not reduce to an integer constant > mountlist.c:243: error: case label does not reduce to an integer constant > mountlist.c:247: error: case label does not reduce to an integer constant > mountlist.c:251: error: case label does not reduce to an integer constant > mountlist.c:255: error: case label does not reduce to an integer constant > mountlist.c:263: error: case label does not reduce to an integer constant > mountlist.c: At top level: > mountlist.c:274: warning: `struct statfs' declared inside parameter list > mountlist.c:274: warning: its scope is only this definition or declaration, > which is probably not what you want > mountlist.c: In function `fsp_to_string': > mountlist.c:279: error: dereferencing pointer to incomplete type > mountlist.c: In function `read_filesystem_list': > mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible > pointer type > mountlist.c:390: error: increment of pointer to unknown structure > mountlist.c:390: error: arithmetic on pointer to an incomplete type > mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from incompatible > pointer type > mountlist.c:395: error: dereferencing pointer to incomplete type > mountlist.c:396: error: dereferencing pointer to incomplete type > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2/lib > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2/lib > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2 > *** Error code 1 > > Stop. > make: stopped in /root/nagios-plugins-1.4.2 > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null