[ZBX-9873] compile error trying to build 3.0 server on AIX Created: 2015 Sep 14 Updated: 2017 May 30 Resolved: 2015 Sep 14 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Server (S) |
| Affects Version/s: | 3.0.0alpha2 |
| Fix Version/s: | None |
| Type: | Incident report | Priority: | Minor |
| Reporter: | Michael Gray | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
AIX 7.1, DB2 10.5, /opt/freeware (gcc etc.) from perzl.org |
||
| Issue Links: |
|
||||||||
| Description |
|
After installing gcc and required devel packages from perzl.org and issuing the following: Make stops in zbxmedia: Making all in zbxmedia Stop. Stop. Stop. Stop. As a workaround, I removed CRTSCTS and was able to compile:
*** src/libs/zbxmedia/sms.c.dist Wed Sep 9 10:07:13 2015
--- src/libs/zbxmedia/sms.c Mon Sep 14 11:24:27 2015
***************
*** 254,260 ****
#ifdef ONOCR
options.c_oflag = ONOCR;
#endif
! options.c_cflag = old_options.c_cflag | CRTSCTS | CS8 | CLOCAL | CREAD;
options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
options.c_cc[VMIN] = 0;
options.c_cc[VTIME] = 1;
--- 254,260 ----
#ifdef ONOCR
options.c_oflag = ONOCR;
#endif
! options.c_cflag = old_options.c_cflag | CS8 | CLOCAL | CREAD;
options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
options.c_cc[VMIN] = 0;
options.c_cc[VTIME] = 1;
|
| Comments |
| Comment by Volker Fröhlich [ 2015 Sep 14 ] |
|
Apparently doesn't exist in AIX: https://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.files/termio.h.htm |
| Comment by richlv [ 2015 Sep 14 ] |
|
closing as a duplicate of ZBX-7043 |