When trying to compile the proxy make install throws additional errors even after applying the edits detailed here https://www.uoga.net/en/building-zab...enbsd-5-dot-4/
Any suggestions ?
# uname -a
OpenBSD notimportant 5.9 GENERIC.MP#1888 amd64
# ./configure --prefix=/usr --enable-proxy --with-net-snmp --with-sqlite3
Configuration:
Detected OS: openbsd5.9
Install path: /usr
Compilation arch: openbsd
Compiler: gcc
Compiler flags: -g -O2
Library-specific flags:
database: -I/usr/include
Net-SNMP: -I/usr/local/include -I/usr/libdata/perl5/amd64-openbsd/5.20.2/CORE -I. -I/usr/local/include
iconv: -I/usr/local/include
Enable server: no
Enable proxy: yes
Proxy details:
With database: SQLite v3.x
WEB Monitoring: no
SNMP: yes
IPMI: no
SSH: no
TLS: no
ODBC: no
Linker flags: -L/usr/lib -L/usr/local/lib -L/usr/local/lib
Libraries: -lsqlite3 -lnetsnmp -lkvm -lm -liconv
Enable agent: no
Enable Java gateway: no
LDAP support: no
IPv6 support: no
************************************************** *********
* Now run 'make install' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
************************************************** *********
net.c: In function 'get_ifdata':
net.c:47: error: storage size of 'head' isn't known
net.c:94: error: storage size of 'v' isn't known
net.c:102: error: invalid application of 'sizeof' to incomplete type 'struct ifnet_head'
net.c:106: error: invalid application of 'sizeof' to incomplete type 'struct ifnet'
*** Error 1 in src/libs/zbxsysinfo/openbsd (Makefile:577 'libspecsysinfo_a-net.o')
*** Error 1 in src/libs/zbxsysinfo (Makefile:628 'install-recursive')
*** Error 1 in src/libs (Makefile:494 'install-recursive')
*** Error 1 in src (Makefile:470 'install-recursive')
*** Error 1 in /root/zabbix-3.0.4 (Makefile:482 'install-recursive')
Any suggestions ?
# uname -a
OpenBSD notimportant 5.9 GENERIC.MP#1888 amd64
# ./configure --prefix=/usr --enable-proxy --with-net-snmp --with-sqlite3
Configuration:
Detected OS: openbsd5.9
Install path: /usr
Compilation arch: openbsd
Compiler: gcc
Compiler flags: -g -O2
Library-specific flags:
database: -I/usr/include
Net-SNMP: -I/usr/local/include -I/usr/libdata/perl5/amd64-openbsd/5.20.2/CORE -I. -I/usr/local/include
iconv: -I/usr/local/include
Enable server: no
Enable proxy: yes
Proxy details:
With database: SQLite v3.x
WEB Monitoring: no
SNMP: yes
IPMI: no
SSH: no
TLS: no
ODBC: no
Linker flags: -L/usr/lib -L/usr/local/lib -L/usr/local/lib
Libraries: -lsqlite3 -lnetsnmp -lkvm -lm -liconv
Enable agent: no
Enable Java gateway: no
LDAP support: no
IPv6 support: no
************************************************** *********
* Now run 'make install' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
************************************************** *********
net.c: In function 'get_ifdata':
net.c:47: error: storage size of 'head' isn't known
net.c:94: error: storage size of 'v' isn't known
net.c:102: error: invalid application of 'sizeof' to incomplete type 'struct ifnet_head'
net.c:106: error: invalid application of 'sizeof' to incomplete type 'struct ifnet'
*** Error 1 in src/libs/zbxsysinfo/openbsd (Makefile:577 'libspecsysinfo_a-net.o')
*** Error 1 in src/libs/zbxsysinfo (Makefile:628 'install-recursive')
*** Error 1 in src/libs (Makefile:494 'install-recursive')
*** Error 1 in src (Makefile:470 'install-recursive')
*** Error 1 in /root/zabbix-3.0.4 (Makefile:482 'install-recursive')