-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:PHP 7.1.1 for Windows x64
I observed the following build warnings when linking compiled libmongocrypt object files into the shared DLL build of the PHP driver:
C:\php-sdk\phpdev\vc14\x64\php-7.1.1-src> configure --disable-all --with-openssl --enable-cli --enable-json --enable-mongodb=shared --with-mongodb-sasl --with-mongodb-client-side-encryption
Creating library C:\php-sdk\phpdev\vc14\x64\php-7.1.1-src\x64\Release_TS\php_mongodb.lib and object C:\php-sdk\phpdev\vc14\x64\php-7.1.1-src\x64\Release_TS\php_mongodb.exp mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_opt_new imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_opt_destroy imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_opt_set_connection_close imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_opt_set_crypto_hooks imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_destroy imported in function _mongocrypt_kms_ctx_cleanup mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_get_error imported in function _mongocrypt_kms_ctx_init_aws_decrypt kms_caller_identity_request.obj : warning LNK4049: locally defined symbol kms_request_get_error imported kms_decrypt_request.obj : warning LNK4217: locally defined symbol kms_request_get_error imported in function kms_decrypt_request_new kms_encrypt_request.obj : warning LNK4217: locally defined symbol kms_request_get_error imported in function kms_encrypt_request_new mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_set_region imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_set_service imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_set_access_key_id imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_set_secret_key imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_add_header_field imported in function _mongocrypt_kms_ctx_init_aws_decrypt kms_caller_identity_request.obj : warning LNK4049: locally defined symbol kms_request_add_header_field imported kms_decrypt_request.obj : warning LNK4049: locally defined symbol kms_request_add_header_field imported kms_encrypt_request.obj : warning LNK4049: locally defined symbol kms_request_add_header_field imported mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_request_get_signed imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_get_body imported in function mongocrypt_kms_ctx_feed mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_destroy imported in function mongocrypt_kms_ctx_feed kms_response_parser.obj : warning LNK4049: locally defined symbol kms_response_destroy imported mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_new imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_wants_bytes imported in function mongocrypt_kms_ctx_bytes_needed mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_feed imported in function mongocrypt_kms_ctx_feed mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_get_response imported in function mongocrypt_kms_ctx_feed mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_status imported in function mongocrypt_kms_ctx_feed mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_error imported in function mongocrypt_kms_ctx_feed mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_response_parser_destroy imported in function _mongocrypt_kms_ctx_cleanup mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_decrypt_request_new imported in function _mongocrypt_kms_ctx_init_aws_decrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_encrypt_request_new imported in function _mongocrypt_kms_ctx_init_aws_encrypt mongocrypt-kms-ctx.obj : warning LNK4217: locally defined symbol kms_message_b64_pton imported in function mongocrypt_kms_ctx_feed mongocrypt.obj : warning LNK4217: locally defined symbol kms_message_init imported in function _mongocrypt_do_init kms_caller_identity_request.obj : warning LNK4217: locally defined symbol kms_request_new imported in function kms_caller_identity_request_new kms_decrypt_request.obj : warning LNK4217: locally defined symbol kms_request_new imported in function kms_decrypt_request_new kms_encrypt_request.obj : warning LNK4217: locally defined symbol kms_request_new imported in function kms_encrypt_request_new kms_caller_identity_request.obj : warning LNK4217: locally defined symbol kms_request_append_payload imported in function kms_caller_identity_request_new kms_decrypt_request.obj : warning LNK4217: locally defined symbol kms_request_append_payload imported in function kms_decrypt_request_new kms_encrypt_request.obj : warning LNK4217: locally defined symbol kms_request_append_payload imported in function kms_encrypt_request_new kms_response_parser.obj : warning LNK4049: locally defined symbol kms_request_str_new imported kms_caller_identity_request.obj : warning LNK4217: locally defined symbol kms_request_str_new imported in function kms_caller_identity_request_new kms_decrypt_request.obj : warning LNK4217: locally defined symbol kms_request_str_new imported in function kms_decrypt_request_new kms_encrypt_request.obj : warning LNK4217: locally defined symbol kms_request_str_new imported in function kms_encrypt_request_new kms_request.obj : warning LNK4049: locally defined symbol kms_request_str_new imported kms_request.obj : warning LNK4049: locally defined symbol kms_request_str_destroy imported kms_response.obj : warning LNK4049: locally defined symbol kms_request_str_destroy imported kms_response_parser.obj : warning LNK4049: locally defined symbol kms_request_str_destroy imported kms_caller_identity_request.obj : warning LNK4217: locally defined symbol kms_request_str_destroy imported in function kms_caller_identity_request_new kms_decrypt_request.obj : warning LNK4049: locally defined symbol kms_request_str_destroy imported kms_encrypt_request.obj : warning LNK4049: locally defined symbol kms_request_str_destroy imported kms_kv_list.obj : warning LNK4217: locally defined symbol kms_request_str_destroy imported in function kms_kv_list_add kms_caller_identity_request.obj : warning LNK4217: locally defined symbol kms_request_str_appendf imported in function kms_caller_identity_request_new kms_decrypt_request.obj : warning LNK4217: locally defined symbol kms_request_str_appendf imported in function kms_decrypt_request_new kms_encrypt_request.obj : warning LNK4217: locally defined symbol kms_request_str_appendf imported in function kms_encrypt_request_new kms_request.obj : warning LNK4049: locally defined symbol kms_request_str_appendf imported kms_decrypt_request.obj : warning LNK4217: locally defined symbol kms_message_b64_ntop imported in function kms_decrypt_request_new kms_encrypt_request.obj : warning LNK4217: locally defined symbol kms_message_b64_ntop imported in function kms_encrypt_request_new kms_kv_list.obj : warning LNK4217: locally defined symbol kms_request_str_dup imported in function kms_kv_list_add kms_request.obj : warning LNK4049: locally defined symbol kms_request_str_dup imported kms_message.obj : warning LNK4217: locally defined symbol kms_message_b64_initialize_rmap imported in function kms_message_init kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_new_from_chars imported in function kms_request_new kms_response_parser.obj : warning LNK4049: locally defined symbol kms_request_str_new_from_chars imported kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_wrap imported in function kms_request_get_string_to_sign kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_detach imported in function kms_request_get_canonical kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_set_chars imported in function kms_request_set_date kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append imported in function kms_request_get_canonical kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_char imported in function kms_request_get_string_to_sign kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_chars imported in function kms_request_append_header_field_value kms_response_parser.obj : warning LNK4049: locally defined symbol kms_request_str_append_chars imported kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_newline imported in function kms_request_get_canonical kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_lowercase imported in function append_canonical_headers kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_escaped imported in function kms_request_get_canonical kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_stripped imported in function append_canonical_headers kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_hashed imported in function kms_request_get_canonical kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_append_hex imported in function kms_request_get_signature kms_request.obj : warning LNK4217: locally defined symbol kms_request_str_path_normalized imported in function kms_request_get_canonical EXT mongodb build complete