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

Zabbix agent does not compile on Solaris, HP-UX

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.1.5
    • 2.1.2, 2.1.3, 2.1.4
    • Installation (I)
    • Solaris 10, HP-UX 11.31

      Create an archive with "make dist" on Linux. Send the archive to Solaris or HP-UX server.

      $ ./configure --enable-agent --prefix=`pwd`
      $ make install

      Error on Solaris:

      gcc -DSYSCONFDIR="\"/export/home/zabbix/andris/ZBX-6902/zabbix-2.1.2/etc\"" -DLIBDIR="\"/export/home/zabbix/andris/ZBX-6902/zabbix-2.1.2/lib\"" -m64 -g -O2 -o zabbix_agent zabbix_agent-zabbix_agent.o zabbix_agent-stats.o zabbix_agent-cpustat.o zabbix_agent-diskdevices.o zabbix_agent-vmstats.o zabbix_agent-zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/solaris/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 ../../src/libs/zbxmodules/libzbxmodules.a ../../src/libs/zbxregexp/libzbxregexp.a -lkvm -lm -lrt -lnsl -lkstat -lsocket -lresolv
      Undefined first referenced
      symbol in file
      zbx_vector_ptr_append ../../src/libs/zbxregexp/libzbxregexp.a(zbxregexp.o)
      ld: fatal: symbol referencing errors. No output written to zabbix_agent
      collect2: ld returned 1 exit status

          • Error code 1
            make: Fatal error: Command failed for target `zabbix_agent'

      Error on HP-UX:

      cc -DSYSCONFDIR="\"/var/tmp/andris/zabbix-2.1.2/etc\"" -DLIBDIR="\"/var/tmp/andris/zabbix-2.1.2/lib\"" -o zabbix_agent zabbix_agent-zabbix_agent.o zabbix_agent-stats.o zabbix_agent-cpustat.o zabbix_agent-diskdevices.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 ../../src/libs/zbxmodules/libzbxmodules.a ../../src/libs/zbxregexp/libzbxregexp.a -lm
      ld: Unsatisfied symbol "zbx_vector_ptr_append" in file ../../src/libs/zbxregexp/libzbxregexp.a[zbxregexp.o]
      1 errors.

          • Error exit code 1

            Unassigned Unassigned
            andris Andris Mednis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: