[ZBX-12801] Makefile_sender_dll contains bad file path to zabbix_sender.o on Windows Created: 2017 Sep 29  Updated: 2024 Apr 10  Resolved: 2018 Dec 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 3.0.11
Fix Version/s: 3.0.25rc1, 4.0.4rc1, 4.2.0alpha2, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: sh0thub Assignee: Viktors Tjarve
Resolution: Fixed Votes: 0
Labels: compilation, tls, windows, zabbix_sender
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: DEV-680
Team: Team A
Team: Team A
Sprint: Sprint 18, Sprint 46, Nov 2018, Sprint 47, Dec 2018
Story Points: 2

 Description   

Hello, today during compiling windows agent version 3.0.11 on Windows 10 Pro x64, using VS2015 I found, that file Makefile_sender_dll contains bad file path to zabbix_sender.o.

Problem line:
..\..\..\src\zabbix_sender\win32\zabbix_sender.o

If i removed win32 subdirectory from path, compilation of agent on windows was sucessfull:
..\..\..\src\zabbix_sender\zabbix_sender.o

Bug appeared during compilation with TLS support, Makefile use old file src/zabbix_sender/win32/zabbix_sender.c during compilation and because it is old and don't contain support for TLS, compilation failed.

Please fix Makefile_sender_dll to include correct file.



 Comments   
Comment by Oleksii Zagorskyi [ 2017 Oct 02 ]

ZBX-10120 probably could be taken into account when fixing.

Comment by Viktors Tjarve [ 2018 Nov 27 ]

Zabbix currently does not support TLS in zabbix_sender.dll. Editing Makefile_sender_dll is not recommended because there is no guarantee that encryption will work correctly when such zabbix_sender.dll is created and used.

Changes should be made to not include zabbix_sender.dll build when building Zabbix with TLS on Windows.

Comment by Viktors Tjarve [ 2018 Dec 20 ]

Released in:

  • 3.0.25rc1 r88037
  • 4.0.4rc1 r88038
  • 4.2.0alpha2 r88039
Generated at Fri Apr 19 22:14:16 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.