```
make[2]: --libs: No such file or directory
CC (gcc) [M db_mongodb.so] db_mongodb_mod.o
CC (gcc) [M db_mongodb.so] mongodb_connection.o
CC (gcc) [M db_mongodb.so] mongodb_dbase.o
mongodb_dbase.c: In function ‘db_mongodb_convert_result’:
mongodb_dbase.c:776:25: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
776 | jstr = bson_as_json(itdoc, NULL);
| ^~~~
In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:22,
from /usr/include/libmongoc-1.0/mongoc.h:18,
from mongodb_connection.h:26,
from mongodb_dbase.c:27:
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
mongodb_dbase.c: In function ‘db_mongodb_query’:
mongodb_dbase.c:1003:17: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
1003 | jstr = bson_as_json(seldoc, NULL);
| ^~~~
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
mongodb_dbase.c:1039:25: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
1039 | jstr = bson_as_json(mgcon->colsdoc, NULL);
| ^~~~
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
mongodb_dbase.c: In function ‘db_mongodb_insert’:
mongodb_dbase.c:1177:17: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
1177 | jstr = bson_as_json(doc, NULL);
| ^~~~
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
mongodb_dbase.c: In function ‘db_mongodb_delete’:
mongodb_dbase.c:1271:17: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
1271 | jstr = bson_as_json(doc, NULL);
| ^~~~
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
make[3]: Entering directory
'/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb1'
make[3]: 'libsrdb1.so.1.0' is up to date.
make[3]: Leaving directory
'/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src/lib/srdb1'
LD (gcc) [M db_mongodb.so] db_mongodb.so
make[2]: --libs: No such file or directory
make[2]: --libs: No such file or directory
CC (gcc) [M ndb_mongodb.so] mongodb_client.o
mongodb_client.c: In function ‘mongodbc_exec_cmd’:
mongodb_client.c:266:17: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
266 | rpl->jsonrpl.s = bson_as_json(&reply, NULL);
| ^~~
In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:22,
from /usr/include/libmongoc-1.0/mongoc.h:18,
from mongodb_client.h:25,
from mongodb_client.c:34:
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
mongodb_client.c:271:25: warning: ‘mongoc_collection_command’ is deprecated: Use
mongoc_collection_command_simple instead [-Wdeprecated-declarations]
271 | rpl->cursor =
mongoc_collection_command(rpl->collection,
| ^~~
In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26,
from /usr/include/libmongoc-1.0/mongoc/mongoc-bulkwrite.h:22,
from /usr/include/libmongoc-1.0/mongoc/mongoc.h:28:
/usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:51:1: note: declared here
51 | mongoc_collection_command (mongoc_collection_t *collection,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mongodb_client.c:306:17: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
306 | rpl->jsonrpl.s = bson_as_json(cdoc, NULL);
| ^~~
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
mongodb_client.c: In function ‘mongodbc_next_reply’:
mongodb_client.c:482:9: warning: ‘bson_as_json’ is deprecated: Use
bson_as_legacy_extended_json instead [-Wdeprecated-declarations]
482 | rpl->jsonrpl.s = bson_as_json(cdoc, NULL);
| ^~~
/usr/include/libbson-1.0/bson/bson.h:535:1: note: declared here
535 | bson_as_json (const bson_t *bson, size_t *length) BSON_GNUC_DEPRECATED_FOR
(bson_as_legacy_extended_json);
| ^~~~~~~~~~~~
CC (gcc) [M ndb_mongodb.so] ndb_mongodb_mod.o
LD (gcc) [M ndb_mongodb.so] ndb_mongodb.so
make[2]: --libs: No such file or directory
make[2]: --libs: No such file or directory
CC (gcc) [M db_mysql.so] db_mysql.o
CC (gcc) [M db_mysql.so] km_db_mysql.o
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4037
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4037(a)github.com>