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

6.0.0beta3 build failed in AIX 7.1

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 6.0.0beta3
    • None
    • Agent (G)
    • AIX soaxp077 1 7 00CADA644C00
      gcc (GCC) 6.3.0
    • Sprint 85 (Feb 2022)

    Description

      Steps to reproduce:

      1. ./configure CFLAGS="-lpthread" --enable-agent --enable-ipv6 --sysconfdir=/etc/zabbix --with-libpcre2 --with-libpcre2-lib=/usr/local/pcre2-10.39/lib --with-libpcre2-include=/usr/local/pcre2-10.39/include --with-openssl=/usr/local/openssl-1.1.1m

      2. make

      Result:

              mv -f .deps/libzbxcrypto_a-sha256crypt.Tpo .deps/libzbxcrypto_a-sha256crypt.Po
              gcc -DHAVE_CONFIG_H -I. -I../../../include    -I/usr/local/openssl-1.1.1m/include -lpthread  -I/usr/local/pcre2-10.39/include -MT libzbxcrypto_a-sha512crypt.o -MD -MP -MF .deps/libzbxcrypto_a-sha512crypt.Tpo -c -o libzbxcrypto_a-sha512crypt.o `test -f 'sha512crypt.c' || echo './'`sha512crypt.c
      In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/fcntl.h:234:0,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.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/6.3.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/6.3.0/include-fixed/unistd.h:863:0,
                       from /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/fcntl.h:234,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.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/6.3.0/include-fixed/fcntl.h:234:0,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/unistd.h:936: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/6.3.0/include-fixed/fcntl.h:234:0,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/unistd.h:934: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/6.3.0/include-fixed/fcntl.h:234:0,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/unistd.h:993: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/6.3.0/include-fixed/fcntl.h:234:0,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/unistd.h:991: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/6.3.0/include-fixed/fcntl.h:234:0,
                       from ../../../include/sysinc.h:157,
                       from ../../../include/common.h:23,
                       from sha512crypt.c:21:
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/unistd.h:1012: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/6.3.0/include-fixed/unistd.h:1009: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/6.3.0/include-fixed/unistd.h:1013: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/6.3.0/include-fixed/unistd.h:1010: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/6.3.0/include-fixed/unistd.h:1098:17: error: conflicting types for 'fclear64'
        extern off64_t fclear64(int, off64_t);
                       ^~~~~~~~
      /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/6.3.0/include-fixed/unistd.h:1095: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/6.3.0/include-fixed/unistd.h:1099: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/6.3.0/include-fixed/unistd.h:1096:13: note: previous declaration of 'fsync_range64' was here
        extern int fsync_range(int, int, off_t, off_t);
                   ^
      make: The error code from the last command is 1.
      Stop.
      make: The error code from the last command is 1.
      Stop.
      make: The error code from the last command is 1.
      Stop.
      make: The error code from the last command is 1.
      Stop. 

      Expected:
      Success build in AIX.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            yuji_kamada Yuji Kamada
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: