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

Compilation failed under FreeBSD 4.x

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.3
    • 1.4.3
    • Installation (I)
    • None

      I have just grabbed the latest version and unfortuntely it will not compile. I think this is unrelated to the previous problem. As per this thread:

      http://www.zabbix.com/forum/showthread.php?t=7334&page=2&pp=10&highlight=Error+code

      I had to make the change to configure with the additional "-lcurl" and my configure line looks as follows:

      CFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --enable-agent

      This completes fine, however the "make install" bombs out straight away with this:

      bash-2.05b# make install
      Making install in create
      Making install in schema
      Making install in misc
      Making install in src
      Making install in libs
      Making install in zbxcrypto
      source='md5.c' object='md5.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/local/include -L/usr/local/lib -I/usr/local/include/mysql -I/usr/local/include -I/usr/libdata/perl/5.00503/mach/CORE -I. -I/usr/local/include -c md5.c
      In file included from ../../../include/sysinc.h:347,
      from ../../../include/common.h:23,
      from md5.c:54:
      /usr/local/include/net-snmp/net-snmp-config.h:854: warning: `PACKAGE_BUGREPORT' redefined
      ../../../include/config.h:482: warning: this is the location of the previous definition
      /usr/local/include/net-snmp/net-snmp-config.h:857: warning: `PACKAGE_NAME' redefined
      ../../../include/config.h:485: warning: this is the location of the previous definition
      /usr/local/include/net-snmp/net-snmp-config.h:860: warning: `PACKAGE_STRING' redefined
      ../../../include/config.h:488: warning: this is the location of the previous definition
      /usr/local/include/net-snmp/net-snmp-config.h:863: warning: `PACKAGE_TARNAME' redefined
      ../../../include/config.h:491: warning: this is the location of the previous definition
      /usr/local/include/net-snmp/net-snmp-config.h:866: warning: `PACKAGE_VERSION' redefined
      ../../../include/config.h:494: warning: this is the location of the previous definition
      In file included from /usr/local/include/net-snmp/mib_api.h:24,
      from /usr/local/include/net-snmp/net-snmp-includes.h:71,
      from ../../../include/sysinc.h:348,
      from ../../../include/common.h:23,
      from md5.c:54:
      /usr/local/include/net-snmp/library/parse.h:32: warning: `MAXLABEL' redefined
      /usr/include/arpa/nameser_compat.h:104: warning: this is the location of the previous definition
      In file included from md5.c:54:
      ../../../include/common.h:132: redefinition of `struct option'

          • Error code 1

      Stop in /usr/home/zabbix/zabbix-1.4.2/src/libs/zbxcrypto.

          • Error code 1

      Stop in /usr/home/zabbix/zabbix-1.4.2/src/libs.

          • Error code 1

      Stop in /usr/home/zabbix/zabbix-1.4.2/src.

          • Error code 1

      Stop in /usr/home/zabbix/zabbix-1.4.2.

      Also: http://www.zabbix.com/forum/showthread.php?t=6033
      Also: http://www.zabbix.com/forum/showthread.php?t=7309

            alexei Alexei Vladishev
            alexei Alexei Vladishev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: