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

Zabbix 7.0 alpha1 build failed in HP-UX

XMLWordPrintable

    • Team C
    • Sprint 99 (Apr 2023)
    • 1

      Steps to reproduce:

      1. Build Agent in HP-UX

      Result:

       

          /usr/bin/gcc -DHAVE_CONFIG_H -I../../../../include/common -I../../../../include    -I../../../../src/zabbix_agent -g -O2  -I/usr/local/pcre2-10.42/include -MT libspecsysinfo_a-diskspace.o -MD -MP -MF .deps/libspecsysinfo_a-diskspace.Tpo -c -o libspecsysinfo_a-diskspace.o `test -f 'diskspace.c' || echo './'`diskspace.c
      diskspace.c: In function 'vfs_fs_get_local':
      diskspace.c:332: error: too few arguments to function 'zbx_json_addstring' 

      {}Expected:
      Pass Build.

       

      Opinion:

      zbx_json_addstring() lacks fourth arguments in src/libs/zbxsysinfo/hpux/diskspace.c 332 line.

      316                         zbx_json_addstring(&j, ZBX_SYSINFO_TAG_FSNAME, mntpoint->fsname, ZBX_JSON_TYPE_STRING);
      317                         zbx_json_addstring(&j, ZBX_SYSINFO_TAG_FSTYPE, mntpoint->fstype, ZBX_JSON_TYPE_STRING);
      ...
      332                         zbx_json_addstring(&j, ZBX_SYSINFO_TAG_FSOPTIONS, mntpoint->options); 

            kprutkovs Konstantins Prutkovs
            uki Yuuki Enomoto
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: