linuxmaniac left a comment (kamailio/kamailio#4156)
DUSE_FUTEX -DHAVE_SELECT -I/usr/include/libxml2 -DMOD_NAME='"pua"' -DMOD_NAMEID='pua' -c hash.c -o hash.o In file included from /usr/include/libbson-1.0/bson/bson-compat.h:35, from /usr/include/libbson-1.0/bson/bson.h:23, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:22, from /usr/include/libmongoc-1.0/mongoc.h:18, from mongodb_connection.h:28, from mongodb_connection.c:26: /usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ‘;’ before ‘void’ 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ‘;’ before ‘void’ 220 | static BSON_INLINE BSON_NORETURN void | ^~~~
Not much to do here, it's an issue at libbson