[ZBX-4178] compilation fails on FreeBSD: union has no member named `sival_int' Created: 2011 Sep 28  Updated: 2017 May 30  Resolved: 2011 Oct 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Proxy (P), Server (S)
Affects Version/s: 1.8.6
Fix Version/s: 1.8.9, 1.9.7 (beta)

Type: Incident report Priority: Blocker
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: building, openbsd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Zabbix agent does not compile on FreeBSD 4.2:

$ make install > /dev/null
...
daemon.c: In function `child_signal_handler':
daemon.c:73: union has no member named `sival_int'

We have fixed a similar compilation problem on FreeBSD in ZBX-3936, but apparently not on the older versions.



 Comments   
Comment by Aleksandrs Saveljevs [ 2011 Oct 26 ]

Same issue occurs on FreeBSD 6.2.

Comment by Aleksandrs Saveljevs [ 2011 Oct 26 ]

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

Comment by Aleksandrs Saveljevs [ 2011 Oct 26 ]

Tested on the following platforms:

  • Linux 2.6
  • FreeBSD 4.2, FreeBSD 6.2 and FreeBSD 7.3
  • NetBSD 5.0
  • OpenBSD 3.9 and OpenBSD 4.6
  • HP-UX 11.11
  • AIX 5.2
  • Solaris 10

<sasha>

  • Linux 2.4
  • AIX 6.1
  • Solaris 8
Comment by Aleksandrs Saveljevs [ 2011 Oct 27 ]

Fixed in pre-1.8.9 in r22707 and pre-1.9.7 in r22709.

Generated at Sat Apr 20 12:07:38 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.