ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5614

Zabbix agent compiling problem under OpenBSD

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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).

        Activity

        Hide
        Andris Mednis added a comment -

        Error reproduced.

        Show
        Andris Mednis added a comment - Error reproduced.
        Hide
        Andris Mednis added a comment -

        Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5614

        Show
        Andris Mednis added a comment - Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5614
        Hide
        Alexander Vladishev added a comment -

        Successfully tested!

        Show
        Alexander Vladishev added a comment - Successfully tested!
        Hide
        Andris Mednis added a comment -

        Fixed in versions pre-2.0.4 rev. 30819 and pre-2.1.0 rev. 30821.

        Show
        Andris Mednis added a comment - Fixed in versions pre-2.0.4 rev. 30819 and pre-2.1.0 rev. 30821.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: