./configure --prefix=/opt/zabbix --enable-agent
Results in :
After replacing every reference to sysinfo.h by unistd.h in the configure script, it seems to work (at least, it compiles. I can't test it as I can't compile the server) :
./configure --prefix=/opt/zabbix --enable-agent
Results in :
Code:
Making install in zbxcrypto
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
In file included from ../../../include/sysinc.h:238,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/sys/sysinfo.h:180: error: array type has incomplete element type
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
./configure --prefix=/opt/zabbix --enable-agent