Hi,
i just tried to compile the current 1.1alpha10 with the following errors:
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
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:182: warning: implicit declaration of function `__va_copy'
../../include/snprintf.c:180: warning: `args' might be used uninitialized in this function
../../include/snprintf.c: At top level:
../../include/snprintf.c:169: warning: `dopr' defined but not used
/tmp/cc6N0Iea.o: In function `dopr':
/usr/local/www/zabbix-1.1alpha10/src/zabbix_agent/../../include/snprintf.c:184: undefined reference to `__va_copy'
*** Error code 1
This happens since i first tried an alpha version with 1.1alpha7. The system is a FreeBSD 4.11-RELEASE-p9, which provides gcc-2.95.4 and GNU make 3.80.
The configure script went fine.
Any hints on that?
Regards,
Frank
i just tried to compile the current 1.1alpha10 with the following errors:
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
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:182: warning: implicit declaration of function `__va_copy'
../../include/snprintf.c:180: warning: `args' might be used uninitialized in this function
../../include/snprintf.c: At top level:
../../include/snprintf.c:169: warning: `dopr' defined but not used
/tmp/cc6N0Iea.o: In function `dopr':
/usr/local/www/zabbix-1.1alpha10/src/zabbix_agent/../../include/snprintf.c:184: undefined reference to `__va_copy'
*** Error code 1
This happens since i first tried an alpha version with 1.1alpha7. The system is a FreeBSD 4.11-RELEASE-p9, which provides gcc-2.95.4 and GNU make 3.80.
The configure script went fine.
Any hints on that?
Regards,
Frank

Comment