I am working on a Zabbix 1.0 installation on Suse 10.
Make has an error which seems to relate to SNMP(?):
. . . which I think might explain why zabbix_suckerd and zabbix_trapperd are missing in bin.
Any help in resolving the error appreciated.
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
Any help in resolving the error appreciated.
Comment