[ZBX-9467] Agent compile fails on OpenBSD 5.6 amd64/i386 Created: 2015 Apr 09  Updated: 2017 May 30  Resolved: 2015 Apr 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.0.14, 2.2.9, 2.4.4
Fix Version/s: 2.0.15rc1, 2.2.10rc1, 2.4.6rc1, 2.5.0

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

OpenBSD openbsd56amd64 5.6 GENERIC#310 amd64
OpenBSD openbsd56i386 5.6 GENERIC#274 i386



 Description   
net.c: In function 'get_ifdata':
net.c:39: error: storage size of 'head' isn't known
net.c:80: error: storage size of 'v' isn't known
net.c:88: error: invalid application of 'sizeof' to incomplete type 'struct ifnet_head' 
net.c:92: error: invalid application of 'sizeof' to incomplete type 'struct ifnet' 
*** Error 1 in src/libs/zbxsysinfo/openbsd (Makefile:541 'libspecsysinfo_a-net.o')
*** Error 1 in src/libs/zbxsysinfo (Makefile:595 'all-recursive')
*** Error 1 in src/libs (Makefile:473 'all-recursive')
*** Error 1 in src (Makefile:455 'all-recursive')
*** Error 1 in /home/zabbix/zabbix-2.0.15rc1 (Makefile:472 'all-recursive')


 Comments   
Comment by Aleksandrs Saveljevs [ 2015 Apr 13 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9467 .

Comment by Igors Homjakovs (Inactive) [ 2015 Apr 14 ]

Successfully tested.

Comment by Aleksandrs Saveljevs [ 2015 Apr 22 ]

Fixed in pre-2.0.15 r53289, pre-2.2.10 r53290, pre-2.4.6 r53291, pre-2.5.0 (trunk) r53292.

Generated at Sat Apr 27 04:32:19 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.