=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for libmongo-client-0.1.8 /usr/pkg/bin/bmake all-recursive Making all in docs Making all in tutorial Making all in src CC libmongo_client_la-compat.lo CC libmongo_client_la-bson.lo CC libmongo_client_la-mongo-wire.lo CC libmongo_client_la-mongo-client.lo mongo-client.c:44:9: warning: 'MSG_NOSIGNAL' macro redefined [-Wmacro-redefined] #define MSG_NOSIGNAL 0 ^ /usr/include/sys/socket.h:524:9: note: previous definition is here #define MSG_NOSIGNAL 0x0400 /* do not generate SIGPIPE on EOF */ ^ 1 warning generated. CC libmongo_client_la-mongo-utils.lo CC libmongo_client_la-mongo-sync.lo CC libmongo_client_la-mongo-sync-cursor.lo CC libmongo_client_la-mongo-sync-pool.lo CC libmongo_client_la-sync-gridfs.lo CC libmongo_client_la-sync-gridfs-chunk.lo CC libmongo_client_la-sync-gridfs-stream.lo CCLD libmongo-client.la Making all in tests Making all in libtap Making all in examples CC mongo-dump.o CCLD mongo-dump ../src/.libs/libmongo-client.so: undefined reference to `munlock' ../src/.libs/libmongo-client.so: undefined reference to `mlock' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/databases/libmongo-client/work/libmongo-client-libmongo-client-0.1.8/examples *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/databases/libmongo-client/work/libmongo-client-libmongo-client-0.1.8 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/databases/libmongo-client/work/libmongo-client-libmongo-client-0.1.8 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/libmongo-client *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/libmongo-client