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

can't compile zabbix proxy: ‘PROC_CPU_UTIL’ undeclared here (not in a function)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 3.0.0alpha4
    • Proxy (P)
    • None
    • trunk r56797
      gcc 4.8.1

      trying to compile proxy with these flags :

      ./configure --enable-proxy --with-sqlite3 --with-libxml2 --with-net-snmp --with-ssh2 --with-openipmi --with-libcurl
      
      linux.c:48:35: error: ‘PROC_CPU_UTIL’ undeclared here (not in a function)
        {"proc.cpu.util", CF_HAVEPARAMS, PROC_CPU_UTIL,  "inetd"},
                                         ^
      

      looks like it got broken by :
      ------------------------------------------------------------------------
      r55222 | wiper | 2015-08-28 13:28:26 +0300 (Fri, 28 Aug 2015) | 2 lines

      ...G...... ZBXNEXT-494 added support for proc.cpu.util key on linux and solaris platforms

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: