PDA

View Full Version : Error running make on Linux ppc64


icanbedangerous
30-06-2005, 17:17
Using zabbix 1.0. Compile the ./configure, after run the make command and get the following error:

Making all in src/zabbix_agent
make[1]: Entering directory `/tmp/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
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: incompatible types in assignment
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:811: incompatible types in assignment
../../include/snprintf.c:819: incompatible types in assignment
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.0/src/zabbix_agent'
make: *** [all] Error 1

Is their something missing?

Alexei
30-06-2005, 18:48
Try to get the latest snprintf.c from CVS. It should work.

Also, you may want to search this forum to find workarounds for this problem.