Making all in src/libbson make[1]: Entering directory `/d/Libraries/Unpacked/mongo/mongo-c-driver-1.5.0/src/libbson' CC src/bson/libbson_la-bcon.lo CC src/bson/libbson_la-bson.lo CC src/bson/libbson_la-bson-atomic.lo CC src/bson/libbson_la-bson-clock.lo CC src/bson/libbson_la-bson-context.lo CC src/bson/libbson_la-bson-decimal128.lo CC src/bson/libbson_la-bson-error.lo CC src/bson/libbson_la-bson-iter.lo CC src/bson/libbson_la-bson-iso8601.lo CC src/bson/libbson_la-bson-json.lo CC src/bson/libbson_la-bson-keys.lo CC src/bson/libbson_la-bson-md5.lo CC src/bson/libbson_la-bson-memory.lo CC src/bson/libbson_la-bson-oid.lo CC src/bson/libbson_la-bson-reader.lo CC src/bson/libbson_la-bson-string.lo CC src/bson/libbson_la-bson-timegm.lo CC src/bson/libbson_la-bson-utf8.lo CC src/bson/libbson_la-bson-value.lo CC src/bson/libbson_la-bson-version-functions.lo CC src/bson/libbson_la-bson-writer.lo CC src/yajl/libyajl_la-yajl_version.lo CC src/yajl/libyajl_la-yajl.lo CC src/yajl/libyajl_la-yajl_encode.lo CC src/yajl/libyajl_la-yajl_lex.lo CC src/yajl/libyajl_la-yajl_parser.lo CC src/yajl/libyajl_la-yajl_buf.lo CC src/yajl/libyajl_la-yajl_tree.lo CC src/yajl/libyajl_la-yajl_alloc.lo CC src/yajl/libyajl_la-yajl_gen.lo CC tests/test_libbson-TestSuite.o CC tests/test_libbson-test-libbson.o CC tests/test_libbson-test-atomic.o CC tests/test_libbson-test-bson.o CC tests/test_libbson-test-endian.o CC tests/test_libbson-test-clock.o CC tests/test_libbson-test-decimal128.o CC tests/test_libbson-test-error.o CC tests/test_libbson-test-iso8601.o CC tests/test_libbson-test-iter.o CC tests/test_libbson-test-json.o CC tests/test_libbson-test-oid.o CC tests/test_libbson-test-reader.o CC tests/test_libbson-test-string.o CC tests/test_libbson-test-type.o CC tests/test_libbson-test-utf8.o CC tests/test_libbson-test-value.o CC tests/test_libbson-test-version.o CC tests/test_libbson-test-writer.o CC tests/test_libbson-test-bcon-basic.o CC tests/test_libbson-test-bcon-extract.o CC tests/test_libbson-json-test.o CC examples/bson_to_json-bson-to-json.o CC examples/bson_validate-bson-validate.o CC examples/bcon_speed-bcon-speed.o CC examples/bcon_col_view-bcon-col-view.o CC examples/json_to_bson-json-to-bson.o CC examples/bson_metrics-bson-metrics.o CC examples/bson_streaming_reader-bson-streaming-reader.o CCLD libbson.la CCLD libyajl.la CCLD libbson-1.0.la CCLD test-libbson.exe CCLD bson-to-json.exe CCLD bson-validate.exe CCLD bcon-speed.exe CCLD bcon-col-view.exe CCLD json-to-bson.exe CCLD bson-metrics.exe CCLD bson-streaming-reader.exe make[1]: Leaving directory `/d/Libraries/Unpacked/mongo/mongo-c-driver-1.5.0/src/libbson' make[1]: Entering directory `/d/Libraries/Unpacked/mongo/mongo-c-driver-1.5.0' CC src/mongoc/libmongoc_1_0_la-mongoc-apm.lo CC src/mongoc/libmongoc_1_0_la-mongoc-array.lo CC src/mongoc/libmongoc_1_0_la-mongoc-async.lo CC src/mongoc/libmongoc_1_0_la-mongoc-async-cmd.lo CC src/mongoc/libmongoc_1_0_la-mongoc-buffer.lo CC src/mongoc/libmongoc_1_0_la-mongoc-bulk-operation.lo CC src/mongoc/libmongoc_1_0_la-mongoc-b64.lo CC src/mongoc/libmongoc_1_0_la-mongoc-client.lo CC src/mongoc/libmongoc_1_0_la-mongoc-client-pool.lo CC src/mongoc/libmongoc_1_0_la-mongoc-cluster.lo CC src/mongoc/libmongoc_1_0_la-mongoc-collection.lo CC src/mongoc/libmongoc_1_0_la-mongoc-counters.lo CC src/mongoc/libmongoc_1_0_la-mongoc-cursor.lo CC src/mongoc/libmongoc_1_0_la-mongoc-cursor-array.lo CC src/mongoc/libmongoc_1_0_la-mongoc-cursor-cursorid.lo CC src/mongoc/libmongoc_1_0_la-mongoc-cursor-transform.lo CC src/mongoc/libmongoc_1_0_la-mongoc-database.lo CC src/mongoc/libmongoc_1_0_la-mongoc-find-and-modify.lo CC src/mongoc/libmongoc_1_0_la-mongoc-host-list.lo CC src/mongoc/libmongoc_1_0_la-mongoc-init.lo CC src/mongoc/libmongoc_1_0_la-mongoc-gridfs.lo CC src/mongoc/libmongoc_1_0_la-mongoc-gridfs-file.lo CC src/mongoc/libmongoc_1_0_la-mongoc-gridfs-file-page.lo src/mongoc/mongoc-init.c:38:9: note: #pragma message: Configure the driver with --disable-automatic-init-and-cleanup (if using ./configure) or ENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF (with cmake). Automatic cleanup is deprecated and will be removed in version 2.0. #pragma message("Configure the driver with --disable-automatic-init-and-cleanup\ ^~~~~~~ CC src/mongoc/libmongoc_1_0_la-mongoc-gridfs-file-list.lo CC src/mongoc/libmongoc_1_0_la-mongoc-handshake.lo CC src/mongoc/libmongoc_1_0_la-mongoc-index.lo CC src/mongoc/libmongoc_1_0_la-mongoc-linux-distro-scanner.lo CC src/mongoc/libmongoc_1_0_la-mongoc-list.lo CC src/mongoc/libmongoc_1_0_la-mongoc-log.lo CC src/mongoc/libmongoc_1_0_la-mongoc-matcher-op.lo CC src/mongoc/libmongoc_1_0_la-mongoc-matcher.lo CC src/mongoc/libmongoc_1_0_la-mongoc-memcmp.lo CC src/mongoc/libmongoc_1_0_la-mongoc-opcode.lo CC src/mongoc/libmongoc_1_0_la-mongoc-queue.lo CC src/mongoc/libmongoc_1_0_la-mongoc-read-concern.lo CC src/mongoc/libmongoc_1_0_la-mongoc-read-prefs.lo CC src/mongoc/libmongoc_1_0_la-mongoc-rpc.lo CC src/mongoc/libmongoc_1_0_la-mongoc-server-description.lo CC src/mongoc/libmongoc_1_0_la-mongoc-server-stream.lo CC src/mongoc/libmongoc_1_0_la-mongoc-set.lo CC src/mongoc/libmongoc_1_0_la-mongoc-socket.lo CC src/mongoc/libmongoc_1_0_la-mongoc-stream.lo CC src/mongoc/libmongoc_1_0_la-mongoc-stream-buffered.lo CC src/mongoc/libmongoc_1_0_la-mongoc-stream-file.lo CC src/mongoc/libmongoc_1_0_la-mongoc-stream-gridfs.lo CC src/mongoc/libmongoc_1_0_la-mongoc-stream-socket.lo CC src/mongoc/libmongoc_1_0_la-mongoc-topology.lo CC src/mongoc/libmongoc_1_0_la-mongoc-topology-description.lo CC src/mongoc/libmongoc_1_0_la-mongoc-topology-description-apm.lo CC src/mongoc/libmongoc_1_0_la-mongoc-topology-scanner.lo CC src/mongoc/libmongoc_1_0_la-mongoc-uri.lo In file included from src/mongoc/mongoc-topology-description.c:22:0: src/mongoc/mongoc-topology-description.c: In function 'mongoc_topology_description_select': src/mongoc/mongoc-util-private.h:47:24: warning: implicit declaration of function 'rand_s' [-Wimplicit-function-declaration] # define MONGOC_RAND_R rand_s ^ src/mongoc/mongoc-util-private.h:47:24: note: in definition of macro 'MONGOC_RAND_R' # define MONGOC_RAND_R rand_s ^~~~~~ CC src/mongoc/libmongoc_1_0_la-mongoc-util.lo CC src/mongoc/libmongoc_1_0_la-mongoc-version-functions.lo CC src/mongoc/libmongoc_1_0_la-mongoc-write-command.lo CC src/mongoc/libmongoc_1_0_la-mongoc-write-concern.lo CC src/mongoc/libmongoc_priv_la-mongoc-apm.lo CC src/mongoc/libmongoc_priv_la-mongoc-array.lo CC src/mongoc/libmongoc_priv_la-mongoc-async.lo CC src/mongoc/libmongoc_priv_la-mongoc-async-cmd.lo CC src/mongoc/libmongoc_priv_la-mongoc-buffer.lo CC src/mongoc/libmongoc_priv_la-mongoc-bulk-operation.lo CC src/mongoc/libmongoc_priv_la-mongoc-b64.lo CC src/mongoc/libmongoc_priv_la-mongoc-client.lo CC src/mongoc/libmongoc_priv_la-mongoc-client-pool.lo CC src/mongoc/libmongoc_priv_la-mongoc-cluster.lo CC src/mongoc/libmongoc_priv_la-mongoc-collection.lo CC src/mongoc/libmongoc_priv_la-mongoc-counters.lo CC src/mongoc/libmongoc_priv_la-mongoc-cursor.lo CC src/mongoc/libmongoc_priv_la-mongoc-cursor-array.lo CC src/mongoc/libmongoc_priv_la-mongoc-cursor-cursorid.lo CC src/mongoc/libmongoc_priv_la-mongoc-cursor-transform.lo CC src/mongoc/libmongoc_priv_la-mongoc-database.lo CC src/mongoc/libmongoc_priv_la-mongoc-find-and-modify.lo CC src/mongoc/libmongoc_priv_la-mongoc-host-list.lo CC src/mongoc/libmongoc_priv_la-mongoc-init.lo CC src/mongoc/libmongoc_priv_la-mongoc-gridfs.lo CC src/mongoc/libmongoc_priv_la-mongoc-gridfs-file.lo src/mongoc/mongoc-init.c:38:9: note: #pragma message: Configure the driver with --disable-automatic-init-and-cleanup (if using ./configure) or ENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF (with cmake). Automatic cleanup is deprecated and will be removed in version 2.0. #pragma message("Configure the driver with --disable-automatic-init-and-cleanup\ ^~~~~~~ CC src/mongoc/libmongoc_priv_la-mongoc-gridfs-file-page.lo CC src/mongoc/libmongoc_priv_la-mongoc-gridfs-file-list.lo CC src/mongoc/libmongoc_priv_la-mongoc-handshake.lo CC src/mongoc/libmongoc_priv_la-mongoc-index.lo CC src/mongoc/libmongoc_priv_la-mongoc-linux-distro-scanner.lo CC src/mongoc/libmongoc_priv_la-mongoc-list.lo CC src/mongoc/libmongoc_priv_la-mongoc-log.lo CC src/mongoc/libmongoc_priv_la-mongoc-matcher-op.lo CC src/mongoc/libmongoc_priv_la-mongoc-matcher.lo CC src/mongoc/libmongoc_priv_la-mongoc-memcmp.lo CC src/mongoc/libmongoc_priv_la-mongoc-opcode.lo CC src/mongoc/libmongoc_priv_la-mongoc-queue.lo CC src/mongoc/libmongoc_priv_la-mongoc-read-concern.lo CC src/mongoc/libmongoc_priv_la-mongoc-read-prefs.lo CC src/mongoc/libmongoc_priv_la-mongoc-rpc.lo CC src/mongoc/libmongoc_priv_la-mongoc-server-description.lo CC src/mongoc/libmongoc_priv_la-mongoc-server-stream.lo CC src/mongoc/libmongoc_priv_la-mongoc-set.lo CC src/mongoc/libmongoc_priv_la-mongoc-socket.lo CC src/mongoc/libmongoc_priv_la-mongoc-stream.lo CC src/mongoc/libmongoc_priv_la-mongoc-stream-buffered.lo CC src/mongoc/libmongoc_priv_la-mongoc-stream-file.lo CC src/mongoc/libmongoc_priv_la-mongoc-stream-gridfs.lo CC src/mongoc/libmongoc_priv_la-mongoc-stream-socket.lo CC src/mongoc/libmongoc_priv_la-mongoc-topology.lo CC src/mongoc/libmongoc_priv_la-mongoc-topology-description.lo CC src/mongoc/libmongoc_priv_la-mongoc-topology-description-apm.lo CC src/mongoc/libmongoc_priv_la-mongoc-topology-scanner.lo CC src/mongoc/libmongoc_priv_la-mongoc-uri.lo In file included from src/mongoc/mongoc-topology-description.c:22:0: src/mongoc/mongoc-topology-description.c: In function 'mongoc_topology_description_select': src/mongoc/mongoc-util-private.h:47:24: warning: implicit declaration of function 'rand_s' [-Wimplicit-function-declaration] # define MONGOC_RAND_R rand_s ^ src/mongoc/mongoc-util-private.h:47:24: note: in definition of macro 'MONGOC_RAND_R' # define MONGOC_RAND_R rand_s ^~~~~~ CC src/mongoc/libmongoc_priv_la-mongoc-util.lo CC src/mongoc/libmongoc_priv_la-mongoc-version-functions.lo CC src/mongoc/libmongoc_priv_la-mongoc-write-command.lo CC src/mongoc/libmongoc_priv_la-mongoc-write-concern.lo CC src/tools/mongoc_stat-mongoc-stat.o CC tests/test_load-test-load.o CC tests/test_load-mongoc-tests.o CC tests/test_secondary-test-secondary.o CC tests/test_secondary-mongoc-tests.o CC tests/test_replica_set-test-replica-set.o CC tests/test_replica_set-ha-test.o CC tests/test_replica_set-mongoc-tests.o CC tests/test_sharded_cluster-test-sharded-cluster.o CC tests/test_sharded_cluster-ha-test.o CC tests/test_sharded_cluster-mongoc-tests.o CC tests/test_libmongoc-debug-stream.o CC tests/test_libmongoc-json-test.o CC tests/mock_server/test_libmongoc-future.o CC tests/mock_server/test_libmongoc-future-functions.o CC tests/mock_server/test_libmongoc-future-value.o CC tests/mock_server/test_libmongoc-mock-server.o CC tests/mock_server/test_libmongoc-mock-rs.o CC tests/mock_server/test_libmongoc-request.o CC tests/mock_server/test_libmongoc-sync-queue.o CC tests/test_libmongoc-test-libmongoc.o CC tests/test_libmongoc-test-bulk.o CC tests/test_libmongoc-test-conveniences.o CC tests/test_libmongoc-test-mongoc-array.o In file included from tests/test-libmongoc.c:29:0: tests/test-libmongoc.c: In function 'gen_collection_name': tests/TestSuite.h:288:21: warning: implicit declaration of function '_getpid' [-Wimplicit-function-declaration] # define gettestpid _getpid ^ tests/TestSuite.h:288:21: note: in definition of macro 'gettestpid' # define gettestpid _getpid ^~~~~~~ CC tests/test_libmongoc-test-mongoc-async.o CC tests/test_libmongoc-test-mongoc-buffer.o CC tests/test_libmongoc-test-mongoc-client.o CC tests/test_libmongoc-test-mongoc-client-pool.o CC tests/test_libmongoc-test-mongoc-cluster.o CC tests/test_libmongoc-test-mongoc-collection.o In file included from tests/test-mongoc-client.c:13:0: tests/test-mongoc-client.c: In function 'gen_test_user': tests/TestSuite.h:288:21: warning: implicit declaration of function '_getpid' [-Wimplicit-function-declaration] # define gettestpid _getpid ^ tests/TestSuite.h:288:21: note: in definition of macro 'gettestpid' # define gettestpid _getpid ^~~~~~~ CC tests/test_libmongoc-test-mongoc-collection-find.o CC tests/test_libmongoc-test-mongoc-collection-find-with-opts.o CC tests/test_libmongoc-test-mongoc-command-monitoring.o In file included from ./src/libbson/src/bson/bson-macros.h:27:0, from ./src/libbson/src/bson/bson-compat.h:38, from ./src/libbson/src/bson/bson.h:23, from ./src/mongoc/mongoc.h:22, from tests/test-mongoc-command-monitoring.c:1: tests/test-mongoc-command-monitoring.c: In function 'test_all_spec_tests': tests/test-mongoc-command-monitoring.c:811:12: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] ASSERT (realpath (JSON_DIR "/command_monitoring", resolved)); ^ tests/test-mongoc-command-monitoring.c:811:4: note: in expansion of macro 'ASSERT' ASSERT (realpath (JSON_DIR "/command_monitoring", resolved)); ^ CC tests/test_libmongoc-test-mongoc-cursor.o CC tests/test_libmongoc-test-mongoc-database.o CC tests/test_libmongoc-test-mongoc-error.o CC tests/test_libmongoc-test-mongoc-exhaust.o CC tests/test_libmongoc-test-mongoc-find-and-modify.o CC tests/test_libmongoc-test-mongoc-gridfs.o CC tests/test_libmongoc-test-mongoc-gridfs-file-page.o CC tests/test_libmongoc-test-mongoc-handshake.o CC tests/test_libmongoc-test-mongoc-log.o CC tests/test_libmongoc-test-mongoc-linux-distro-scanner.o CC tests/test_libmongoc-test-mongoc-list.o CC tests/test_libmongoc-test-mongoc-matcher.o CC tests/test_libmongoc-test-mongoc-max-staleness.o CC tests/test_libmongoc-test-mongoc-queue.o CC tests/test_libmongoc-test-mongoc-read-prefs.o CC tests/test_libmongoc-test-mongoc-rpc.o In file included from ./src/libbson/src/bson/bson-macros.h:27:0, from ./src/libbson/src/bson/bson-compat.h:38, from ./src/libbson/src/bson/bson.h:23, from ./src/mongoc/mongoc.h:22, from tests/test-mongoc-max-staleness.c:1: tests/test-mongoc-max-staleness.c: In function 'test_all_spec_tests': tests/test-mongoc-max-staleness.c:277:12: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] ASSERT (realpath (JSON_DIR "/max_staleness", resolved)); ^ tests/test-mongoc-max-staleness.c:277:4: note: in expansion of macro 'ASSERT' ASSERT (realpath (JSON_DIR "/max_staleness", resolved)); ^ CC tests/test_libmongoc-test-mongoc-socket.o CC tests/test_libmongoc-test-mongoc-sdam.o CC tests/test_libmongoc-test-mongoc-sdam-monitoring.o CC tests/test_libmongoc-test-mongoc-server-selection.o In file included from ./src/libbson/src/bson/bson-macros.h:27:0, from ./src/libbson/src/bson/bson-compat.h:38, from ./src/libbson/src/bson/bson.h:23, from ./src/mongoc/mongoc.h:22, from tests/test-mongoc-sdam.c:1: tests/test-mongoc-sdam.c: In function 'test_all_spec_tests': tests/test-mongoc-sdam.c:157:12: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] ASSERT (realpath (JSON_DIR "/server_discovery_and_monitoring/single", resolved)); ^ tests/test-mongoc-sdam.c:157:4: note: in expansion of macro 'ASSERT' ASSERT (realpath (JSON_DIR "/server_discovery_and_monitoring/single", resolved)); ^ CC tests/test_libmongoc-test-mongoc-server-selection-errors.o CC tests/test_libmongoc-test-mongoc-set.o In file included from ./src/libbson/src/bson/bson-macros.h:27:0, from ./src/libbson/src/bson/bson-compat.h:38, from ./src/libbson/src/bson/bson.h:23, from ./src/mongoc/mongoc.h:22, from tests/test-mongoc-sdam-monitoring.c:1: tests/test-mongoc-sdam-monitoring.c: In function 'test_all_spec_tests': tests/test-mongoc-sdam-monitoring.c:453:12: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] ASSERT (realpath (JSON_DIR "/server_discovery_and_monitoring/monitoring", ^ tests/test-mongoc-sdam-monitoring.c:453:4: note: in expansion of macro 'ASSERT' ASSERT (realpath (JSON_DIR "/server_discovery_and_monitoring/monitoring", ^ CC tests/test_libmongoc-test-mongoc-stream.o In file included from ./src/libbson/src/bson/bson-macros.h:27:0, from ./src/libbson/src/bson/bson-compat.h:38, from ./src/libbson/src/bson/bson.h:23, from ./src/mongoc/mongoc.h:22, from tests/test-mongoc-server-selection.c:1: tests/test-mongoc-server-selection.c: In function 'test_all_spec_tests': tests/test-mongoc-server-selection.c:57:12: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] ASSERT (realpath (JSON_DIR "/server_selection/rtt", resolved)); ^ tests/test-mongoc-server-selection.c:57:4: note: in expansion of macro 'ASSERT' ASSERT (realpath (JSON_DIR "/server_selection/rtt", resolved)); ^ CC tests/test_libmongoc-test-mongoc-thread.o CC tests/test_libmongoc-test-mongoc-topology-reconcile.o CC tests/test_libmongoc-test-mongoc-topology-scanner.o CC tests/test_libmongoc-test-mongoc-topology.o CC tests/test_libmongoc-test-mongoc-topology-description.o CC tests/test_libmongoc-test-mongoc-uri.o CC tests/test_libmongoc-test-mongoc-usleep.o CC tests/test_libmongoc-test-mongoc-util.o CC tests/test_libmongoc-test-mongoc-version.o CC tests/test_libmongoc-test-mongoc-write-concern.o CC tests/test_libmongoc-test-write-commands.o CC tests/test_libmongoc-TestSuite.o CC examples/example_gridfs-example-gridfs.o CC examples/mongoc_dump-mongoc-dump.o tests/TestSuite.c: In function '_print_getlasterror_win': tests/TestSuite.c:409:7: warning: passing argument 5 of 'FormatMessageA' from incompatible pointer type [-Wincompatible-pointer-types] &err_msg, ^ In file included from c:/mingw-w64/x86_64-6.2.0-posix-sjlj-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/windows.h:70:0, from c:/mingw-w64/x86_64-6.2.0-posix-sjlj-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/winsock2.h:23, from ./src/libbson/src/bson/bson-compat.h:51, from ./src/libbson/src/bson/bson.h:23, from tests/TestSuite.c:17: c:/mingw-w64/x86_64-6.2.0-posix-sjlj-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/winbase.h:1342:27: note: expected 'LPSTR {aka char *}' but argument is of type 'CHAR ** {aka char **}' WINBASEAPI DWORD WINAPI FormatMessageA (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPSTR lpBuffer, DWORD nSize, va_list *Arguments); ^~~~~~~~~~~~~~ CC examples/filter_bsondump-filter-bsondump.o CC examples/example_command_monitoring-example-command-monitoring.o CC examples/example_sdam_monitoring-example-sdam-monitoring.o CC examples/example_client-example-client.o CC examples/example_pool-example-pool.o CC examples/example_command_with_opts-example-command-with-opts.o CC examples/example_scram-example-scram.o CC examples/mongoc_ping-mongoc-ping.o examples/example-pool.c: In function 'main': examples/example-pool.c:80:4: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep (10); ^~~~~ CC examples/mongoc_tail-mongoc-tail.o CC examples/find_and_modify-find-and-modify.o CC examples/example_matcher-example-matcher.o CC examples/bulk/bulk1-bulk1.o CC examples/bulk/bulk2-bulk2.o CC examples/bulk/bulk3-bulk3.o CC examples/bulk/bulk4-bulk4.o CC examples/bulk/bulk5-bulk5.o CC examples/bulk/bulk_collation-bulk-collation.o CC examples/bulk/bulk6-bulk6.o CC examples/aggregation/aggregation1-aggregation1.o CC examples/find_and_modify_with_opts/fam-fam.o CCLD libmongoc-1.0.la CCLD libmongoc-priv.la CCLD mongoc-stat.exe CCLD test-load.exe CCLD test-secondary.exe CCLD test-replica-set.exe CCLD test-sharded-cluster.exe CCLD test-libmongoc.exe CCLD example-gridfs.exe CCLD mongoc-dump.exe CCLD filter-bsondump.exe CCLD example-command-monitoring.exe CCLD example-sdam-monitoring.exe CCLD example-client.exe tests/test_libmongoc-test-mongoc-command-monitoring.o:test-mongoc-command-monitoring.c:(.text+0x239c): undefined reference to `realpath' tests/test_libmongoc-test-mongoc-max-staleness.o:test-mongoc-max-staleness.c:(.text+0xc9c): undefined reference to `realpath' tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x1c): undefined reference to `realpath' tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x45): undefined reference to `realpath' tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x6e): undefined reference to `realpath' tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x93): more undefined references to `realpath' follow collect2.exe: error: ld returned 1 exit status make[1]: *** [test-libmongoc.exe] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/d/Libraries/Unpacked/mongo/mongo-c-driver-1.5.0' make: *** [all-recursive] Error 1