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

Cannot compile v7.0.2 on CentOS 7

XMLWordPrintable

    • Prev.Sprint, S24-W34/35
    • 1

      After success with ./configure.....

      ./configure --enable-server --enable-proxy --enable-agent --with-mysql --sysconfdir=/etc/zabbix --with-net-snmp --with-ldap --with-libcurl --with-openipmi --with-unixodbc --with-ssh2 --with-libxml2 --with-libevent --with-libpcre

      make produced this compilation error:

      discoverer_async.c: In function ‘discovery_async_poller_dns_init’:
      discoverer_async.c:39:76: error: ‘EVDNS_BASE_INITIALIZE_NAMESERVERS’ undeclared (first use in this function)
        if (NULL == (poller_config->dnsbase = evdns_base_new(poller_config->base, EVDNS_BASE_INITIALIZE_NAMESERVERS)))

       

      My guess is the macro EVDNS_BASE_INITIALIZE_NAMESERVERS is only defined in a newer version of libevent.  My server has v2.0.21 installed and documentation states v1.4 or newer.

            sboidenko Sergejs Boidenko
            rgagnon Robert
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: