I'm trying to install Zabbix-agent 2.2.3 in OpenBSD 5.5 i386. But the following error occurs when execute # make install:
mv -f .deps/libspecsysinfo_a-memory.Tpo .deps/libspecsysinfo_a-memory.Po
gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/local/include -MT libspecsysinfo_a-net.o -MD -MP -MF .deps/libspecsysinfo_a-net.Tpo -c -o libspecsysinfo_a-net.o `test -f 'net.c' || echo './'`net.c
net.c: In function 'get_ifdata':
net.c:41: error: storage size of 'head' isn't known
net.c:85: error: storage size of 'v' isn't known
net.c:93: error: invalid application of 'sizeof' to incomplete type 'struct ifnet_head'
net.c:97: error: invalid application of 'sizeof' to incomplete type 'struct ifnet'
*** Error 1 in src/libs/zbxsysinfo/openbsd (Makefile:449 'libspecsysinfo_a-net.o')
*** Error 1 in src/libs/zbxsysinfo (Makefile:577 'install-recursive')
*** Error 1 in src/libs (Makefile:391 'install-recursive')
*** Error 1 in src (Makefile:367 'install-recursive')
*** Error 1 in /root/zabbix-2.2.3 (Makefile:380 'install-recursive')
Anyone have any suggestions? Is this a bug?
mv -f .deps/libspecsysinfo_a-memory.Tpo .deps/libspecsysinfo_a-memory.Po
gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/local/include -MT libspecsysinfo_a-net.o -MD -MP -MF .deps/libspecsysinfo_a-net.Tpo -c -o libspecsysinfo_a-net.o `test -f 'net.c' || echo './'`net.c
net.c: In function 'get_ifdata':
net.c:41: error: storage size of 'head' isn't known
net.c:85: error: storage size of 'v' isn't known
net.c:93: error: invalid application of 'sizeof' to incomplete type 'struct ifnet_head'
net.c:97: error: invalid application of 'sizeof' to incomplete type 'struct ifnet'
*** Error 1 in src/libs/zbxsysinfo/openbsd (Makefile:449 'libspecsysinfo_a-net.o')
*** Error 1 in src/libs/zbxsysinfo (Makefile:577 'install-recursive')
*** Error 1 in src/libs (Makefile:391 'install-recursive')
*** Error 1 in src (Makefile:367 'install-recursive')
*** Error 1 in /root/zabbix-2.2.3 (Makefile:380 'install-recursive')
Anyone have any suggestions? Is this a bug?

Comment