[ZBX-1394] checks_db.c:162: error: too few arguments to function 'set_result_type' Created: 2009 Dec 02  Updated: 2017 May 30  Resolved: 2009 Dec 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 1.9.0 (alpha)
Fix Version/s: 1.9.0 (alpha)

Type: Incident report Priority: Major
Reporter: Billy Vierra Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File zabbix-1.7.3-poller.patch    

 Description   

When using --with-odbc you get the following error during compile:
gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -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'



 Comments   
Comment by Billy Vierra [ 2009 Dec 02 ]

This fixes it.

Generated at Fri Apr 26 06:50:06 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.