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

Build failed on HP-UX

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 6.0.1rc4, 6.2.0alpha1, 6.2 (plan)
    • 6.0.1rc3
    • Agent (G)
    • HP-UX hpux11i3 B.11.31 U ia64
      gcc (GCC) 4.2.3
    • Sprint 85 (Feb 2022)
    • 0.125

      Steps to reproduce:

      1. Build Zabbix 6.0.1rc3 Agent in HP-UX

      Result:

       

      # ./configure --enable-agent --sysconfdir=/etc/zabbix --localstatedir=/var --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 CC=/usr/bin/gcc
      
      # make
      ...
              /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../../../include    -I../../../../src/zabbix_agent -g -O2  -I/usr/local/pcre2-10.39/include -MT libspecsysinfo_a-inodes.o -MD -MP -MF .deps/libspecsysinfo_a-inodes.Tpo -c -o libspecsysinfo_a-inodes.o `test -f 'inodes.c' || echo './'`inodes.c
      In file included from inodes.c:20:
      inodes.h:23: error: expected declaration specifiers or '...' before 'zbx_uint64_t'
      inodes.h:23: error: expected declaration specifiers or '...' before 'zbx_uint64_t'
      inodes.h:23: error: expected declaration specifiers or '...' before 'zbx_uint64_t'
      inodes.c:28: error: conflicting types for 'get_fs_inode_stat'
      inodes.h:24: error: previous declaration of 'get_fs_inode_stat' was here
      *** Error exit code 1Stop.

      Expected:
      Pass compile.

            arimdjonoks Artjoms Rimdjonoks
            yuji_kamada Yuji Kamada
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: