Ad Widget

Collapse

OpenBSD 4.2 compilatio error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tsukiyomi
    Junior Member
    • Aug 2006
    • 7

    #1

    OpenBSD 4.2 compilatio error

    Hello

    I am trying to build zabbix-agent from zabbix-1.4.3 sources on OpenBSD 4.2.
    During compilation I get errors :

    proc.c: In function `PROC_MEMORY':
    proc.c:143: error: dereferencing pointer to incomplete type
    proc.c: In function `PROC_NUM':
    proc.c:330: error: dereferencing pointer to incomplete type
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.4.3/src/libs/zbxsysinfo/openbsd (line 401 of Makefile).
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.4.3/src/libs/zbxsysinfo (line 415 of Makefile).
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.4.3/src/libs (line 295 of Makefile).
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.4.3/src (line 276 of Makefile).
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.4.3 (line 312 of Makefile).

    Do you have any suggestions or workarounds for that errors.

    Regards
  • tsukiyomi
    Junior Member
    • Aug 2006
    • 7

    #2
    Problem still occurs even with zabbix 1.4.4.

    agent/ -g -O2 -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; then mv -f ".deps/libspecsysinfo_a-proc.Tpo" ".deps/libspecsysinfo_a-proc.Po"; else rm -f ".deps/libspecsysinfo_a-proc.Tpo"; exit 1; fi
    proc.c: In function `PROC_MEMORY':
    proc.c:143: error: dereferencing pointer to incomplete type
    proc.c: In function `PROC_NUM':
    proc.c:330: error: dereferencing pointer to incomplete type
    *** Error code 1

    Stop in /home/mkaras/zabbix-1.4.4/src/libs/zbxsysinfo/openbsd (line 401 of Makefile).
    *** Error code 1

    Stop in /home/mkaras/zabbix-1.4.4/src/libs/zbxsysinfo (line 415 of Makefile).
    *** Error code 1

    Stop in /home/mkaras/zabbix-1.4.4/src/libs (line 295 of Makefile).
    *** Error code 1

    Stop in /home/mkaras/zabbix-1.4.4/src (line 276 of Makefile).
    *** Error code 1

    Stop in /home/mkaras/zabbix-1.4.4 (line 312 of Makefile).
    $

    Comment

    • tsukiyomi
      Junior Member
      • Aug 2006
      • 7

      #3
      Hi

      Any news about errors during building zabbix agent on OpenBSD 4.2 ?
      I tried 1.4 branch and 1.5 development branch with the same errors.
      The problem is becoming serious for me because I`m willing to upgrade all of my OpenBSD boxes to 4.2 version.

      Regards

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        I think this is already fixed in the latest code.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • tsukiyomi
          Junior Member
          • Aug 2006
          • 7

          #5
          Hi Alexei

          Thank You for developing zabbix. Should i try latest stable version or get development branch ?

          Regards

          T.

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            This will be included int ZABBIX 1.4.5. Get pre-1.4.5 from www.zabbix.com/developers.php.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • tsukiyomi
              Junior Member
              • Aug 2006
              • 7

              #7
              All is working wit pre-zabbix-1.4.4 from 06 feb 2008.

              Comment

              Working...