Ad Widget

Collapse

Make Install error un 1.4.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jonmor
    Junior Member
    • Sep 2006
    • 8

    #1

    Make Install error un 1.4.2

    Hi when i install Zab. 1.4.2 on my Rhel4,
    He dont create the zabbix_server file.
    I've install it with the L ./configure --enable-server --with-oracle=/usr/local --with-net-snmp

    I got this error when i do the make install
    db.c: In function `zbx_db_connect':
    db.c:147: warning: initialization makes integer from pointer without a cast
    db.c:156: warning: passing arg 1 of `__zbx_zbx_dsprintf' makes pointer from integer without a cast
    db.c:156: warning: assignment makes integer from pointer without a cast
    db.c:158: warning: passing arg 2 of `sqlo_connect' makes pointer from integer without a cast
    db.c:165: warning: passing arg 1 of `free' makes pointer from integer without a cast
    db.c:165: warning: assignment makes integer from pointer without a cast
    db.c: In function `zbx_db_insert_id':
    db.c:776: error: syntax error before "sql"
    make[3]: *** [db.o] Error 1
    make[3]: Leaving directory `/zabbix-1.4.2/src/libs/zbxdb'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/zabbix-1.4.2/src/libs'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/zabbix-1.4.2/src'
    make: *** [install-recursive] Error 1

    I've join a log for my ./configure and my make install

    thanks in advanced.
    Attached Files
    Last edited by jonmor; 06-09-2007, 19:28.
  • cupnoodle
    Junior Member
    • Sep 2007
    • 3

    #2
    Have you got this problem resolved?

    I got this same problem on RH EL3

    Thanks

    Comment

    • marc
      Senior Member
      • Oct 2004
      • 146

      #3
      would you mind to convert your log to a more common fileextension like .docx?

      Comment

      • Cícero Demarchi
        Junior Member
        • Sep 2007
        • 1

        #4
        I got this same problem on RHEL 4.4 with oracle

        the db.c:147 error can be fixed changing the line to:
        char *connect = NULL;

        but the db.c:776: error: syntax error before "sql" i´m still working on

        anybody have a solution??

        thx in advance

        Comment

        Working...