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

1.4.2 & 1.4.3 (pre) compilation error with Oracle (not 1.4.1)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.4.2, 1.4.3
    • Server (S)
    • None
    • RHLES 4 update 4 with libsqlora8 & oraclient 9 & 10

      Compilation of 1.4.2 & 1.4.3 (pre) on RHLES 4 update 4 with libsqlora8 (working with 1.1.6) fails (tried without any plus features, only enable server and with or without client). Also tried with client 9.2.0.6 and 10.2.0.1 (same result)

      Compilation of 1.4.1 works as expected, this is the compilation error log on 1.4.2 and 1.4.3 pre:

      make[3]: Entering directory `/usr/local/src/zabbix-1.4.3/src/libs/zbxcomms'
      make[3]: Nothing to be done for `all'.
      make[3]: Leaving directory `/usr/local/src/zabbix-1.4.3/src/libs/zbxcomms'
      Making all in zbxdb
      make[3]: Entering directory `/usr/local/src/zabbix-1.4.3/src/libs/zbxdb'
      if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I/home/zabbix/sqlora8/include -I/home/zabbix/sqlora8/lib/libsqlora8/include -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; \
      then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
      db.c: In function `zbx_db_connect':
      db.c:158: warning: initialization makes integer from pointer without a cast
      db.c:167: warning: passing arg 1 of `__zbx_zbx_dsprintf' makes pointer from integer without a cast
      db.c:167: warning: assignment makes integer from pointer without a cast
      db.c:169: warning: passing arg 2 of `sqlo_connect' makes pointer from integer without a cast
      db.c:176: warning: passing arg 1 of `free' makes pointer from integer without a cast
      db.c:176: warning: assignment makes integer from pointer without a cast
      db.c: In function `zbx_db_insert_id':
      db.c:796: error: syntax error before "sql"
      make[3]: *** [db.o] Error 1
      make[3]: Leaving directory `/usr/local/src/zabbix-1.4.3/src/libs/zbxdb'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/usr/local/src/zabbix-1.4.3/src/libs'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/usr/local/src/zabbix-1.4.3/src'

      If more info is needed please ask.

            alexei Alexei Vladishev
            jgordor Jose Luis Gordo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: