Hello,

What mongo-c-client version are you using ? The OpenSIPS cachedb_mongodb module is compatible only with the v 0.6 C driver - since it seems that in the mean time the MongoDB guys changed the API.

I'll be taking a look at the module so that it can succesfully compile with newer mongo-c-client versions. In the mean time, can you please try to use the 0.6 version of the driver ?

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 11.09.2013 14:40, hualong....@busap.com wrote:
hello all,
I want to install opensips-1.10 include the mongodb module ,at first i istall json-c and mongo-c-dri
But appeared at compile time:
Cachedb_mongodb_dbase. C: in function 'dbg_bson_print_raw:
Cachedb_mongodb_dbase. C: 492: warning: implicitly declared function 'bson_iterator_code_scope'
Cachedb_mongodb_dbase. C: in function 'mongo_raw_find:
Cachedb_mongodb_dbase. C: 558: error: provide functions' bson_init_finished_data too few arguments Cachedb_mongodb_dbase. C: 562: error: provide functions' bson_init_finished_data too few arguments
Cachedb_mongodb_dbase. C: in function 'mongo_raw_count:
Cachedb_mongodb_dbase. C: 663: error: provide functions' bson_init_finished_data too few arguments
Cachedb_mongodb_dbase. C: in function 'mongo_raw_update:
Cachedb_mongodb_dbase. C: 764: error: provide functions' bson_init_finished_data too few arguments Cachedb_mongodb_dbase. C: 768: error: provide functions' bson_init_finished_data too few arguments
Cachedb_mongodb_dbase. C: in function 'mongo_raw_insert:
Cachedb_mongodb_dbase. C: 851: error: provide functions' bson_init_finished_data too few arguments
Cachedb_mongodb_dbase. C: in function 'mongo_raw_remove:
Cachedb_mongodb_dbase. C: 935: error: provide functions' bson_init_finished_data too few arguments
Make [2], [* * * cachedb_mongodb_dbase. O] 1 ,
Regards,
yin
------------------------------------------------------------------------
hualong....@busap.com


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to