[ZBX-5909] Proxy compilation fails when using --with-sqlite3, works ok with --with-mysql Created: 2012 Nov 29  Updated: 2017 May 30  Resolved: 2012 Dec 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 2.1.0
Fix Version/s: 2.1.0

Type: Incident report Priority: Major
Reporter: Gabriele Armao Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dbpatches, sqlite, upgrade
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

configuration made with: ./configure --enable-proxy --with-sqlite3 --with-net-snmp --with-libcurl --prefix=/home/zabbix

the after the "make" command, this is the error:

make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs/zbxcommshigh'
Making all in zbxdb
make[3]: Entering directory `/home/zabbix/zabbix/trunk/src/libs/zbxdb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs/zbxdb'
Making all in zbxdbupgrade
make[3]: Entering directory `/home/zabbix/zabbix/trunk/src/libs/zbxdbupgrade'
gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/include -I/usr/lib/perl5/5.14.2/i586-linux-thread-multi/CORE -I. -I/usr/include -MT dbupgrade.o -MD -MP -MF .deps/dbupgrade.Tpo -c -o dbupgrade.o dbupgrade.c
dbupgrade.c: In function ‘DBfield_type_string’:
dbupgrade.c:99:49: error: ‘ZBX_TYPE_ID_STR’ undeclared (first use in this function)
dbupgrade.c:99:49: note: each undeclared identifier is reported only once for each function it appears in
dbupgrade.c:108:49: error: ‘ZBX_TYPE_UINT_STR’ undeclared (first use in this function)
make[3]: *** [dbupgrade.o] Error 1
make[3]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs/zbxdbupgrade'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zabbix/zabbix/trunk/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zabbix/zabbix/trunk/src'
make: *** [all-recursive] Error 1

using --with-mysql everything works as expected.



 Comments   
Comment by Andris Mednis [ 2012 Dec 04 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5909

Comment by Andris Mednis [ 2012 Dec 11 ]

Fixed in version pre-2.1.0 rev. 32054.

Generated at Fri Apr 26 18:35:09 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.