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

Zabbix agent compiling problem under OpenBSD

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.0.2
    • Fix Version/s: 2.0.4rc1, 2.1.0
    • Component/s: Agent (G)
    • Labels:
    • Environment:
      OpenBSD 5.1 amd64

      Description

      ./configure --enable-agent ran successful, and make install produce the following error:

      gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/local/include -MT libspecsysinfo_a-proc.o -MD -MP -MF .deps/libspecsysinfo_a-proc.Tpo -c -o libspecsysinfo_a-proc.o `test -f 'proc.c' || echo './'`proc.c
      proc.c: In function 'PROC_MEM':
      proc.c:227: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:232: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:244: error: 'struct kinfo_proc' has no member named 'kp_eproc'
      proc.c:245: error: 'struct kinfo_proc' has no member named 'kp_eproc'
      proc.c:246: error: 'struct kinfo_proc' has no member named 'kp_eproc'
      proc.c: In function 'PROC_NUM':
      proc.c:395: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:399: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:399: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:400: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:401: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:401: error: 'struct kinfo_proc' has no member named 'kp_proc'
      proc.c:405: error: 'struct kinfo_proc' has no member named 'kp_proc'

          • Error code 1

      Stop in /root/zabbix-2.0.2/src/libs/zbxsysinfo/openbsd (line 458 of Makefile).

          • Error code 1

      Stop in /root/zabbix-2.0.2/src/libs/zbxsysinfo (line 490 of Makefile).

          • Error code 1

      Stop in /root/zabbix-2.0.2/src/libs (line 387 of Makefile).

          • Error code 1

      Stop in /root/zabbix-2.0.2/src (line 369 of Makefile).

          • Error code 1

      Stop in /root/zabbix-2.0.2 (line 383 of Makefile).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jeefoo Hüvely Balázs
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: