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

Zabbix agent does not compile on AlphaServer Tru64 5.1B

XMLWordPrintable

    • Sprint 33, Sprint 34, Sprint 35, Sprint 36, Sprint 37, Sprint 39
    • 2

      $ ./configure --enable-agent
      $ make
      ...
      rm -f libsimplesysinfo.a
      ar cru libsimplesysinfo.a libsimplesysinfo_a-simple.o libsimplesysinfo_a-ntp.o
      ranlib libsimplesysinfo.a
      Making all in osf
      source='cpu.c' object='libspecsysinfo_a-cpu.o' libtool=no DEPDIR=.deps depmode=none /bin/bash ../../../../depcomp cc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -c -o libspecsysinfo_a-cpu.o `test -f 'cpu.c' || echo './'`cpu.c
      cc: Error: cpu.c, line 99: In this statement, "cmd" is not declared. (undeclared)
      ret = EXECUTE_DBL(cmd, "uptime | awk '{printf(\"%s\", $(NF-2))}' | sed 's/[ ,]//g'", result);
      ----------------------------------^
      cc: Warning: cpu.c, line 99: In this statement, the referenced type of the pointer value ""uptime | awk '{printf("%s", $(NF-2))}' | sed 's/[ ,]//g'"" is "char", which is not compatible with "struct declared without a tag". (ptrmismatch)
      ret = EXECUTE_DBL(cmd, "uptime | awk '{printf(\"%s\", $(NF-2))}' | sed 's/[ ,]//g'", result);
      ---------------------------------------^
      cc: Error: cpu.c, line 99: In this statement, "EXECUTE_DBL" expects 2 arguments, but 3 are supplied. (toomanyargs)
      ret = EXECUTE_DBL(cmd, "uptime | awk '{printf(\"%s\", $(NF-2))}' | sed 's/[ ,]//g'", result);
      ----------------------^
      *** Exit 1
      

            andris Andris Mednis
            andris Andris Mednis
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: