I am trying to install 1.1, and I have some compile errors. I've been working on this for a while, and I'm sure I'm missing something simple. It gooks like perhaps there is something wrong with my mysql libraries, but I am just using the default RPM's from Suse 9.1. I am using ./configure -with-mysql and then running make, as directed in the manual.
The relivant portion of the Make output is below.
Anybody see this before, or have any suggestions on how to fix it?
Thanks in advance,
--Mark
--------------------------------------------------
Making all in src/zabbix_sucker
make[1]: Entering directory `/home/mark/bin/zabbix-1.1alpha1/src/zabbix_sucker'
gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/usr/include/mysql 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/email.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c ../../include/md5.c alerter.c pinger.c housekeeper.c checks_simple.c checks_snmp.c checks_agent.c checks_internal.c -Wall -pthread -lnsl -L/usr/lib/mysql -lmysqlclient_r -lm
../../include/snprintf.c:161: warning: `dopr' defined but not used
../zabbix_agent/sysinfo.c: In function `process':
../zabbix_agent/sysinfo.c:304: warning: `function_str' might be used uninitialized in this function
/usr/lib/mysql/libmysqlclient_r.a(my_compress.o)(.text+0x66): In function `my_uncompress':
: undefined reference to `uncompress'
/usr/lib/mysql/libmysqlclient_r.a(my_compress.o)(.text+0x11c): In function `my_compress_alloc':
: undefined reference to `compress'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/mark/bin/zabbix-1.1alpha1/src/zabbix_sucker'
make: *** [all] Error 1
The relivant portion of the Make output is below.
Anybody see this before, or have any suggestions on how to fix it?
Thanks in advance,
--Mark
--------------------------------------------------
Making all in src/zabbix_sucker
make[1]: Entering directory `/home/mark/bin/zabbix-1.1alpha1/src/zabbix_sucker'
gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/usr/include/mysql 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/email.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c ../../include/md5.c alerter.c pinger.c housekeeper.c checks_simple.c checks_snmp.c checks_agent.c checks_internal.c -Wall -pthread -lnsl -L/usr/lib/mysql -lmysqlclient_r -lm
../../include/snprintf.c:161: warning: `dopr' defined but not used
../zabbix_agent/sysinfo.c: In function `process':
../zabbix_agent/sysinfo.c:304: warning: `function_str' might be used uninitialized in this function
/usr/lib/mysql/libmysqlclient_r.a(my_compress.o)(.text+0x66): In function `my_uncompress':
: undefined reference to `uncompress'
/usr/lib/mysql/libmysqlclient_r.a(my_compress.o)(.text+0x11c): In function `my_compress_alloc':
: undefined reference to `compress'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/mark/bin/zabbix-1.1alpha1/src/zabbix_sucker'
make: *** [all] Error 1
Comment