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

Zabbix agent doesnt compile on Solaris 8

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 4.0.10
    • Agent (G)
    • None
    • Solaris 8
      psrinfo -pvThe UltraSPARC-IIIi physical processor has 1 virtual processor (0)The UltraSPARC-IIIi physical processor has 1 virtual processor (1)
    • Team A
    • Sprint 54 (Jul 2019)

      Trying to build Zabbix agent with these commands:

      CTNSS012# ./configure --enable-agent --enable-ipv6 --prefix=/
      --sysconfdir=/etc/zabbix -with-openssl=/tmp/zabbix_agent/env
      -with-libpcre=/tmp/zabbix_agent/env 
      

      make ends with this:

      cc -DHAVE_CONFIG_H -I. -I../../../../include   
      -I../../../../src/zabbix_agent/ -m64 -g -O2 -I/tmp/zabbix_agent/env/include -MT
      libcommonsysinfo_a-net.o -MD -MP -MF .deps/libcommonsysinfo_a-net.Tpo -c -o
      libcommonsysinfo_a-net.o `test -f 'net.c' || echo './'`net.c
      
      net.c: In function `dns_query':
      
      net.c:613: error: `saved_ns' undeclared (first use in this
      function)
      
      net.c:613: error: (Each undeclared identifier is reported only
      once
      
      net.c:613: error: for each function it appears in.)
      
      net.c:614: error: `saved_nscount' undeclared (first use in this
      function)
      
      net.c:658: error: `saved_options' undeclared (first use in this
      function)
      
      net.c:659: error: `saved_retrans' undeclared (first use in this
      function)
      
      net.c:660: error: `saved_retry' undeclared (first use in this
      function)
      
      *** Error code 1
      
      make: Fatal error: Command failed for target
      `libcommonsysinfo_a-net.o'
      
      Current working directory
      /tmp/zabbix-4.0.10/src/libs/zbxsysinfo/common
      
      *** Error code 1
      
      make: Fatal error: Command failed for target `install-recursive'
      
      Current working directory /tmp/zabbix-4.0.10/src/libs/zbxsysinfo
      
      *** Error code 1
      
      make: Fatal error: Command failed for target `install-recursive'
      
      Current working directory /tmp/zabbix-4.0.10/src/libs
      
      *** Error code 1
      
      make: Fatal error: Command failed for target `install-recursive'
      
      Current working directory /tmp/zabbix-4.0.10/src
      
      *** Error code 1
      
      make: Fatal error: Command failed for target `install-recursive'
      
      

      Full log and config.h in attachment

        1. config.h
          19 kB
        2. log.txt
          35 kB

            zabbix.dev Zabbix Development Team
            zux Edgars Melveris
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: