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

Proxy compilation fails when using --with-sqlite3, works ok with --with-mysql

    Details

      Description

      configuration made with: ./configure --enable-proxy --with-sqlite3 --with-net-snmp --with-libcurl --prefix=/home/zabbix

      the after the "make" command, this is the error:

      make[3]: Nothing to be done for `all'.
      make[3]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs/zbxcommshigh'
      Making all in zbxdb
      make[3]: Entering directory `/home/zabbix/zabbix/trunk/src/libs/zbxdb'
      make[3]: Nothing to be done for `all'.
      make[3]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs/zbxdb'
      Making all in zbxdbupgrade
      make[3]: Entering directory `/home/zabbix/zabbix/trunk/src/libs/zbxdbupgrade'
      gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/include -I/usr/lib/perl5/5.14.2/i586-linux-thread-multi/CORE -I. -I/usr/include -MT dbupgrade.o -MD -MP -MF .deps/dbupgrade.Tpo -c -o dbupgrade.o dbupgrade.c
      dbupgrade.c: In function ‘DBfield_type_string’:
      dbupgrade.c:99:49: error: ‘ZBX_TYPE_ID_STR’ undeclared (first use in this function)
      dbupgrade.c:99:49: note: each undeclared identifier is reported only once for each function it appears in
      dbupgrade.c:108:49: error: ‘ZBX_TYPE_UINT_STR’ undeclared (first use in this function)
      make[3]: *** [dbupgrade.o] Error 1
      make[3]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs/zbxdbupgrade'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/zabbix/zabbix/trunk/src'
      make: *** [all-recursive] Error 1

      using --with-mysql everything works as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gabriele.armao gabriele.armao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: