PDA

View Full Version : Make problem with zabbix-1.1alpha6 :(


miky_willis
28-02-2005, 10:49
Hi Everybody

Yesterday I tried to install zabbix-1.1alpha6 instead of my alpha5... But I got this error when I run make:

myhost# make
Making all in 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
sysinfo.c: In function `process':
sysinfo.c:389: warning: `function_str' might be used uninitialized in this function
../../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/cciusw75.o: In function `dopr':
/usr/home/mickael/zabbix-1.1alpha6/src/zabbix_agent/../../include/snprintf.c:184: undefined reference to `__va_copy'
*** Error code 1

Stop in /usr/home/mickael/zabbix-1.1alpha6/src/zabbix_agent.
*** Error code 1

Stop in /usr/home/mickael/zabbix-1.1alpha6.


I don't understand...
I run zabbix on a FreeBSD 4.10 with MySQL-4.1.10 and PHP-5.0.3_2

Note that I was able to upgrade another zabbixalpha5 to alpha6 with no problem on another server running FreeBSD 5.3. And the overview page is Great ;)

thanks for help

sokhu
05-03-2005, 21:14
I am experiencing the exact same problem running Freebsd 4.5-RC2, Mysql 3.23.49.

I will post the solution if I am able to solve it, I hope you do the same.

Regards,

Stefan

psad
12-03-2005, 23:03
the same problem. Im looking for a solution, too.

regards
Paweł Sadowski

deejay2
22-03-2005, 18:05
Same problem with FreeBSD 5.3 here...

deejay2
22-03-2005, 19:42
Got it...

In zebra's source...

include/snprintf.c

Around line 113, replace __va_copy by: __builtin_va_copy
Around line 121, ..same thing ;)

You have to replace 2 occurences of __va_copy by __builtin_va_copy

miky_willis
23-03-2005, 21:13
Damned your solution did not work for me :(

I always got the issue... But only on my Freebsd 4.10, it works fine on FreeBSD 5.3 with zabbix 1.1 alpha6 and 7...

I continue searching

thanks

miky_willis
17-04-2005, 21:45
Hello everybody.

I always got this issue and don't know what to do at all :(

please help if somebody knows something...