Hi everybody
When trying to compile zabbix on a ppc machine (debian sid) i've got this error, no problems with i386.
celso@localhost:~/zabbix-1.1alpha4$ make
Making all in src/zabbix_agent
make[1]: Entering directory `/home/celso/zabbix-1.1alpha4/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 ../../include/md5.c -Wall -lnsl
sysinfo.c: En la función `process':
sysinfo.c:320: aviso: `function_str' might be used uninitialized in this function
../../include/snprintf.c: En la función `dopr':
../../include/snprintf.c:174: error: incompatible types in asignación
../../include/snprintf.c: En el nivel principal:
../../include/snprintf.c:161: aviso: `dopr' defined but not used
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/celso/zabbix-1.1alpha4/src/zabbix_agent'
make: *** [all] Error 1
I have added #define HAVE_VA_COPY 1 on include/config.h and now compiles ok.
Best regards
--
Celso González
When trying to compile zabbix on a ppc machine (debian sid) i've got this error, no problems with i386.
celso@localhost:~/zabbix-1.1alpha4$ make
Making all in src/zabbix_agent
make[1]: Entering directory `/home/celso/zabbix-1.1alpha4/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 ../../include/md5.c -Wall -lnsl
sysinfo.c: En la función `process':
sysinfo.c:320: aviso: `function_str' might be used uninitialized in this function
../../include/snprintf.c: En la función `dopr':
../../include/snprintf.c:174: error: incompatible types in asignación
../../include/snprintf.c: En el nivel principal:
../../include/snprintf.c:161: aviso: `dopr' defined but not used
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/celso/zabbix-1.1alpha4/src/zabbix_agent'
make: *** [all] Error 1
I have added #define HAVE_VA_COPY 1 on include/config.h and now compiles ok.
Best regards
--
Celso González
Comment