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

Zabbix 7.0.0alpha2 build failed in HP-UX

XMLWordPrintable

    • Sprint 102 (Jul 2023), Sprint 105 (Oct 2023)
    • 1

      Steps to reproduce:

      1. Do configure in zabbix-7.0.0alpha2 source directory
        #  CC=/usr/bin/gcc CFLAGS=-std=gnu99 ./configure --enable-agent --sysconfdir=/etc/zabbix --localstatedir=/var --with-libpcre2 --with-libpcre2-lib=/usr/local/pcre2-10.42/lib --with-libpcre2-include=/usr/local/pcre2-10.42/include --with-openssl=/usr/local/openssl-1.1.1u
      1. Run make
        # make

      Result:

              /usr/bin/gcc -DZABBIX_DAEMON  -DDEFAULT_CONFIG_FILE="\"/etc/zabbix/zabbix_agentd.conf\""  -DDEFAULT_LOAD_MODULE_PATH="\"/usr/local/lib/modules\""  -I/usr/local/openssl-1.1.1u/include -std=gnu99  -I/usr/local/pcre2-10.42/include  -L/usr/local/openssl-1.1.1u/lib   -L/usr/local/pcre2-10.42/lib  -o zabbix_agentd zabbix_agentd-zabbix_agentd.o libzbxagent.a  active_checks/libzbxactive_checks.a  logfiles/libzbxlogfiles.a  ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a  ../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a  ../../src/libs/zbxsysinfo/hpux/libspechostnamesysinfo.a  ../../src/libs/zbxsysinfo/agent/libagentsysinfo.a  ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a  ../../src/libs/zbxsysinfo/common/libcommonsysinfo_httpmetrics.a  ../../src/libs/zbxsysinfo/common/libcommonsysinfo_http.a  ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a  ../../src/libs/zbxsysinfo/alias/libalias.a  ../../src/libs/zbxlog/libzbxlog.a  ../../src/libs/zbxregexp/libzbxregexp.a  ../../src/libs/zbxthreads/libzbxthreads.a  ../../src/libs/zbxmutexs/libzbxmutexs.a  ../../src/libs/zbxprof/libzbxprof.a  ../../src/libs/zbxnix/libzbxnix.a  ../../src/libs/zbxcomms/libzbxcomms.a  ../../src/libs/zbxcommshigh/libzbxcommshigh.a  ../../src/libs/zbxconf/libzbxconf.a  ../../src/libs/zbxjson/libzbxjson.a  ../../src/libs/zbxalgo/libzbxalgo.a  ../../src/libs/zbxvariant/libzbxvariant.a  ../../src/libs/zbxcommon/libzbxcommon.a  ../../src/libs/zbxgetopt/libzbxgetopt.a  ../../src/libs/zbxhash/libzbxhash.a  ../../src/libs/zbxcrypto/libzbxcrypto.a  ../../src/libs/zbxexec/libzbxexec.a  ../../src/libs/zbxcompress/libzbxcompress.a  ../../src/libs/zbxmodules/libzbxmodules.a  ../../src/libs/zbxhttp/libzbxhttp.a  ../../src/libs/zbxfile/libzbxfile.a  ../../src/libs/zbxip/libzbxip.a  ../../src/libs/zbxtime/libzbxtime.a  ../../src/libs/zbxnum/libzbxnum.a  ../../src/libs/zbxstr/libzbxstr.a  ../../src/libs/zbxparam/libzbxparam.a  ../../src/libs/zbxexpr/libzbxexpr.a  -lssl -lcrypto   -lpthread -lm    -lpcre2-8 -liconv
      ld: Unsatisfied symbol "zbx_get_diskstat" in file ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a[libcommonsysinfo_a-diskdevices.o]
      1 errors.
      collect2: ld returned 1 exit status
      *** Error exit code 1 

      Expected:
      Pass build in HP-UX.

            arimdjonoks Artjoms Rimdjonoks
            uki Yuuki Enomoto
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: