Announcement

Collapse
No announcement yet.

Problems with perfparse

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

  • Problems with perfparse

    Bonjour, hi all
    I have here a RHEL clone (Scientific Linux) with mysql5 + mysql5-devel.

    I have a problem with installing perfparse.

    The error message when i run "make":
    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)
    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)
    config_file.c:113: warning: null argument where non-null required (arg 1)
    config_file.c:113: warning: null argument where non-null required (arg 1)
    config_file.c:113: warning: null argument where non-null required (arg 2)
    config_file.c:113: warning: null argument where non-null required (arg 2)
    config_file.c:113: warning: null argument where non-null required (arg 1)
    config_file.c:113: warning: null argument where non-null required (arg 1)
    config_file.c:113: warning: null argument where non-null required (arg 2)
    config_file.c:113: warning: null argument where non-null required (arg 2)
    config_file.c:114: warning: null argument where non-null required (arg 1)
    config_file.c:114: warning: null argument where non-null required (arg 1)
    config_file.c:114: warning: null argument where non-null required (arg 2)
    config_file.c:114: warning: null argument where non-null required (arg 2)
    config_file.c:114: warning: null argument where non-null required (arg 1)
    config_file.c:114: warning: null argument where non-null required (arg 1)
    config_file.c:114: warning: null argument where non-null required (arg 2)
    config_file.c:114: warning: null argument where non-null required (arg 2)
    config_file.c:115: warning: null argument where non-null required (arg 1)
    config_file.c:115: warning: null argument where non-null required (arg 1)
    config_file.c:115: warning: null argument where non-null required (arg 2)
    config_file.c:115: warning: null argument where non-null required (arg 2)
    config_file.c:116: warning: null argument where non-null required (arg 1)
    config_file.c:116: warning: null argument where non-null required (arg 1)
    config_file.c:116: warning: null argument where non-null required (arg 2)
    config_file.c:116: warning: null argument where non-null required (arg 2)
    config_file.c:119: warning: null argument where non-null required (arg 1)
    config_file.c:119: warning: null argument where non-null required (arg 1)
    config_file.c:119: warning: null argument where non-null required (arg 2)
    config_file.c:119: warning: null argument where non-null required (arg 2)
    config_file.c:119: warning: null argument where non-null required (arg 1)
    config_file.c:119: warning: null argument where non-null required (arg 1)
    config_file.c:119: warning: null argument where non-null required (arg 2)
    config_file.c:119: warning: null argument where non-null required (arg 2)
    config_file.c:120: warning: null argument where non-null required (arg 1)
    config_file.c:120: warning: null argument where non-null required (arg 1)
    config_file.c:120: warning: null argument where non-null required (arg 2)
    config_file.c:120: warning: null argument where non-null required (arg 2)
    config_file.c:120: warning: null argument where non-null required (arg 1)
    config_file.c:120: warning: null argument where non-null required (arg 1)
    config_file.c:120: warning: null argument where non-null required (arg 2)
    config_file.c:120: warning: null argument where non-null required (arg 2)
    config_file.c:121: warning: null argument where non-null required (arg 1)
    config_file.c:121: warning: null argument where non-null required (arg 1)
    config_file.c:121: warning: null argument where non-null required (arg 2)
    config_file.c:121: warning: null argument where non-null required (arg 2)
    config_file.c:121: warning: null argument where non-null required (arg 1)
    config_file.c:121: warning: null argument where non-null required (arg 1)
    config_file.c:121: warning: null argument where non-null required (arg 2)
    config_file.c:121: warning: null argument where non-null required (arg 2)
    config_file.c:123: warning: null argument where non-null required (arg 1)
    config_file.c:123: warning: null argument where non-null required (arg 1)
    config_file.c:123: warning: null argument where non-null required (arg 2)
    config_file.c:123: warning: null argument where non-null required (arg 2)
    config_file.c:123: warning: null argument where non-null required (arg 1)
    config_file.c:123: warning: null argument where non-null required (arg 1)
    config_file.c:123: warning: null argument where non-null required (arg 2)
    config_file.c:123: warning: null argument where non-null required (arg 2)
    config_file.c:124: warning: null argument where non-null required (arg 1)
    config_file.c:124: warning: null argument where non-null required (arg 1)
    config_file.c:124: warning: null argument where non-null required (arg 2)
    config_file.c:124: warning: null argument where non-null required (arg 2)
    config_file.c:125: warning: null argument where non-null required (arg 1)
    config_file.c:125: warning: null argument where non-null required (arg 1)
    config_file.c:125: warning: null argument where non-null required (arg 2)
    config_file.c:125: warning: null argument where non-null required (arg 2)
    config_file.c:125: warning: null argument where non-null required (arg 1)
    config_file.c:125: warning: null argument where non-null required (arg 1)
    config_file.c:125: warning: null argument where non-null required (arg 2)
    config_file.c:125: warning: null argument where non-null required (arg 2)
    config_file.c:126: warning: null argument where non-null required (arg 1)
    config_file.c:126: warning: null argument where non-null required (arg 1)
    config_file.c:126: warning: null argument where non-null required (arg 2)
    config_file.c:126: warning: null argument where non-null required (arg 2)
    config_file.c:127: warning: null argument where non-null required (arg 1)
    config_file.c:127: warning: null argument where non-null required (arg 1)
    config_file.c:127: warning: null argument where non-null required (arg 2)
    config_file.c:127: warning: null argument where non-null required (arg 2)
    config_file.c:128: warning: null argument where non-null required (arg 1)
    config_file.c:128: warning: null argument where non-null required (arg 1)
    config_file.c:128: warning: null argument where non-null required (arg 2)
    config_file.c:128: warning: null argument where non-null required (arg 2)
    config_file.c:129: warning: null argument where non-null required (arg 1)
    config_file.c:129: warning: null argument where non-null required (arg 1)
    config_file.c:129: warning: null argument where non-null required (arg 2)
    config_file.c:129: warning: null argument where non-null required (arg 2)
    config_file.c:129: warning: null argument where non-null required (arg 1)
    config_file.c:129: warning: null argument where non-null required (arg 1)
    config_file.c:129: warning: null argument where non-null required (arg 2)
    config_file.c:129: warning: null argument where non-null required (arg 2)
    config_file.c:130: warning: null argument where non-null required (arg 1)
    config_file.c:130: warning: null argument where non-null required (arg 1)
    config_file.c:130: warning: null argument where non-null required (arg 2)
    config_file.c:130: warning: null argument where non-null required (arg 2)
    config_file.c:131: warning: null argument where non-null required (arg 1)
    config_file.c:131: warning: null argument where non-null required (arg 1)
    config_file.c:131: warning: null argument where non-null required (arg 2)
    config_file.c:131: warning: null argument where non-null required (arg 2)
    config_file.c:132: warning: null argument where non-null required (arg 1)
    config_file.c:132: warning: null argument where non-null required (arg 1)
    config_file.c:132: warning: null argument where non-null required (arg 2)
    config_file.c:132: warning: null argument where non-null required (arg 2)
    config_file.c:132: warning: null argument where non-null required (arg 1)
    config_file.c:132: warning: null argument where non-null required (arg 1)
    config_file.c:132: warning: null argument where non-null required (arg 2)
    config_file.c:132: warning: null argument where non-null required (arg 2)
    config_file.c:133: warning: null argument where non-null required (arg 1)
    config_file.c:133: warning: null argument where non-null required (arg 1)
    config_file.c:133: warning: null argument where non-null required (arg 2)
    config_file.c:133: warning: null argument where non-null required (arg 2)
    config_file.c:133: warning: null argument where non-null required (arg 1)
    config_file.c:133: warning: null argument where non-null required (arg 1)
    config_file.c:133: warning: null argument where non-null required (arg 2)
    config_file.c:133: warning: null argument where non-null required (arg 2)
    config_file.c:138: warning: null argument where non-null required (arg 1)
    config_file.c:138: warning: null argument where non-null required (arg 1)
    config_file.c:138: warning: null argument where non-null required (arg 2)
    config_file.c:138: warning: null argument where non-null required (arg 2)
    config_file.c:139: warning: null argument where non-null required (arg 1)
    config_file.c:139: warning: null argument where non-null required (arg 1)
    config_file.c:139: warning: null argument where non-null required (arg 2)
    config_file.c:139: warning: null argument where non-null required (arg 2)
    config_file.c:140: warning: null argument where non-null required (arg 1)
    config_file.c:140: warning: null argument where non-null required (arg 1)
    config_file.c:140: warning: null argument where non-null required (arg 2)
    config_file.c:140: warning: null argument where non-null required (arg 2)
    config_file.c:140: warning: null argument where non-null required (arg 1)
    config_file.c:140: warning: null argument where non-null required (arg 1)
    config_file.c:140: warning: null argument where non-null required (arg 2)
    config_file.c:140: warning: null argument where non-null required (arg 2)
    config_file.c:141: warning: null argument where non-null required (arg 1)
    config_file.c:141: warning: null argument where non-null required (arg 1)
    config_file.c:141: warning: null argument where non-null required (arg 2)
    config_file.c:141: warning: null argument where non-null required (arg 2)
    config_file.c:142: warning: null argument where non-null required (arg 1)
    config_file.c:142: warning: null argument where non-null required (arg 1)
    config_file.c:142: warning: null argument where non-null required (arg 2)
    config_file.c:142: warning: null argument where non-null required (arg 2)
    config_file.c:143: warning: null argument where non-null required (arg 1)
    config_file.c:143: warning: null argument where non-null required (arg 1)
    config_file.c:143: warning: null argument where non-null required (arg 2)
    config_file.c:143: warning: null argument where non-null required (arg 2)
    config_file.c:144: warning: null argument where non-null required (arg 1)
    config_file.c:144: warning: null argument where non-null required (arg 1)
    config_file.c:144: warning: null argument where non-null required (arg 2)
    config_file.c:144: warning: null argument where non-null required (arg 2)
    config_file.c:145: warning: null argument where non-null required (arg 1)
    config_file.c:145: warning: null argument where non-null required (arg 1)
    config_file.c:145: warning: null argument where non-null required (arg 2)
    config_file.c:145: warning: null argument where non-null required (arg 2)
    config_file.c:148: warning: null argument where non-null required (arg 1)
    config_file.c:148: warning: null argument where non-null required (arg 1)
    config_file.c:148: warning: null argument where non-null required (arg 2)
    config_file.c:148: warning: null argument where non-null required (arg 2)
    config_file.c:149: warning: null argument where non-null required (arg 1)
    config_file.c:149: warning: null argument where non-null required (arg 1)
    config_file.c:149: warning: null argument where non-null required (arg 2)
    config_file.c:149: warning: null argument where non-null required (arg 2)
    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 -o libpp_common_la-config_file.o >/dev/null 2>&1
    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-log.lo -MD -MP -MF ".deps/libpp_common_la-log.Tpo" -c -o libpp_common_la-log.lo `test -f 'log.c' || echo './'`log.c; \
    then mv -f ".deps/libpp_common_la-log.Tpo" ".deps/libpp_common_la-log.Plo"; else rm -f ".deps/libpp_common_la-log.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-log.lo -MD -MP -MF .deps/libpp_common_la-log.Tpo -c log.c -fPIC -DPIC -o .libs/libpp_common_la-log.o
    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-log.lo -MD -MP -MF .deps/libpp_common_la-log.Tpo -c log.c -o libpp_common_la-log.o >/dev/null 2>&1
    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-clean_tools.lo -MD -MP -MF ".deps/libpp_common_la-clean_tools.Tpo" -c -o libpp_common_la-clean_tools.lo `test -f 'clean_tools.c' || echo './'`clean_tools.c; \
    then mv -f ".deps/libpp_common_la-clean_tools.Tpo" ".deps/libpp_common_la-clean_tools.Plo"; else rm -f ".deps/libpp_common_la-clean_tools.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-clean_tools.lo -MD -MP -MF .deps/libpp_common_la-clean_tools.Tpo -c clean_tools.c -fPIC -DPIC -o .libs/libpp_common_la-clean_tools.o
    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-clean_tools.lo -MD -MP -MF .deps/libpp_common_la-clean_tools.Tpo -c clean_tools.c -o libpp_common_la-clean_tools.o >/dev/null 2>&1
    /bin/sh ../libtool --mode=link --tag=CC gcc -g -O2 -Wall -o libpp_common.la -rpath /usr/local/nagios/lib libpp_common_la-config_file.lo libpp_common_la-log.lo libpp_common_la-clean_tools.lo -lz -ldl -lgd
    rm -fr .libs/libpp_common.a .libs/libpp_common.la .libs/libpp_common.lai
    gcc -shared .libs/libpp_common_la-config_file.o .libs/libpp_common_la-log.o .libs/libpp_common_la-clean_tools.o -lz -ldl -lgd -Wl,-soname -Wl,libpp_common.so.0 -o .libs/libpp_common.so.0.0.0
    (cd .libs && rm -f libpp_common.so.0 && ln -s libpp_common.so.0.0.0 libpp_common.so.0)
    (cd .libs && rm -f libpp_common.so && ln -s libpp_common.so.0.0.0 libpp_common.so)
    ar cru .libs/libpp_common.a libpp_common_la-config_file.o libpp_common_la-log.o libpp_common_la-clean_tools.o
    ranlib .libs/libpp_common.a
    creating libpp_common.la
    (cd .libs && rm -f libpp_common.la && ln -s ../libpp_common.la libpp_common.la)
    make2: Leaving directory `/tmp/perfparse-0.106.1/libpp_common'
    Making all in libpp_mysql
    make2: Entering directory `/tmp/perfparse-0.106.1/libpp_mysql'
    if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF ".deps/libpp_mysql_la-common.Tpo" -c -o libpp_mysql_la-common.lo `test -f 'common.c' || echo './'`common.c; \
    then mv -f ".deps/libpp_mysql_la-common.Tpo" ".deps/libpp_mysql_la-common.Plo"; else rm -f ".deps/libpp_mysql_la-common.Tpo"; exit 1; fi
    mkdir .libs
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF .deps/libpp_mysql_la-common.Tpo -c common.c -fPIC -DPIC -o .libs/libpp_mysql_la-common.o
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF .deps/libpp_mysql_la-common.Tpo -c common.c -o libpp_mysql_la-common.o >/dev/null 2>&1
    if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP -MF ".deps/libpp_mysql_la-dbms.Tpo" -c -o libpp_mysql_la-dbms.lo `test -f 'dbms.c' || echo './'`dbms.c; \
    then mv -f ".deps/libpp_mysql_la-dbms.Tpo" ".deps/libpp_mysql_la-dbms.Plo"; else rm -f ".deps/libpp_mysql_la-dbms.Tpo"; exit 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP -MF .deps/libpp_mysql_la-dbms.Tpo -c dbms.c -fPIC -DPIC -o .libs/libpp_mysql_la-dbms.o
    In file included from dbms.c:36:
    ./dbms.h:29:19: mysql.h: No such file or directory
    ./dbms.h:30:20: errmsg.h: No such file or directory
    In file included from dbms.c:36:
    ./dbms.h:36: error: syntax error before "db_mysql"
    ./dbms.h:36: warning: type defaults to `int' in declaration of `db_mysql'
    ./dbms.h:36: warning: data definition has no type or storage class
    ./dbms.h:37: error: syntax error before '*' token
    ./dbms.h:37: warning: type defaults to `int' in declaration of `query_result'
    ./dbms.h:37: warning: data definition has no type or storage class
    ./dbms.h:38: error: syntax error before "result_row"
    ./dbms.h:38: warning: type defaults to `int' in declaration of `result_row'
    ./dbms.h:38: warning: data definition has no type or storage class
    dbms.c:53: error: `MYSQL_PORT' undeclared here (not in a function)
    dbms.c:54: error: syntax error before "db_mysql"
    dbms.c:54: warning: type defaults to `int' in declaration of `db_mysql'
    dbms.c:54: warning: data definition has no type or storage class
    dbms.c:55: error: syntax error before '*' token
    dbms.c:55: warning: type defaults to `int' in declaration of `query_result'
    dbms.c:55: warning: data definition has no type or storage class
    dbms.c:56: error: syntax error before "result_row"
    dbms.c:56: warning: type defaults to `int' in declaration of `result_row'
    dbms.c:56: warning: data definition has no type or storage class
    dbms.c: In function `iData':
    dbms.c:65: error: subscripted value is neither array nor pointer
    dbms.c:65: error: subscripted value is neither array nor pointer
    dbms.c:66: error: subscripted value is neither array nor pointer
    dbms.c: In function `isNull':
    dbms.c:73: error: subscripted value is neither array nor pointer
    dbms.c: In function `sData':
    dbms.c:80: error: subscripted value is neither array nor pointer
    dbms.c:80: error: subscripted value is neither array nor pointer
    dbms.c:81: error: subscripted value is neither array nor pointer
    dbms.c: In function `libpp_mysql_query':
    dbms.c:103: warning: implicit declaration of function `mysql_query'
    dbms.c:104: warning: implicit declaration of function `mysql_error'
    dbms.c:104: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
    dbms.c:106: warning: implicit declaration of function `mysql_affected_rows'
    dbms.c:108: warning: implicit declaration of function `mysql_store_result'
    dbms.c:108: warning: assignment makes pointer from integer without a cast
    dbms.c: In function `libpp_mysql_query_int':
    dbms.c:121: error: `MYSQL_ROW' undeclared (first use in this function)
    dbms.c:121: error: (Each undeclared identifier is reported only once
    dbms.c:121: error: for each function it appears in.)
    dbms.c:121: error: syntax error before "row"
    dbms.c:122: error: `MYSQL_RES' undeclared (first use in this function)
    dbms.c:122: error: `result' undeclared (first use in this function)
    dbms.c:130: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
    dbms.c:132: warning: implicit declaration of function `mysql_use_result'
    dbms.c:133: error: `row' undeclared (first use in this function)
    dbms.c:133: warning: implicit declaration of function `mysql_fetch_row'
    dbms.c:140: warning: implicit declaration of function `mysql_free_result'
    dbms.c: In function `libpp_mysql_query_char':
    dbms.c:150: error: `MYSQL_RES' undeclared (first use in this function)
    dbms.c:150: error: `result' undeclared (first use in this function)
    dbms.c:151: error: `MYSQL_ROW' undeclared (first use in this function)
    dbms.c:151: error: syntax error before "row"
    dbms.c:161: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
    dbms.c:164: error: `row' undeclared (first use in this function)
    dbms.c: In function `libpp_mysql_query_no_return':
    dbms.c:181: error: `MYSQL_RES' undeclared (first use in this function)
    dbms.c:181: error: `discaud' undeclared (first use in this function)
    dbms.c:189: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
    dbms.c: In function `rows':
    dbms.c:221: warning: implicit declaration of function `mysql_num_rows'
    dbms.c: In function `now_connect':
    dbms.c:229: warning: implicit declaration of function `mysql_init'
    dbms.c:236: warning: implicit declaration of function `mysql_options'
    dbms.c:236: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
    dbms.c:239: warning: implicit declaration of function `mysql_real_connect'
    dbms.c:259: warning: implicit declaration of function `mysql_close'
    dbms.c:263: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
    make2: *** libpp_mysql_la-dbms.lo Error 1
    make2: Leaving directory `/tmp/perfparse-0.106.1/libpp_mysql'
    make1: *** all-recursive Error 1
    make1: Leaving directory `/tmp/perfparse-0.106.1'
    make: *** all Error 2

    Somebody else had already the same problem.
    http://wiki.perfparse.org/tiki-view_...ts_parentId=75

    I already wrote into the forum of perfparse, however without success.

    Possibly someone an idea?

    Thanks for each assistance.

    à bientôt

    parcivial

  • #2
    do you have the mysql-devel package ?

    Comment


    • #3
      Hi,
      yes that installs.
      the mysql.h is in /usr/include/mysql/mysql.h
      Apparent this is not found.

      Comment

      Working...
      X