EnterpriseDB / mongo_fdw

PostgreSQL foreign data wrapper for MongoDB
GNU Lesser General Public License v3.0
326 stars 70 forks source link

Build Failure with latest mongo-c-driver #113

Open jobinau opened 5 years ago

jobinau commented 5 years ago

./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

andreasscherbaum commented 5 years ago

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

zver commented 4 years ago

Hi. I have same issue still.

vaibhavdalvi93 commented 2 years ago

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?