Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5041

Precompiled ZBX 4.0.4 Agent on AIX 7.1

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.0.3, 4.0.4
    • Agent (G)
    • None
    • ZBX 4.0.4 Agent on AIX 7.1

      Dear Zabbix Support Team,

      We recognize Errors on Compilation of the ZBX4.0.x Agent on our AIX 7.1 Systems.
      So can you please provide a pre-compiled Agent as ppc for AIX 7.1?

      Here is the Output of our AIX Technician:
      After configuring the client as following:

      ./configure --enable-agent --enable-ipv6 --with-net-snmp --with-libxml2 --with-openssl
      

      I tried to "make install", but this stopped in several errors:

      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:582:12: error: conflicting types for 'fgetpos64'
      extern int fgetpos64(FILE *, fpos64_t *);
      ^~~~~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:377:12: note: previous declaration of 'fgetpos64' was here
      extern int fgetpos(FILE *__restrict__, fpos_t *__restrict__);
      ^~~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:585:12: error: conflicting types for 'fseeko64'
      extern int fseeko64(FILE *, off64_t, int);
      ^~~~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:525:12: note: previous declaration of 'fseeko64' was here
      extern int fseeko(FILE *, off_t, int);
      ^~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:586:12: error: conflicting types for 'fsetpos64'
      extern int fsetpos64(FILE *, const fpos64_t *);
      ^~~~~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:379:12: note: previous declaration of 'fsetpos64' was here
      extern int fsetpos(FILE *, const fpos_t *);
      ^~~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:587:16: error: conflicting types for 'ftello64'
      extern off64_t ftello64(FILE *);
      ^~~~~~~~
      In file included from ../../../../include/sysinc.h:26,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/stdio.h:526:14: note: previous declaration of 'ftello64' was here
      extern off_t ftello(FILE *);
      ^~~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:210:16: error: conflicting types for 'lseek64'
      extern off64_t lseek64(int, off64_t, int);
      ^~~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:208:14: note: previous declaration of 'lseek64' was here
      extern off_t lseek(int, off_t, int);
      ^~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:866,
      from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /usr/include/sys/lockf.h:64:13: error: conflicting types for 'lockf64'
      extern int lockf64 (int, int, off64_t);
      ^~~~~~~
      /usr/include/sys/lockf.h:62:13: note: previous declaration of 'lockf64' was here
      extern int lockf (int, int, off_t);
      ^~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:939:14: error: conflicting types for 'ftruncate64'
      extern int ftruncate64(int, off64_t);
      ^~~~~~~~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:937:14: note: previous declaration of 'ftruncate64' was here
      extern int ftruncate(int, off_t);
      ^~~~~~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:996:14: error: conflicting types for 'truncate64'
      extern int truncate64(const char *, off64_t);
      ^~~~~~~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:994:14: note: previous declaration of 'truncate64' was here
      extern int truncate(const char *, off_t);
      ^~~~~~~~
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/fcntl.h:234,
      from ../../../../include/sysinc.h:157,
      from ../../../../include/common.h:23,
      from cpu.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1015:18: error: conflicting types for 'pread64'
      extern ssize_t pread64(int, void *, size_t, off64_t);
      ^~~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1012:18: note: previous declaration of 'pread64' was here
      extern ssize_t pread(int, void *, size_t, off_t);
      ^~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1016:18: error: conflicting types for 'pwrite64'
      extern ssize_t pwrite64(int, const void *, size_t, off64_t);
      ^~~~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1013:18: note: previous declaration of 'pwrite64' was here
      extern ssize_t pwrite(int, const void *, size_t, off_t);
      ^~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1101:17: error: conflicting types for 'fclear64'
      extern off64_t fclear64(int, off64_t);
      ^~~~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1098:15: note: previous declaration of 'fclear64' was here
      extern off_t fclear(int, off_t);
      ^~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1102:13: error: conflicting types for 'fsync_range64'
      extern int fsync_range64(int, int, off64_t, off64_t);
      ^~~~~~~~~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.2.0/include-fixed/unistd.h:1099:13: note: previous declaration of 'fsync_range64' was here
      extern int fsync_range(int, int, off_t, off_t);
      ^~~~~~~~~~~
      make: 1254-004 The error code from the last command is 1.
      Stop.
      make: 1254-004 The error code from the last command is 1.
      Stop.
      make: 1254-004 The error code from the last command is 1.
      Stop.
      make: 1254-004 The error code from the last command is 1.
      Stop.
      make: 1254-004 The error code from the last command is 1.
      Stop.
      

      Regards, Marcus

            MVekslers Michael Veksler
            MGR Marcus Griesing
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: