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

Zabbix 7.0.0alpha2 build failed in Solaris 11 sparc

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.0.0alpha2
    • Agent (G)
    • - SunOS sol11 5.11 11.1 sun4v sparc SUNW,SPARC-Enterprise-T5120
      - gcc (GCC) 6.5.0

      Steps to reproduce:

      1. Do configure in Zabbix 7.0.0alpha2 source directory
        # CC=/usr/pkg/gcc6/bin/gcc LDFLAGS+=-L/usr/pkg/gcc6/lib CFLAGS+='-I/usr/pkg/gcc6/include -lnsl' ./configure '--prefix=/usr/local/zabbix' '--sysconfdir=/etc/zabbix' --enable-agent --with-libpcre2 '--with-libpcre2-lib=/usr/local/pcre2-10.42/lib' '--with-libpcre2-include=/usr/local/pcre2-10.42/include' '--with-openssl-lib=/usr/pkg/lib' '--with-openssl-include=/usr/pkg/include/openssl' 
      1. Do build
        # make

      Result:

      	/usr/bin/gcc -DHAVE_CONFIG_H -I../../include/common -I../../include    -DZABBIX_DAEMON  -I/usr/local/openssl-1.1.1u/include -std=gnu99  -I/usr/local/pcre2-10.42/include -MT libzbxagent_a-zbxkstat.o -MD -MP -MF .deps/libzbxagent_a-zbxkstat.Tpo -c -o libzbxagent_a-zbxkstat.o `test -f 'zbxkstat.c' || echo './'`zbxkstat.c
      	mv -f .deps/libzbxagent_a-zbxkstat.Tpo .deps/libzbxagent_a-zbxkstat.Po
      	rm -f libzbxagent.a
      	ar cru libzbxagent.a libzbxagent_a-listener.o  libzbxagent_a-zbxconf.o  libzbxagent_a-zbxkstat.o 
      	ranlib libzbxagent.a
      	/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 Solaris 11 sparc.

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

              Created:
              Updated:
              Resolved: