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

Not compile on FreeBSD

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.9.1 (alpha)
    • 1.9.1 (alpha)
    • Agent (G), Server (S)
    • None
    • problem started from revision 16205 !
      FreeBSD 8.1-RELEASE #0
      ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-ldap --with-ssh2

      'configure.in' has changed a lot, and I think because of this.

      Compilation error output:
      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 system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c
      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:388,
      from ../../../../include/common.h:23,
      from ../../../../include/sysinfo.h:23,
      from common.h:23,
      from system.c:20:
      /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 ../../../../include/sysinfo.h:23,
      from common.h:23,
      from system.c:20:
      /usr/include/arpa/nameser_compat.h:104:1: warning: this is the location of the previous definition
      system.c: In function 'SYSTEM_LOCALTIME':
      system.c:76: error: wrong type argument to unary minus

          • Error code 1

      Stop in /tmp/zabbix-1.9/src/libs/zbxsysinfo/common.

          • Error code 1

      Stop in /tmp/zabbix-1.9/src/libs/zbxsysinfo.

          • Error code 1

      Stop in /tmp/zabbix-1.9/src/libs.

          • Error code 1

      Stop in /tmp/zabbix-1.9/src.

          • Error code 1

      Stop in /tmp/zabbix-1.9.

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

              Created:
              Updated:
              Resolved: