[ZBX-1074] Compilation error on HP/UX 11.11 with Ansi C/C++ Created: 2009 Oct 07 Updated: 2017 May 30 Resolved: 2011 Jul 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 1.6.6 |
Fix Version/s: | 1.8.6 |
Type: | Incident report | Priority: | Major |
Reporter: | matthew murdock | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
HP/UX 11.11, HP Ansi C/C++ Compiler vers.C.03.37.01 |
Attachments: | mutexs.patch | ||||||||
Issue Links: |
|
Description |
when compiling the libs in src/libs of zabbix_1.6.6, I come across mutex errors while compiling zbxsys. Here is the output:
Stop.
Stop. |
Comments |
Comment by Brian Collins [ 2011 Jul 05 ] |
My colleague found that this was caused by the cc compiler on HP-UX not wanting to initialize an identifier as it was being declared. Attached patch will initialize on a separate line after declaration. Tested on HP-UX 11.11 and 11.31. This was done with Zabbix version 1.8.5. |
Comment by Aleksandrs Saveljevs [ 2011 Jul 06 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-1074. Brian, if you wish your colleague to appear in ChangeLog, too, please tell us his name. |
Comment by Aleksandrs Saveljevs [ 2011 Jul 07 ] |
Fixed in pre-1.8.6 in r20472. |