Announcement

Collapse
No announcement yet.

Warning compilation perfparse...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • joy5
    replied
    Ok esperons que ca le soit, mais je voulais en être sur car j'ai toujours un soucis avec perfparse qui risque de m'obliger à poster si je ne trouve vraiment pas...

    Merci pour ta réponse

    Bonne journée

    Leave a comment:


  • DonKiShoot
    replied
    un warning est bien souvent sans importance

    Leave a comment:


  • joy5
    replied
    Personne ne sait ??

    svp je ne vois plus que ca pour le disfonctionnement de perfparse chez moi, j'ai suivi toute les docs possibles...

    Merci d'avance pour le coup de main.

    Leave a comment:


  • joy5
    started a topic Warning compilation perfparse...

    Warning compilation perfparse...

    Bonjour tout le monde

    Lors de la compilation de perfparse j'ai plusieurs warning lors du make. J'ai suivi ce tuto:
    http://install.2js.fr/opensource/perfparsenagios.php

    Voici le warning lors du make, j'ai du le raccourcir, mais ce même warning est répété jusqu'à la ligne 145.

    Code:
    make all-recursive
    make1: Entering directory `/tmp/perfparse-0.106.1'
    Making all in intl
    make2: Entering directory `/tmp/perfparse-0.106.1/intl'
    make2: Nothing to be done for `all'.
    make2: Leaving directory `/tmp/perfparse-0.106.1/intl'
    Making all in m4
    make2: Entering directory `/tmp/perfparse-0.106.1/m4'
    make2: Nothing to be done for `all'.
    make2: Leaving directory `/tmp/perfparse-0.106.1/m4'
    Making all in libnagios_perfdata_parser
    make2: Entering directory `/tmp/perfparse-0.106.1/libnagios_perfdata_parser'
    if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo" -c -o log_parser.lo log_parser.c; \
    then mv -f ".deps/log_parser.Tpo" ".deps/log_parser.Plo"; else rm -f ".deps/log_parser.Tpo"; exit 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c log_parser.c -fPIC -DPIC -o .libs/log_parser.o
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c log_parser.c -o log_parser.o >/dev/null 2>&1
    /bin/sh ../libtool --mode=link --tag=CC gcc -g -O2 -Wall -o libnagios_perfdata_parser.la -rpath /usr/local/nagios/lib log_parser.lo -ldl -lgd
    rm -fr .libs/libnagios_perfdata_parser.a .libs/libnagios_perfdata_parser.la .libs/libnagios_perfdata_parser.lai
    gcc -shared .libs/log_parser.o -ldl -lgd -Wl,-soname -Wl,libnagios_perfdata_parser.so.0 -o .libs/libnagios_perfdata_parser.so.0.0.0
    (cd .libs && rm -f libnagios_perfdata_parser.so.0 && ln -s libnagios_perfdata_parser.so.0.0.0 libnagios_perfdata_parser.so.0)
    (cd .libs && rm -f libnagios_perfdata_parser.so && ln -s libnagios_perfdata_parser.so.0.0.0 libnagios_perfdata_parser.so)
    ar cru .libs/libnagios_perfdata_parser.a log_parser.o
    ranlib .libs/libnagios_perfdata_parser.a
    creating libnagios_perfdata_parser.la
    (cd .libs && rm -f libnagios_perfdata_parser.la && ln -s ../libnagios_perfdata_parser.la libnagios_perfdata_parser.la)
    make2: Leaving directory `/tmp/perfparse-0.106.1/libnagios_perfdata_parser'
    Making all in libpp_common
    make2: Entering directory `/tmp/perfparse-0.106.1/libpp_common'
    if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DLIBDIR="/usr/local/nagios/lib"' '-DLOCALSTATEDIR="/usr/local/nagios/var"' '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' -I/usr/include/glib-1.2 -I/usr/lib/glib/include '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF ".deps/libpp_common_la-config_file.Tpo" -c -o libpp_common_la-config_file.lo `test -f 'config_file.c' || echo './'`config_file.c; \
    then mv -f ".deps/libpp_common_la-config_file.Tpo" ".deps/libpp_common_la-config_file.Plo"; else rm -f ".deps/libpp_common_la-config_file.Tpo"; exit 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/usr/local/nagios/lib\" -DLOCALSTATEDIR=\"/usr/local/nagios/var\" -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o .libs/libpp_common_la-config_file.o
    config_file.c: In function `config_definition_init':
    config_file.c:106: warning: null argument where non-null required (arg 1)
    config_file.c:106: warning: null argument where non-null required (arg 1)
    config_file.c:106: warning: null argument where non-null required (arg 2)
    config_file.c:106: warning: null argument where non-null required (arg 2)
    config_file.c:106: warning: null argument where non-null required (arg 1)
    config_file.c:106: warning: null argument where non-null required (arg 1)
    config_file.c:106: warning: null argument where non-null required (arg 2)
    config_file.c:106: warning: null argument where non-null required (arg 2)
    config_file.c:107: warning: null argument where non-null required (arg 1)
    config_file.c:107: warning: null argument where non-null required (arg 1)
    config_file.c:107: warning: null argument where non-null required (arg 2)
    config_file.c:107: warning: null argument where non-null required (arg 2)
    config_file.c:107: warning: null argument where non-null required (arg 1)
    config_file.c:107: warning: null argument where non-null required (arg 1)
    config_file.c:107: warning: null argument where non-null required (arg 2)
    config_file.c:107: warning: null argument where non-null required (arg 2)
    config_file.c:108: warning: null argument where non-null required (arg 1)
    config_file.c:108: warning: null argument where non-null required (arg 1)
    config_file.c:108: warning: null argument where non-null required (arg 2)
    config_file.c:108: warning: null argument where non-null required (arg 2)
    config_file.c:109: warning: null argument where non-null required (arg 1)
    config_file.c:109: warning: null argument where non-null required (arg 1)
    config_file.c:109: warning: null argument where non-null required (arg 2)
    config_file.c:109: warning: null argument where non-null required (arg 2)
    config_file.c:109: warning: null argument where non-null required (arg 1)
    config_file.c:109: warning: null argument where non-null required (arg 1)
    config_file.c:109: warning: null argument where non-null required (arg 2)
    config_file.c:109: warning: null argument where non-null required (arg 2)
    config_file.c:110: warning: null argument where non-null required (arg 1)
    config_file.c:110: warning: null argument where non-null required (arg 1)
    config_file.c:110: warning: null argument where non-null required (arg 2)
    config_file.c:110: warning: null argument where non-null required (arg 2)
    Est-ce qu'il manque une librairie?

    Merci pr le coup de pouce.
Working...
X