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

HPUX 11.23 IA64 Agent Compile Problem - Possible Workaround

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.3rc1, 2.1.0
    • Agent (G)
    • HPUX 11.23 IA64

    Description

      today i have compiled Zabbix Agent to test on HPUX IA64 release 11.23
      and i have find some problem, the main one is this (other guy on forum
      have found it http://www.zabbix.com/forum/showthread.php?t=26535):

      Compile Error:


      cc -DSYSCONFDIR="\"/usr/local/etc\"" -g -o zabbix_agent
      zabbix_agent-zabbix_agent.o zabbix_agent-stats.o
      zabbix_agent-cpustat.o zabbix_agent-diskdevices.o
      zabbix_agent-perfstat.o zabbix_agent-vmstats.o zabbix_agent-zbxconf.o
      ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a
      ../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a
      ../../src/libs/zbxsysinfo/agent/libagentsysinfo.a
      ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a
      ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a
      ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxalgo/libzbxalgo.a
      ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a
      ../../src/libs/zbxcomms/libzbxcomms.a
      ../../src/libs/zbxconf/libzbxconf.a
      ../../src/libs/zbxcommon/libzbxcommon.a
      ../../src/libs/zbxcrypto/libzbxcrypto.a
      ../../src/libs/zbxjson/libzbxjson.a
      ../../src/libs/zbxexec/libzbxexec.a -lm
      /usr/ccs/bin/ld: Unsatisfied symbols:
      if_freenameindex (first referenced in
      ../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a(libspecsysinfo_a-net.o))
      (code)
      if_nameindex (first referenced in
      ../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a(libspecsysinfo_a-net.o))
      (code)

          • Error exit code 1

      I have solved in this mode:

      1. export LDFLAGS="-lipv6"
      2. ./configure --enable-agent
      3. make
      4. make install

      Attachments

        1. configure.log
          12 kB
        2. configure
          331 kB
        3. configure
          331 kB
        4. config.log
          284 kB
        5. config.log
          284 kB

        Activity

          People

            dimir dimir
            dimi Dimitri Bellini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: