error on HP-UX while compiling plugins 1.4 and 1.3

Schaffranneck, Sven (K-DOI-5/4) sven.schaffranneck at volkswagen.de
Wed Apr 28 15:37:32 CEST 2004


Hello,

i started compiling the plugin-1.4.0aplha1 on HPUX 11.11 PA-RISC.
The following error occures on 'make':

------------------------------------------
tivadmin : make
No suffix list.
        make  all-recursive
No suffix list.
Making all in intl
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  intl-compat.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  bindtextdom.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  dcgettext.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  dgettext.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  gettext.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  finddomain.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  loadmsgcat.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  localealias.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  textdomain.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  l10nflist.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  explodename.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  dcigettext.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  dcngettext.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  dngettext.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  ngettext.c
        : -y -d --name-prefix=__gettext --output plural.c plural.y
        rm -f plural.h
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  plural.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  plural-exp.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  localcharset.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H
-I.. -I. -I../intl  -g -O2  localename.c
        gcc -c -DLOCALEDIR=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLOCALE_ALIAS_PATH=\"/opt/Tivoli/nagios/libexec/share/locale\"
-DLIBDIR=\"/opt/Tivoli/nagios/libexec/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 'hppa2.0w-hp-hpux11.11' > 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
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -O2 -MT
getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
          -c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; \
        then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \
        else rm -f ".deps/getopt.Tpo"; exit 1; \
        fi
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -O2 -MT
getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \
          -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \
        then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \
        else rm -f ".deps/getopt1.Tpo"; exit 1; \
        fi
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -O2 -MT
snprintf.o -MD -MP -MF ".deps/snprintf.Tpo" \
          -c -o snprintf.o `test -f 'snprintf.c' || echo './'`snprintf.c; \
        then mv -f ".deps/snprintf.Tpo" ".deps/snprintf.Po"; \
        else rm -f ".deps/snprintf.Tpo"; exit 1; \
        fi
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -O2 -MT
fsusage.o -MD -MP -MF ".deps/fsusage.Tpo" \
          -c -o fsusage.o `test -f 'fsusage.c' || echo './'`fsusage.c; \
        then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; \
        else rm -f ".deps/fsusage.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 `test -f 'mountlist.c' || echo './'`mountlist.c;
\
        then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; \
        else rm -f ".deps/mountlist.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 `test -f 'xmalloc.c' || echo './'`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
realloc.o -MD -MP -MF ".deps/realloc.Tpo" \
          -c -o realloc.o `test -f 'realloc.c' || echo './'`realloc.c; \
        then mv -f ".deps/realloc.Tpo" ".deps/realloc.Po"; \
        else rm -f ".deps/realloc.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 `test -f 'error.c' || echo './'`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
getloadavg.o -MD -MP -MF ".deps/getloadavg.Tpo" \
          -c -o getloadavg.o `test -f 'getloadavg.c' || echo
'./'`getloadavg.c; \
        then mv -f ".deps/getloadavg.Tpo" ".deps/getloadavg.Po"; \
        else rm -f ".deps/getloadavg.Tpo"; exit 1; \
        fi
        rm -f libnagiosplug.a
        ar cru libnagiosplug.a getopt.o getopt1.o  snprintf.o fsusage.o
mountlist.o  xmalloc.o realloc.o error.o getloadavg.o
        ranlib libnagiosplug.a
Making all in plugins
Make: Must be a separator on rules line 995.  Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
------------------------------------------------------------------------

Even on Version 1.3 there seem's to be a problem:

------------------------------------------------------------------------
tivadmin : make
No suffix list.
Making all in lib
        gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins
-I../plugins -I../plugins -I../plugins -I.    -g -O2 -c getopt.c
        gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins
-I../plugins -I../plugins -I../plugins -I.    -g -O2 -c getopt1.c
        gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins
-I../plugins -I../plugins -I../plugins -I.    -g -O2 -c getloadavg.c
        rm -f libnagiosplug.a
        ar cru libnagiosplug.a getopt.o getopt1.o getloadavg.o 
        ranlib libnagiosplug.a
Making all in plugins
        gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-g -O2 -c check_disk.c
        gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-g -O2 -c utils.c
        gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-g -O2 -c popen.c
        gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-g -O2  -c ./snprintf.c -o snprintf.o
         -r libsnprintf.a snprintf.o
Make: Cannot load -r.  Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
------------------------------------------------------------------------


Mit freundlichen Grüssen,
Sven Schaffranneck
K-DOI-5/4

Volkswagen AG
Brieffach 1883
38436 Wolfsburg

Telefon: +49 (5361) 9-3 88 58
http://www.volkswagen.de 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list