-
Incident report
-
Resolution: Fixed
-
Major
-
None
-
1.8.3
-
None
-
Windows
When I was compiling Zabbix agent for Windows, I got a following message.
/////////////////////////////////////////////////////////////////////////////////////////////
..\..\..\src\libs\zbxsys\mutexs.c(71) : warning C4013: 'strerror_from_system' undefined; assuming extern returning int
The compiler encountered a call to an undefined function.
/////////////////////////////////////////////////////////////////////////////////////////////
Zabbix uses 'strerror_from_system()' function without including log.h in mutexs.c.
If CreateMutex() failed, Zabbix agent will crash.
Following line is needed in mutexs.c.
/////////////////////////////////////////////////////////////////////////////////////////////
#include "log.h"
/////////////////////////////////////////////////////////////////////////////////////////////