Ad Widget

Collapse

Problem compiling Zabbix 1.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skull
    Junior Member
    • Aug 2005
    • 2

    #1

    Problem compiling Zabbix 1.0

    Hi friends, I hope you can help me with this issue, I've been seeing all forum posts about it, but any has exactly my same error. I tried installing zlib, zlib-devel, openssl, openssl-devel and all the packages I saw in the threads.

    That's my configure command:

    root@hosting [~/zabbix-1.0]# ./configure --with-mysql --with-net-snmp

    with this result:

    ************************************************** *********
    * Now run 'make' *
    * *
    * Thank you for using Zabbix! *
    * <http://www.zabbix.com> *
    ************************************************** *********

    now I run make and I get this error:

    root@hosting [~/zabbix-1.0]# make
    Making all in src/zabbix_agent
    make[1]: Entering directory `/root/zabbix-1.0/src/zabbix_agent'
    gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl
    gcc -o ../../bin/zabbix_agentd -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall -lnsl
    make[1]: Leaving directory `/root/zabbix-1.0/src/zabbix_agent'
    Making all in src/zabbix_sender
    make[1]: Entering directory `/root/zabbix-1.0/src/zabbix_sender'
    gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c -lnsl
    make[1]: Leaving directory `/root/zabbix-1.0/src/zabbix_sender'
    Making all in src/zabbix_sucker
    make[1]: Entering directory `/root/zabbix-1.0/src/zabbix_sucker'
    gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/usr/include/mysql -I/usr/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -lnsl -L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib -lnetsnmp -lcrypto
    En el fichero incluÃ*do de ../../include/db.h:26,
    de zabbix_sucker.c:59:
    ../../include/config.h:223:1: aviso: se redefinió "PACKAGE_BUGREPORT"
    En el fichero incluÃ*do de zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:931:1: aviso: esta es la ubicación de la definición previa
    En el fichero incluÃ*do de ../../include/db.h:26,
    de zabbix_sucker.c:59:
    ../../include/config.h:226:1: aviso: se redefinió "PACKAGE_NAME"
    En el fichero incluÃ*do de zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:934:1: aviso: esta es la ubicación de la definición previa
    En el fichero incluÃ*do de ../../include/db.h:26,
    de zabbix_sucker.c:59:
    ../../include/config.h:229:1: aviso: se redefinió "PACKAGE_STRING"
    En el fichero incluÃ*do de zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:937:1: aviso: esta es la ubicación de la definición previa
    En el fichero incluÃ*do de ../../include/db.h:26,
    de zabbix_sucker.c:59:
    ../../include/config.h:232:1: aviso: se redefinió "PACKAGE_TARNAME"
    En el fichero incluÃ*do de zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:940:1: aviso: esta es la ubicación de la definición previa
    En el fichero incluÃ*do de ../../include/db.h:26,
    de zabbix_sucker.c:59:
    ../../include/config.h:235:1: aviso: se redefinió "PACKAGE_VERSION"
    En el fichero incluÃ*do de zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:943:1: aviso: esta es la ubicación de la definición previa
    /usr/lib/libnetsnmp.so: undefined reference to `__memcpy_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__memset_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__strcpy_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__fprintf_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__strcat_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__strncat_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__strncpy_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__snprintf_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__vsnprintf_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__printf_chk@GLIBC_2.3.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__sprintf_chk@GLIBC_2.3.4'
    collect2: ld devolvió el estado de salida 1
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/root/zabbix-1.0/src/zabbix_sucker'
    make: *** [all] Error 1
    root@hosting [~/zabbix-1.0]#


    Very thanks for any help you can offer me.

    Best regards.
Working...