Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-1394

checks_db.c:162: error: too few arguments to function 'set_result_type'

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.0 (alpha)
    • 1.9.0 (alpha)
    • Installation (I)
    • None

      When using --with-odbc you get the following error during compile:
      gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_db.o -MD -MP -MF .deps/checks_db.Tpo -c -o checks_db.o checks_db.c
      checks_db.c: In function 'get_value_db':
      checks_db.c:162: warning: passing argument 3 of 'set_result_type' makes integer from pointer without a cast
      checks_db.c:162: error: too few arguments to function 'set_result_type'

            sasha Alexander Vladishev
            bvierra Billy Vierra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: