Hi, i've downloaded today rev 7202 of zabbix 1.7 and i get an error compiling on CentOS 5.3 (x86):
make[3]: Entering directory `/usr/src/redhat/BUILD/zabbix-1.7/src/zabbix_server/poller'
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_agent.o -MD -MP -MF .deps/checks_agent.Tpo -c -o checks_agent.o checks_agent.c
mv -f .deps/checks_agent.Tpo .deps/checks_agent.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_internal.o -MD -MP -MF .deps/checks_internal.Tpo -c -o checks_internal.o checks_internal.c
mv -f .deps/checks_internal.Tpo .deps/checks_internal.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_simple.o -MD -MP -MF .deps/checks_simple.Tpo -c -o checks_simple.o checks_simple.c
mv -f .deps/checks_simple.Tpo .deps/checks_simple.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_snmp.o -MD -MP -MF .deps/checks_snmp.Tpo -c -o checks_snmp.o checks_snmp.c
mv -f .deps/checks_snmp.Tpo .deps/checks_snmp.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_db.o -MD -MP -MF .deps/checks_db.Tpo -c -o checks_db.o checks_db.c
checks_db.c: In function 'get_value_db':
checks_db.c:162: warning: passing argument 3 of 'set_result_type' makes integer from pointer without a cast
checks_db.c:162: error: too few arguments to function 'set_result_type'
make[3]: *** [checks_db.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.7/src/zabbix_server/poller'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.7/src/zabbix_proxy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.7/src'
make: *** [all-recursive] Error 1
make[3]: Entering directory `/usr/src/redhat/BUILD/zabbix-1.7/src/zabbix_server/poller'
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_agent.o -MD -MP -MF .deps/checks_agent.Tpo -c -o checks_agent.o checks_agent.c
mv -f .deps/checks_agent.Tpo .deps/checks_agent.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_internal.o -MD -MP -MF .deps/checks_internal.Tpo -c -o checks_internal.o checks_internal.c
mv -f .deps/checks_internal.Tpo .deps/checks_internal.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_simple.o -MD -MP -MF .deps/checks_simple.Tpo -c -o checks_simple.o checks_simple.c
mv -f .deps/checks_simple.Tpo .deps/checks_simple.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_snmp.o -MD -MP -MF .deps/checks_snmp.Tpo -c -o checks_snmp.o checks_snmp.c
mv -f .deps/checks_snmp.Tpo .deps/checks_snmp.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -MT checks_db.o -MD -MP -MF .deps/checks_db.Tpo -c -o checks_db.o checks_db.c
checks_db.c: In function 'get_value_db':
checks_db.c:162: warning: passing argument 3 of 'set_result_type' makes integer from pointer without a cast
checks_db.c:162: error: too few arguments to function 'set_result_type'
make[3]: *** [checks_db.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.7/src/zabbix_server/poller'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.7/src/zabbix_proxy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/zabbix-1.7/src'
make: *** [all-recursive] Error 1
Comment