[ZBX-4360] Server from trunk will not compile on FreeBSD 7.3 Created: 2011 Nov 17 Updated: 2017 May 30 Resolved: 2012 Jun 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.8.10, 1.9.8 (beta) |
Type: | Incident report | Priority: | Trivial |
Reporter: | dimir | Assignee: | dimir |
Resolution: | Fixed | Votes: | 0 |
Labels: | compilation, freebsd | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
FreeBSD 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 [email protected]:/usr/obj/usr/src/sys/GENERIC i386 |
Description |
Server compilation fails with error while trying to compile trapper: [...]
The problem is that "ssize_t" type is not recognized in comms.h in line: ssize_t zbx_tcp_recv_ext(zbx_sock_t *s, char **data, unsigned char flags, int timeout); Including <unistd.h> fixed the problem. Steps to reproduce: |
Comments |
Comment by dimir [ 2011 Nov 17 ] |
Set Fix Version/s. |
Comment by dimir [ 2011 Nov 17 ] |
Fixed in pre-1.9.8 r23322 . |
Comment by dimir [ 2011 Nov 17 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4360 . |
Comment by dimir [ 2011 Nov 22 ] |
Fixed in pre-1.8.10 r23415 . |