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

zbxsysinfo: simple.c should include zbxip.h unconditionally to avoid compilation issues

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None

      Building zbxsysinfo without curl results in

      simple.c:60:82: error: implicit declaration of function ‘zbx_join_hostport’ [-Wimplicit-function-declaration] 60 | zabbix_log(LOG_LEVEL_DEBUG, "LDAP - initialization failed [%s]", zbx_join_hostport(host_port,
      

      This is because if `HAVE_LIBCURL` is not defined, the `zbxip.h` header which declares `zbx_join_hostport` is not included.

      Downstream Gentoo bug report: https://bugs.gentoo.org/964636

            zabbix.dev Zabbix Development Team
            flow Florian Schmaus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: