Ad Widget

Collapse

1.4.2 & 1.4.3 (pre) compilation error with Oracle

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jgordor
    Junior Member
    • Dec 2006
    • 19

    #1

    1.4.2 & 1.4.3 (pre) compilation error with Oracle

    Hi,

    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.

    Many thanks in advance.
    Jose Luis Gordo Romero
    Last edited by jgordor; 16-10-2007, 12:28.
Working...