Hi,
I am trying to get the db_cassandra working in kamailio 3.1.1 with thrift 0.6.1 API and however I get the following compile error.
ol.h:33, from dbcassa_base.h:38, from dbcassa_base.cpp:47: ../../lib/srdb1/db.h:388:20: error: expected unqualified-id before âdeleteâ dbcassa_base.cpp: In function âColumnVecPtr cassa_translate_query(const db1_con_t*, str* const*, const db_val_t*, str* const*, int, int, int*)â: dbcassa_base.cpp:538:8: warning: format â%dâ expects argument of type âintâ, but argument 7 has type âstd::vectororg::apache::cassandra::KeySlice::size_type {aka long unsigned int}â [-Wformat] dbcassa_base.cpp:538:8: warning: format â%dâ expects argument of type âintâ, but argument 5 has type âstd::vectororg::apache::cassandra::KeySlice::size_type {aka long unsigned int}â [-Wformat] dbcassa_base.cpp:538:8: warning: format â%dâ expects argument of type âintâ, but argument 6 has type âstd::vectororg::apache::cassandra::KeySlice::size_type {aka long unsigned int}â [-Wformat] dbcassa_base.cpp:538:8: warning: format â%dâ expects argument of type âintâ, but argument 4 has type âstd::vectororg::apache::cassandra::KeySlice::size_type {aka long unsigned int}â [-Wformat] dbcassa_base.cpp:538:8: warning: format â%dâ expects argument of type âintâ, but argument 4 has type âstd::vectororg::apache::cassandra::KeySlice::size_type {aka long unsigned int}â [-Wformat] ../../lib/srdb1/db_res.h: At global scope: ../../lib/srdb1/db_res.h:105:19: warning: inline function âdb1_res_t* db_new_result()â used but never defined [enabled by default] ../../lib/srdb1/db_res.h:121:12: warning: inline function âint db_allocate_columns(db1_res_t*, unsigned int)â used but never defined [enabled by default] ../../lib/srdb1/db_res.h:98:12: warning: inline function âint db_free_columns(db1_res_t*)â used but never defined [enabled by default] ../../lib/srdb1/db_res.h:129:12: warning: inline function âint db_allocate_rows(db1_res_t*)â used but never defined [enabled by default] ../../lib/srdb1/db_row.h:74:12: warning: inline function âint db_allocate_row(const db1_res_t*, db_row_t*)â used but never defined [enabled by default] ../../lib/srdb1/db_res.h:111:12: warning: inline function âint db_free_result(db1_res_t*)â used but never defined [enabled by default] make[1]: *** [dbcassa_base.o] Error 1 make: *** [install-modules] Error 1
Anybody has got any ideas?
Thanks in advance,
Bou