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

Investigate Agent2 compilation on Windows

XMLWordPrintable

    • 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), Sprint 64 (May 2020)
    • 5

      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.

            wiper Andris Zeila
            wiper Andris Zeila
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: