Hi! I'm trying recompile zabbix agent for Windows environment using MinGW gcc 4.4.0 compiler, but compilation fails at this line:
Configuration is default:
Any clues ?
Code:
Making all in zbxlog make[3]: Entering directory `/d/for_deployment/zabbix-1.6.4/src/libs/zbxlog' gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c log.c: In function 'zabbix_open_log': log.c:111: error: 'LOG_PID' undeclared (first use in this function) log.c:111: error: (Each undeclared identifier is reported only once log.c:111: error: for each function it appears in.) log.c:111: error: 'LOG_USER' undeclared (first use in this function) log.c:112: error: 'LOG_WARNING' undeclared (first use in this function) log.c: In function '__zbx_zabbix_log': log.c:360: error: 'LOG_DEBUG' undeclared (first use in this function) make[3]: *** [log.o] Error 1 make[3]: Leaving directory `/d/for_deployment/zabbix-1.6.4/src/libs/zbxlog'
Code:
sh ./configure --prefix=/d/zabbix_agent --enable-static --enable-agent
Comment