Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5609

Investigate Agent2 compilation on Windows

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Needs documenting
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.4.3
    • Fix Version/s: 4.4.4rc1, 5.0.0alpha1, 5.0 (plan)
    • Component/s: Agent (G)
    • Labels:
      None
    • Team:
      Team A
    • Sprint:
      Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
    • Story Points:
      5

      Description

      There are several issues that should be checked/solved to build agent2 on windows:

      1. not in all places linux specific code is properly put into linux specific files/protected with +build option. This is already being improved in DEV-1323
      2. cGO on Windows requires gcc compatible compiler, while we are using Microsoft C compiler for Windows builds.
      3. the shared C code must compile with the gcc compatible compiler, so it can be linked together.
      4. link to OpenSSL dll for encryption support

      First we must focus on (2). Might be easier to check with small prototype. Then we can start working on (3) by expanding prototype to use C/GO linking approach used in agent2. After linking issues are solved we can start working on agent C code compilation for linking with agent2.

        Attachments

          Activity

            People

            Assignee:
            wiper Andris Zeila
            Reporter:
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: