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

Cannot compile Zabbix agent on OS/X

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0alpha2, 4.0 (plan)
    • 4.0.0alpha1
    • Agent (G)
    • None
    • Team A
    • Sprint 24
    • 1

      Compilation errors while compile on OS\X platform:

      dir.c:936:26: error: no member named 'st_mtim' in 'struct stat'
                                                      (min_time < status.st_mtim.tv_sec &&
                                                                  ~~~~~~ ^
      dir.c:937:16: error: no member named 'st_mtim' in 'struct stat'
                                                                      status.st_mtim.tv_sec <= max_time))
                                                                      ~~~~~~ ^
      2 errors generated.
      make[4]: *** [libcommonsysinfo_a-dir.o] Error 1
      make[4]: *** Waiting for unfinished jobs....
      make[3]: *** [install-recursive] Error 1
      make[2]: *** [install-recursive] Error 1
      make[1]: *** [install-recursive] Error 1
      make: *** [install-recursive] Error 1
      

      Steps to reproduce:

      $ ./configure --enable-agent
      $ make install
      

            vso Vladislavs Sokurenko
            sasha Alexander Vladishev
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: