Ad Widget

Collapse

Zabbix 1.3.3 Compile Efforts for RPM Packaging

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #1

    Zabbix 1.3.3 Compile Efforts for RPM Packaging

    I am rolling RPM's for the current beta 1.3.3 as I did for 1.3.2 and here are the results:

    Fedora Core 6
    Compiles without issue (--with-ldap seems to no longer be supported)

    RedHat Enterprise 4
    Compiles without issue (--with-ldap seems to no longer be supported)

    RedHat Enterprise 3
    Tried to compile using stock mysql* 3.23 RPMS, this was expected not to work since this did not work in 1.3.2 either.

    I also tried to compile using mysql* 4.1 RPMS downloaded from mysql.com, these were compiled specifically for RHEL3 and this works with zabbix 1.3.2, BUT zabbix 1.3.3 compile fails with:

    Code:
    zabbix_server-evalfunc.o(.text+0xb4): In function `evaluate_LOGSOURCE':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server/evalfunc.c:104: undefined reference to `mysql_free_result'
    zabbix_server-evalfunc.o(.text+0x1a4): In function `evaluate_LOGSEVERITY':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server/evalfunc.c:156: undefined reference to `mysql_free_result'
    zabbix_server-evalfunc.o(.text+0x2b0): In function `evaluate_COUNT':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server/evalfunc.c:216: undefined reference to `mysql_free_result'
    zabbix_server-evalfunc.o(.text+0x3f1): In function `evaluate_SUM':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server/evalfunc.c:327: undefined reference to `mysql_free_result'
    zabbix_server-evalfunc.o(.text+0x70e): In function `evaluate_AVG':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server/evalfunc.c:412: undefined reference to `mysql_free_result'
    zabbix_server-evalfunc.o(.text+0x8c3):/usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server/evalfunc.c:538: more undefined references to `mysql_free_result' follow
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0xf): In function `zbx_db_close':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:57: undefined reference to `mysql_close'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x35): In function `zbx_db_connect':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:89: undefined reference to `mysql_init'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x71):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:91: undefined reference to `mysql_real_connect'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x99):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:120: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0xdd):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:100: undefined reference to `mysql_select_db'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0xfa):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:110: undefined reference to `mysql_autocommit'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x10f):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:112: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x11e):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:112: undefined reference to `mysql_error'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x151):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:102: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x160):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:102: undefined reference to `mysql_error'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x199):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:93: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x1a8):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:93: undefined reference to `mysql_error'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x30e): In function `zbx_db_vexecute':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:363: undefined reference to `mysql_query'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x323):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:365: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x332):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:365: undefined reference to `mysql_error'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x35f):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:367: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x3a9):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:382: undefined reference to `mysql_affected_rows'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x47b): In function `zbx_db_vselect':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:613: undefined reference to `mysql_query'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x4a8):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:616: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x4b7):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:616: undefined reference to `mysql_error'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x4e0):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:617: undefined reference to `mysql_errno'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x531):/usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:632: undefined reference to `mysql_store_result'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x3dc): In function `zbx_db_fetch':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:505: undefined reference to `mysql_fetch_row'
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o)(.text+0x572): In function `zbx_db_insert_id':
    /usr/src/redhat/BUILD/zabbix-1.3.3/src/libs/zbxdb/db.c:718: undefined reference to `mysql_insert_id'
    collect2: ld returned 1 exit status
    make[3]: *** [zabbix_server] Error 1
    make[3]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.3.3/src/zabbix_server'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.3.3/src'
    make: *** [all-recursive] Error 1
Working...