[ZBX-11175] Compile fail on OpenBSD6 amd64 Created: 2016 Sep 08  Updated: 2017 May 30  Resolved: 2016 Sep 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: 2.2.15rc1, 3.0.5rc1, 3.2.1rc1, 3.4.0alpha1

Type: Incident report Priority: Critical
Reporter: Ianma Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenBSD 6.0 GENERIC#2148 amd64


Attachments: File ZBX-11175.diff    
Issue Links:
Duplicate
is duplicated by ZBX-11158 zabbix-3.0.4 + OpenBSD 5.9 Closed

 Description   
./configure --prefix=/home/ems/zabbix --enable-server --enable-agent --enable-java --with-postgresql=/home/ems/pgsql/bin/pg_config  --with-net-snmp=/usr/local/bin/net-snmp-config
net.c: In function 'get_ifdata':
net.c:46: error: storage size of 'head' isn't known
net.c:90: error: storage size of 'v' isn't known
net.c:98: error: invalid application of 'sizeof' to incomplete type 'struct ifnet_head' 
net.c:102: error: invalid application of 'sizeof' to incomplete type 'struct ifnet' 
*** Error 1 in src/libs/zbxsysinfo/openbsd (Makefile:546 'libspecsysinfo_a-net.o')
*** Error 1 in src/libs/zbxsysinfo (Makefile:681 'install-recursive')
*** Error 1 in src/libs (Makefile:477 'install-recursive')
*** Error 1 in src (Makefile:453 'install-recursive')
*** Error 1 in /home/ems/zabbix-2.2.14 (Makefile:469 'install-recursive')


 Comments   
Comment by Vladislavs Sokurenko [ 2016 Sep 13 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-11175 (Tested on OpenBSD v5.8, v6.0)

Comment by Andris Mednis [ 2016 Sep 19 ]

Successfully tested. Please review changes in r62602.

Comment by Vladislavs Sokurenko [ 2016 Sep 19 ]

changes in r62602 reviewed OK.

Comment by Vladislavs Sokurenko [ 2016 Sep 20 ]

Fixed in:

  • 2.2.15rc1 r62606
  • 3.0.5rc1 r62607
  • 3.2.1rc1 r62608
  • 3.3.0 (trunk) r62609
Generated at Thu Apr 25 08:56:16 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.