Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2511

Compilation on FreeBSD error: 'FD_SETSIZE' undeclared here (not in a function)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.3, 1.9.0 (alpha)
    • 1.8.3
    • Installation (I)
    • None
    • FreeBSD 8.0-RELEASE-p2
      Zabbix started from revision 12470

      After merge "ZBXNEXT-138 our daemons can now listen on multiple IPs" on revision 12470 compilation on FreeBSD end with this error:

      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
      In file included from nodehistory.h:24,
      from nodehistory.c:24:
      ../../../include/comms.h:46: error: 'FD_SETSIZE' undeclared here (not in a function)
      In file included from /usr/local/include/net-snmp/mib_api.h:76,
      from /usr/local/include/net-snmp/library/mib.h:37,
      from /usr/local/include/net-snmp/varbind_api.h:80,
      from /usr/local/include/net-snmp/library/snmp_api.h:28,
      from /usr/local/include/net-snmp/types.h:387,
      from /usr/local/include/net-snmp/definitions.h:22,
      from /usr/local/include/net-snmp/net-snmp-includes.h:75,
      from ../../../include/sysinc.h:385,
      from ../../../include/common.h:23,
      from nodehistory.c:25:
      /usr/local/include/net-snmp/library/parse.h:35:1: warning: "MAXLABEL" redefined
      In file included from /usr/include/arpa/nameser.h:580,
      from ../../../include/sysinc.h:120,
      from ../../../include/common.h:23,
      from nodehistory.c:25:
      /usr/include/arpa/nameser_compat.h:104:1: warning: this is the location of the previous definition

          • Error code 1

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: