Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aws::Crt::ApiAllocator()", referenced from: Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o) #2948

Closed
disa6302 opened this issue May 2, 2024 · 3 comments
Labels
bug This issue is a bug. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.

Comments

@disa6302
Copy link

disa6302 commented May 2, 2024

Describe the bug

I am including this project as a dependency in my C project. Using a cmake build system. When I use the Aws::InitAPI(options); , I see this error.

Undefined symbols for architecture arm64:
  "Aws::Crt::ApiAllocator()", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      ...
  "Aws::Crt::ErrorDebugString(int)", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::ByteCursorFromArray(unsigned char const*, unsigned long)", referenced from:
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<false>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::DefaultEndpointProvider(char const*, unsigned long) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<false>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::DefaultEndpointProvider(char const*, unsigned long) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<true>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::DefaultEndpointProvider(char const*, unsigned long) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<true>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::DefaultEndpointProvider(char const*, unsigned long) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      ...
  "Aws::Crt::ByteCursorFromCString(char const*)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      ...
  "Aws::Crt::Io::TlsContext::TlsContext(Aws::Crt::Io::TlsContextOptions&, Aws::Crt::Io::TlsMode, aws_allocator*)", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::EventLoopGroup::EventLoopGroup(unsigned short, aws_allocator*)", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::EventLoopGroup::~EventLoopGroup()", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::ClientBootstrap::EnableBlockingShutdown()", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::ClientBootstrap::ClientBootstrap(Aws::Crt::Io::EventLoopGroup&, Aws::Crt::Io::HostResolver&, aws_allocator*)", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::ClientBootstrap::~ClientBootstrap()", referenced from:
      std::__1::__shared_ptr_emplace<Aws::Crt::Io::ClientBootstrap, std::__1::allocator<Aws::Crt::Io::ClientBootstrap>>::__on_zero_shared() in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::TlsContextOptions::InitDefaultClient(aws_allocator*)", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::TlsContextOptions::~TlsContextOptions()", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::DefaultHostResolver::DefaultHostResolver(Aws::Crt::Io::EventLoopGroup&, unsigned long, unsigned long, aws_allocator*)", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::DefaultHostResolver::~DefaultHostResolver()", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::TlsConnectionOptions::TlsConnectionOptions(Aws::Crt::Io::TlsConnectionOptions&&)", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Io::TlsConnectionOptions::~TlsConnectionOptions()", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
      std::__1::__shared_ptr_emplace<Aws::Crt::Io::TlsConnectionOptions, std::__1::allocator<Aws::Crt::Io::TlsConnectionOptions>>::__on_zero_shared() in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Auth::Credentials::Credentials(aws_byte_cursor, aws_byte_cursor, aws_byte_cursor, unsigned long long, aws_allocator*)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::Credentials::~Credentials()", referenced from:
      std::__1::__shared_ptr_emplace<Aws::Crt::Auth::Credentials, std::__1::allocator<Aws::Crt::Auth::Credentials>>::__on_zero_shared() in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetService(std::__1::basic_string<char, std::__1::char_traits<char>, Aws::Crt::StlAllocator<char>> const&)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetCredentials(std::__1::shared_ptr<Aws::Crt::Auth::Credentials> const&)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetSignatureType(Aws::Crt::Auth::SignatureType)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetSignedBodyValue(std::__1::basic_string<char, std::__1::char_traits<char>, Aws::Crt::StlAllocator<char>> const&)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetOmitSessionToken(bool)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetSignedBodyHeader(Aws::Crt::Auth::SignedBodyHeaderType)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetSigningAlgorithm(Aws::Crt::Auth::SigningAlgorithm)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetSigningTimepoint(Aws::Crt::DateTime const&)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetUseDoubleUriEncode(bool)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetExpirationInSeconds(unsigned long long)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetShouldNormalizeUriPath(bool)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetShouldSignHeaderCallback(bool (*)(aws_byte_cursor const*, void*))", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetShouldSignHeaderUserData(void*)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::SetRegion(std::__1::basic_string<char, std::__1::char_traits<char>, Aws::Crt::StlAllocator<char>> const&)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::AwsSigningConfig(aws_allocator*)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::AwsSigningConfig::~AwsSigningConfig()", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Auth::Sigv4HttpRequestSigner::Sigv4HttpRequestSigner(aws_allocator*)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Http::HttpMessage::SetBody(std::__1::shared_ptr<std::__1::basic_istream<char, std::__1::char_traits<char>>> const&)", referenced from:
      Aws::Http::HttpRequest::ToCrtHttpRequest() in libaws-cpp-sdk-core.a[13](HttpRequest.cpp.o)
      Aws::Http::HttpRequest::ToCrtHttpRequest() in libaws-cpp-sdk-core.a[13](HttpRequest.cpp.o)
  "Aws::Crt::Http::HttpMessage::AddHeader(aws_http_header const&)", referenced from:
      Aws::Http::HttpRequest::ToCrtHttpRequest() in libaws-cpp-sdk-core.a[13](HttpRequest.cpp.o)
  "Aws::Crt::Http::HttpRequest::SetPath(aws_byte_cursor)", referenced from:
      Aws::Http::HttpRequest::ToCrtHttpRequest() in libaws-cpp-sdk-core.a[13](HttpRequest.cpp.o)
  "Aws::Crt::Http::HttpRequest::SetMethod(aws_byte_cursor)", referenced from:
      Aws::Http::HttpRequest::ToCrtHttpRequest() in libaws-cpp-sdk-core.a[13](HttpRequest.cpp.o)
  "Aws::Crt::Http::HttpRequest::HttpRequest(aws_allocator*)", referenced from:
      Aws::Http::HttpRequest::ToCrtHttpRequest() in libaws-cpp-sdk-core.a[13](HttpRequest.cpp.o)
  "Aws::Crt::DateTime::DateTime(std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l>>> const&)", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::ApiHandle::ApiHandle(aws_allocator*)", referenced from:
      Aws::InitializeCrt() in libaws-cpp-sdk-core.a[7](Globals.cpp.o)
  "Aws::Crt::ApiHandle::~ApiHandle()", referenced from:
      Aws::CleanupCrt() in libaws-cpp-sdk-core.a[7](Globals.cpp.o)
  "Aws::Crt::Endpoints::RuleEngine::RuleEngine(aws_byte_cursor const&, aws_byte_cursor const&, aws_allocator*)", referenced from:
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<false>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::DefaultEndpointProvider(char const*, unsigned long) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<true>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::DefaultEndpointProvider(char const*, unsigned long) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::RuleEngine::~RuleEngine()", referenced from:
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<false>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::~DefaultEndpointProvider() in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::DefaultEndpointProvider<Aws::Client::GenericClientConfiguration<true>, Aws::Endpoint::BuiltInParameters, Aws::Endpoint::ClientContextParameters>::~DefaultEndpointProvider() in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::RequestContext::AddBoolean(aws_byte_cursor const&, bool)", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::RequestContext::AddString(aws_byte_cursor const&, aws_byte_cursor const&)", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::RequestContext::RequestContext(aws_allocator*)", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::RequestContext::~RequestContext()", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::~ResolutionOutcome()", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::LastError()", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Io::TlsContext::NewConnectionOptions() const", referenced from:
      Aws::InitAPI(Aws::SDKOptions const&) in libaws-cpp-sdk-core.a[6](Aws.cpp.o)
  "Aws::Crt::Http::HttpMessage::GetHeaderCount() const", referenced from:
      std::__1::__function::__func<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3, std::__1::allocator<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3>, void (std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int)>::operator()(std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int&&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      std::__1::__function::__func<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3, std::__1::allocator<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3>, void (std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int)>::operator()(std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int&&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Http::HttpMessage::GetHeader(unsigned long) const", referenced from:
      std::__1::__function::__func<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3, std::__1::allocator<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3>, void (std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int)>::operator()(std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int&&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Http::HttpRequest::GetPath() const", referenced from:
      std::__1::__function::__func<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3, std::__1::allocator<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3>, void (std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int)>::operator()(std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int&&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::RuleEngine::Resolve(Aws::Crt::Endpoints::RequestContext const&) const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::GetHeaders() const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::IsEndpoint() const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::GetProperties() const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::GetUrl() const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::IsError() const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "Aws::Crt::Endpoints::ResolutionOutcome::GetError() const", referenced from:
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_aws_byte_cursor_advance", referenced from:
      Aws::Utils::Crypto::CRC32Impl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
  "_aws_checksums_crc32", referenced from:
      Aws::Utils::Crypto::CRC32Impl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Calculate(std::__1::basic_istream<char, std::__1::char_traits<char>>&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32Impl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
  "_aws_checksums_crc32c", referenced from:
      Aws::Utils::Crypto::CRC32CImpl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Calculate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Calculate(std::__1::basic_istream<char, std::__1::char_traits<char>>&) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
      Aws::Utils::Crypto::CRC32CImpl::Update(unsigned char*, unsigned long) in libaws-cpp-sdk-core.a[40](CRC32.cpp.o)
  "_aws_error_str", referenced from:
      std::__1::__function::__func<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3, std::__1::allocator<Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const::$_3>, void (std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int)>::operator()(std::__1::shared_ptr<Aws::Crt::Http::HttpRequest> const&, int&&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_aws_log_subject_name", referenced from:
      Aws::Utils::Logging::s_aws_logger_redirect_log(aws_logger*, aws_log_level, unsigned int, char const*, ...) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_aws_logger_get", referenced from:
      void std::__1::__call_once_proxy[abi:un170006]<std::__1::tuple<Aws::Utils::Logging::SetUpCrtLogsRedirection()::$_10&&>>(void*) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_aws_logger_set", referenced from:
      void std::__1::__call_once_proxy[abi:un170006]<std::__1::tuple<Aws::Utils::Logging::SetUpCrtLogsRedirection()::$_10&&>>(void*) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_aws_mem_acquire", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_aws_mem_release", referenced from:
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Endpoint::ResolveEndpointDefaultImpl(Aws::Crt::Endpoints::RuleEngine const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&, std::__1::vector<Aws::Endpoint::EndpointParameter, std::__1::allocator<Aws::Endpoint::EndpointParameter>> const&) in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      ...
  "_curl_easy_cleanup", referenced from:
      Aws::Http::CurlHandleContainer::~CurlHandleContainer() in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::DestroyCurlHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
  "_curl_easy_getinfo", referenced from:
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      ...
  "_curl_easy_init", referenced from:
      Aws::Http::CurlHandleContainer::CreateCurlHandleInPool() in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
  "_curl_easy_pause", referenced from:
      CurlProgressCallback(void*, long, long, long, long) in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_easy_perform", referenced from:
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_easy_reset", referenced from:
      Aws::Http::CurlHandleContainer::ReleaseCurlHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
  "_curl_easy_setopt", referenced from:
      Aws::Http::CurlHandleContainer::ReleaseCurlHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      Aws::Http::CurlHandleContainer::SetDefaultOptionsOnHandle(void*) in libaws-cpp-sdk-core.a[18](CurlHandleContainer.cpp.o)
      ...
  "_curl_easy_strerror", referenced from:
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_global_cleanup", referenced from:
      Aws::Http::CurlHttpClient::CleanupGlobalState() in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_global_init", referenced from:
      Aws::Http::CurlHttpClient::InitGlobalState() in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_slist_append", referenced from:
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_slist_free_all", referenced from:
      Aws::Http::CurlHttpClient::MakeRequest(std::__1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_curl_version_info", referenced from:
      Aws::Http::CurlHttpClient::InitGlobalState() in libaws-cpp-sdk-core.a[19](CurlHttpClient.cpp.o)
  "_deflate", referenced from:
      Aws::Client::RequestCompression::compress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_deflateEnd", referenced from:
      Aws::Client::RequestCompression::compress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_deflateInit2_", referenced from:
      Aws::Client::RequestCompression::compress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_inflate", referenced from:
      Aws::Client::RequestCompression::uncompress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_inflateEnd", referenced from:
      Aws::Client::RequestCompression::uncompress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::RequestCompression::uncompress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
      Aws::Client::RequestCompression::uncompress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
  "_inflateInit2_", referenced from:
      Aws::Client::RequestCompression::uncompress(std::__1::shared_ptr<std::__1::basic_iostream<char, std::__1::char_traits<char>>>, Aws::Client::CompressionAlgorithm const&) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Expected Behavior

Build should pass

Current Behavior

Build fails at make stage

Reproduction Steps

Cmake file:

cmake_minimum_required(VERSION 3.6.3)
project(libawscpp-download NONE)
include(ExternalProject)

ExternalProject_Add(libawscpp-download
    GIT_REPOSITORY    https://github.com/aws/aws-sdk-cpp.git
    GIT_TAG           1.11.217
    LIST_SEPARATOR    "|"
    CMAKE_ARGS       -DBUILD_SHARED_LIBS=OFF
                     -DENABLE_TESTING=OFF
                     -DBUILD_ONLY=monitoring|logs
                     -DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}
                     -DTARGET_ARCH=APPLE
    BUILD_ALWAYS      TRUE
    TEST_COMMAND      ""
)

Code:

#include <aws/core/Aws.h>
#include "c_wrapper.h"

extern "C" {
AwsSdkHandle aws_sdk_init() {
    Aws::SDKOptions options;
    Aws::InitAPI(options);
    // Return some handle or pointer to indicate success
    return NULL;
}
}
#ifdef __cplusplus
extern "C" {
#endif
    
typedef void* AwsSdkHandle;

AwsSdkHandle aws_sdk_init();
void aws_sdk_cleanup(AwsSdkHandle handle);
void aws_sdk_some_operation(AwsSdkHandle handle);

#ifdef __cplusplus
}
#endif

Linking step:

add_library(c_wrapper c_wrapper.cpp)

add_executable(
        sample
        sample.c)
target_link_libraries(sample
        aws-cpp-sdk-core
        aws-cpp-sdk-monitoring
        aws-cpp-sdk-logs
        c_wrapper)

sample.c

INT32 main(INT32 argc, CHAR* argv[])
{
    STATUS retStatus = STATUS_SUCCESS;

    aws_sdk_init();
}

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### AWS CPP SDK version used

1.11.217

### Compiler and Version used

Apple clang version 15.0.0 (clang-1500.3.9.4)

### Operating System and version

Mac OS M2 - 14.4.1
@disa6302 disa6302 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 2, 2024
@DmitriyMusatkin
Copy link
Contributor

Do you have a whole folder of your sample project? I played around with your snippets a bit and i could not repro the issue. my guess is your code is not declaring dependency on cpp sdk correctly somewhere and linker fails to find symbols.

@DmitriyMusatkin DmitriyMusatkin added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. label May 8, 2024
@jmklix jmklix added p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels May 9, 2024
@disa6302
Copy link
Author

@DmitriyMusatkin ,

I figured out the issue. I was linking aws-sdk-core and instead I needed to use find_package for the build I had set up. This issue can be closed. Thank you!

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Projects
None yet
Development

No branches or pull requests

3 participants