mongo_fdw icon indicating copy to clipboard operation
mongo_fdw copied to clipboard

Build Failure with latest mongo-c-driver

Open jobinau opened this issue 6 years ago • 3 comments

./autogen.sh --with-master

export PKG_CONFIG_PATH=mongo-c-driver/src/:mongo-c-driver/src/libbson/src mongo_wrapper_meta.c: In function ‘BsonOidToString’: mongo_wrapper_meta.c:587:2: warning: passing argument 2 of ‘bson_oid_to_string’ from incompatible pointer type [enabled by default] bson_oid_to_string (o, str); ^ In file included from /usr/local/include/libbson-1.0/bson/bson.h:40:0, from /usr/local/include/libmongoc-1.0/mongoc/mongoc.h:22, from /usr/local/include/libmongoc-1.0/mongoc.h:18, from mongo_wrapper_meta.c:20: /usr/local/include/libbson-1.0/bson/bson-oid.h:59:1: note: expected ‘char *’ but argument is of type ‘char **’ bson_oid_to_string (const bson_oid_t *oid, char str[25]); ^ mongo_wrapper_meta.c: In function ‘BsonIterValue’: mongo_wrapper_meta.c:605:2: warning: return from incompatible pointer type [enabled by default] return bson_iter_value(i); ^ make: *** [mongo_wrapper_meta.o] Error 1

jobinau avatar Dec 10 '18 02:12 jobinau

@jobinau Is this still an issue, or can this be closed?

andreasscherbaum avatar Mar 31 '19 11:03 andreasscherbaum

Hi. I have same issue still.

zver avatar Dec 27 '19 09:12 zver

Hi @zver and @jobinau,

Can you please re-verify the reported issue with latest master because we've already resolved these type of issues. If issue is been resolved then can you please close this ticket? Otherwise, can you please provide us more details on issue reproduction steps?

vaibhavdalvi93 avatar Jun 21 '22 13:06 vaibhavdalvi93