I am a bit stuck on the make portion of building the zabbix server. I am running ./configure --with-mysql --enable-server.
Which returns fine, then when I run make I get:
...
make[4]: Entering directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs/zbx
log'
source='log.c' object='log.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -c log.c
log.c: In function `zabbix_open_log':
log.c:63: error: `errno' undeclared (first use in this function)
log.c:63: error: (Each undeclared identifier is reported only once
log.c:63: error: for each function it appears in.)
make[4]: *** [log.o] Error 1
make[4]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs/zbxl
og'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs/zbxl
og'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src'
make: *** [all-recursive] Error 1
Any help would be appreciated.
Thanks
Which returns fine, then when I run make I get:
...
make[4]: Entering directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs/zbx
log'
source='log.c' object='log.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -c log.c
log.c: In function `zabbix_open_log':
log.c:63: error: `errno' undeclared (first use in this function)
log.c:63: error: (Each undeclared identifier is reported only once
log.c:63: error: for each function it appears in.)
make[4]: *** [log.o] Error 1
make[4]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs/zbxl
og'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs/zbxl
og'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/installs/zabbix/zabbix-1.1/src'
make: *** [all-recursive] Error 1
Any help would be appreciated.
Thanks