Hi All,
trying to compile zabbix-1.6 as proxy on rhel3 update 6 but got the bellow errors
./configure --enable-proxy --with-mysql --enable-agent
make
+++++++++++errors+++++++++++++++
make[3]: Leaving directory `/root/zabbix-1.6/src/libs/zbxjson'
Making all in zbxdb
make[3]: Entering directory `/root/zabbix-1.6/src/libs/zbxdb'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I'/usr/include/mysql' -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; \
then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
db.c: In function `zbx_db_connect':
db.c:87: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
db.c:87: (Each undeclared identifier is reported only once
db.c:87: for each function it appears in.)
make[3]: *** [db.o] Error 1
make[3]: Leaving directory `/root/zabbix-1.6/src/libs/zbxdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/zabbix-1.6/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zabbix-1.6/src'
make: *** [all-recursive] Error 1
if i compile with
./configure --with-mysql --enable-agent
and then run make i get no errors
help very urgent
//Remy
trying to compile zabbix-1.6 as proxy on rhel3 update 6 but got the bellow errors
./configure --enable-proxy --with-mysql --enable-agent
make
+++++++++++errors+++++++++++++++
make[3]: Leaving directory `/root/zabbix-1.6/src/libs/zbxjson'
Making all in zbxdb
make[3]: Entering directory `/root/zabbix-1.6/src/libs/zbxdb'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I'/usr/include/mysql' -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; \
then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
db.c: In function `zbx_db_connect':
db.c:87: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
db.c:87: (Each undeclared identifier is reported only once
db.c:87: for each function it appears in.)
make[3]: *** [db.o] Error 1
make[3]: Leaving directory `/root/zabbix-1.6/src/libs/zbxdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/zabbix-1.6/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zabbix-1.6/src'
make: *** [all-recursive] Error 1
if i compile with
./configure --with-mysql --enable-agent
and then run make i get no errors
help very urgent
//Remy
Comment