Ad Widget

Collapse

Make error, zabbix_suckerd not created

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shmang
    Junior Member
    • Jan 2006
    • 3

    #1

    Make error, zabbix_suckerd not created

    I am working on a Zabbix 1.0 installation on Suse 10.

    Make has an error which seems to relate to SNMP(?):
    Code:
    Making all in src/zabbix_agent
    make[1]: Entering directory `/home/zabbix/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 `/home/zabbix/zabbix-1.0/src/zabbix_agent'
    Making all in src/zabbix_sender
    make[1]: Entering directory `/home/zabbix/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 `/home/zabbix/zabbix-1.0/src/zabbix_sender'
    Making all in src/zabbix_sucker
    make[1]: Entering directory `/home/zabbix/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  -L/usr/lib -lnetsnmp -lcrypto  
    zabbix_sucker.c: In function #get_value_SNMP#:
    zabbix_sucker.c:312: warning: pointer targets in assignment differ in signedness
    zabbix_sucker.c:313: warning: pointer targets in passing argument 1 of #strlen# differ in signedness
    /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
    my_compress.c:(.text+0x10b): undefined reference to `compress'
    /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
    my_compress.c:(.text+0x1b5): undefined reference to `uncompress'
    collect2: ld returned 1 exit status
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/zabbix/zabbix-1.0/src/zabbix_sucker'
    make: *** [all] Error 1
    . . . which I think might explain why zabbix_suckerd and zabbix_trapperd are missing in bin.

    Any help in resolving the error appreciated.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I believe it is related to missing -lcrypto. The problem has already been discussed. Please search the forums.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • shmang
      Junior Member
      • Jan 2006
      • 3

      #3
      The problem was fixed by installing zlib-devel, as mentioned here:

      Comment

      • shmang
        Junior Member
        • Jan 2006
        • 3

        #4
        Anyone with the -lcrypto issue should note that the relevant discussion is not on this site, but on Source Forge at:

        Comment

        Working...