[ZBX-2511] Compilation on FreeBSD error: 'FD_SETSIZE' undeclared here (not in a function) Created: 2010 Jun 06 Updated: 2017 May 30 Resolved: 2010 Jun 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.8.3 |
Fix Version/s: | 1.8.3, 1.9.0 (alpha) |
Type: | Incident report | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
FreeBSD 8.0-RELEASE-p2 |
Description |
After merge " gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/local/include/mysql -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -I/usr/local/include -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -MT nodehistory.o -MD -MP -MF .deps/nodehistory.Tpo -c -o nodehistory.o nodehistory.c
|
Comments |
Comment by Oleksii Zagorskyi [ 2010 Jun 06 ] |
I found some information on my FreeBSD 8.0, maybe it will be useful: /usr/include/sys/types.h contain this part:
#include <sys/select.h> /usr/include/sys/select.h contain this part:
|
Comment by Oleksii Zagorskyi [ 2010 Jun 07 ] |
tested branches/dev/zbx-2511-fd-setsize -r 12594 |
Comment by Aleksandrs Saveljevs [ 2010 Jun 07 ] |
Thanks! |
Comment by Konstantin Agafontsev [ 2010 Jun 08 ] |
what about the older versions of freebsd |
Comment by Aleksandrs Saveljevs [ 2010 Jun 08 ] |
Fixed in pre-1.8.3 in r12603. |
Comment by Aleksandrs Saveljevs [ 2010 Jun 08 ] |
Konstantin, if the latest revision of 1.8 fails to compile with other versions of FreeBSD, feel free to reopen. |