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

Agent2 compilation broken on macOS

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 6.0.0beta3, 6.0 (plan)
    • 6.0.0beta3, 6.0 (plan)
    • Agent (G)
    • None
    • Team B
    • Sprint 84 (Jan 2022)
    • 0.125

    Description

      Agent 2 compilation is broken on macOS since ZBX-7933 was implemented:

      Making all in go
      # zabbix.com/pkg/zbxlib
      Undefined symbols for architecture x86_64:
        "_CONFIG_TCP_MAX_BACKLOG_SIZE", referenced from:
            _zbx_tcp_listen in libzbxcomms.a(comms.o)
      ld: symbol(s) not found for architecture x86_64
      

      Other compilation problems are caused by ZBXNEXT-6958 implementation.

      # zabbix.com/cmd/zabbix_agent2
      cmd/zabbix_agent2/external.go:63:19: undefined: getListener
      cmd/zabbix_agent2/external.go:86:5: undefined: listenOnPluginFail
      cmd/zabbix_agent2/zabbix_agent2.go:353:8: undefined: cleanUpExternal
      cmd/zabbix_agent2/zabbix_agent2.go:407:3: undefined: cleanUpExternal
      cmd/zabbix_agent2/zabbix_agent2.go:614:3: undefined: cleanUpExternal
      cmd/zabbix_agent2/zabbix_agent2_nix.go:51:13: undefined: checkExternalExits
      make[2]: *** [zabbix.com/cmd/zabbix_agent2] Error 2
      make[1]: *** [all-recursive] Error 1
      make: *** [all-recursive] Error 1
      

      Also PCRE2 support should be added (same as ZBX-20436 and ZBX-20444).

      There possibly could be other issues preventing successful compilation.

      Attachments

        Issue Links

          Activity

            People

              ssimonenko Sergey Simonenko
              ssimonenko Sergey Simonenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: