You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a iOS project in Swift. I have "Make" the library but compiling it wit "libc++" as "libstdc++" is deprecated.
The line of code i have changed is 169: platform_cflags = -I$(sdkroot)/usr/include/ -miphoneos-version-min=2.2 -pipe -no-cpp-precomp -isysroot $(sdkroot) -DPLATFORM_MACOSX_GNU -DPLATFORM_IOS
the output for checking that it is libc++ shows: nm libohNetCore.a | c++filt | grep string | head -1 0000000000000110 T OpenHome::Net::CpDeviceCpp::GetAttribute(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const
After setting my xcode I get the following error: Undefined symbols for architecture arm64: "___cxa_guard_abort", referenced from: OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::DviSubscription::Log(OpenHome::IWriter&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableStart(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableEnd(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::DviProtocolUpnp::GetAttribute(char const*, char const**) const in libohNetCore.a(DviProtocolUpnp.o) OpenHome::Net::DviProtocolUpnpServiceXmlWriter::GetRelatedVariableName(OpenHome::Bwh&, OpenHome::Brx const&, OpenHome::Brx const&) in libohNetCore.a(DviProtocolUpnp.o) "___cxa_get_exception_ptr", referenced from: OpenHome::Net::InvocationUpnp::WriteRequest(OpenHome::Uri const&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::MdnsPlatform::Listen() in libohNetCore.a(MdnsPlatform.o) OpenHome::Net::HeaderSoapAction::Process(OpenHome::Brx const&) in libohNetCore.a(DviServerUpnp.o) OpenHome::Net::HeaderCallback::Process(OpenHome::Brx const&) in libohNetCore.a(DviServerUpnp.o) OpenHome::Net::DviSessionUpnp::InvocationReadBool(char const*) in libohNetCore.a(DviServerUpnp.o) "std::out_of_range::~out_of_range()", referenced from: std::__1::map<OpenHome::Brn, unsigned int, OpenHome::BufferCmp, std::__1::allocator<std::__1::pair<OpenHome::Brn const, unsigned int> > >::at(OpenHome::Brn const&) in libohNetCore.a(ShellCommandDebug.o) "std::length_error::~length_error()", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... "typeinfo for std::bad_alloc", referenced from: GCC_except_table0 in libohNetCore.a(OhNetCCombined.o) OpenHome::Environment::Construct(OpenHome::FunctorMsg&) in libohNetCore.a(Env.o) OpenHome::Semaphore::Semaphore(char const*, unsigned int) in libohNetCore.a(Thread.o) OpenHome::Mutex::Mutex(char const*) in libohNetCore.a(Thread.o) "___cxa_guard_acquire", referenced from: OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::DviSubscription::Log(OpenHome::IWriter&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableStart(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableEnd(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::DviProtocolUpnp::GetAttribute(char const*, char const**) const in libohNetCore.a(DviProtocolUpnp.o) OpenHome::Net::DviProtocolUpnpServiceXmlWriter::GetRelatedVariableName(OpenHome::Bwh&, OpenHome::Brx const&, OpenHome::Brx const&) in libohNetCore.a(DviProtocolUpnp.o) "std::bad_alloc::~bad_alloc()", referenced from: OpenHome::Environment::Construct(OpenHome::FunctorMsg&) in libohNetCore.a(Env.o) OpenHome::Semaphore::Semaphore(char const*, unsigned int) in libohNetCore.a(Thread.o) OpenHome::Mutex::Mutex(char const*) in libohNetCore.a(Thread.o) "vtable for __cxxabiv1::__vmi_class_type_info", referenced from: typeinfo for OpenHome::Net::DviDeviceC in libohNetCore.a(DvDeviceC.o) typeinfo for OpenHome::Bwx in libohNetCore.a(Env.o) typeinfo for OpenHome::NetworkAdapter in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Net::DefaultAsyncHandler in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Brv in libohNetCore.a(Buffer.o) typeinfo for OpenHome::Net::CpiService in libohNetCore.a(CpiService.o) typeinfo for OpenHome::Net::DvProvider in libohNetCore.a(DvProvider.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "operator new(unsigned long)", referenced from: _CpDeviceListCreateUpnpAll in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpRoot in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpUuid in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpDeviceType in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpServiceType in libohNetCore.a(CpDeviceUpnpC.o) CpProxyAvOpenhomeOrgCredentials1C::CpProxyAvOpenhomeOrgCredentials1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::BeginSet(OpenHome::Brx const&, OpenHome::Brx const&, OpenHome::Brx const&, OpenHome::Net::FunctorAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "typeinfo for std::exception", referenced from: GCC_except_table24 in libohNetCore.a(DvDeviceC.o) GCC_except_table26 in libohNetCore.a(DvDeviceC.o) GCC_except_table28 in libohNetCore.a(DvDeviceC.o) GCC_except_table31 in libohNetCore.a(DvDeviceC.o) GCC_except_table32 in libohNetCore.a(DvDeviceC.o) GCC_except_table33 in libohNetCore.a(DvDeviceC.o) GCC_except_table35 in libohNetCore.a(DvDeviceC.o) ... "vtable for __cxxabiv1::__si_class_type_info", referenced from: typeinfo for OpenHome::Brh in libohNetCore.a(CpDeviceC.o) typeinfo for SyncSetAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncClearAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncSetEnabledAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncGetAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncLoginAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncReLoginAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from: void std::__1::vector<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*> >::__push_back_slow_path<OpenHome::MListener* const&>(OpenHome::MListener* const&&&) in libohNetCore.a(Env.o) void std::__1::vector<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*> >::__push_back_slow_path<OpenHome::ISuspendObserver*>(OpenHome::ISuspendObserver*&&) in libohNetCore.a(Env.o) void std::__1::vector<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*> >::__push_back_slow_path<OpenHome::IResumeObserver*>(OpenHome::IResumeObserver*&&) in libohNetCore.a(Env.o) void std::__1::vector<char const*, std::__1::allocator<char const*> >::__push_back_slow_path<char const* const&>(char const* const&&&) in libohNetCore.a(OhNet.o) void std::__1::vector<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*> >::__push_back_slow_path<OpenHome::Net::Argument* const&>(OpenHome::Net::Argument* const&&&) in libohNetCore.a(CpiService.o) void std::__1::vector<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction> >::__push_back_slow_path<OpenHome::Net::DvAction const&>(OpenHome::Net::DvAction const&&&) in libohNetCore.a(DviService.o) void std::__1::vector<OpenHome::Net::Property*, std::__1::allocator<OpenHome::Net::Property*> >::__push_back_slow_path<OpenHome::Net::Property* const&>(OpenHome::Net::Property* const&&&) in libohNetCore.a(DviService.o) ... "___cxa_free_exception", referenced from: CpProxyAvOpenhomeOrgCredentials1C::EndSet(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndClear(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndSetEnabled(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGet(OpenHome::Net::IAsync&, OpenHome::Brh&, OpenHome::Brh&, bool&, OpenHome::Brh&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndReLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGetIds(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "operator delete[](void*)", referenced from: CpProxyAvOpenhomeOrgPlaylist1C::CpProxyAvOpenhomeOrgPlaylist1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgPlaylist1C.o) CpProxyAvOpenhomeOrgRadio1C::CpProxyAvOpenhomeOrgRadio1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgRadio1C.o) CpProxyEntotemComRecordlist1C::CpProxyEntotemComRecordlist1C(void*) in libohNetProxies.a(CpEntotemComRecordlist1C.o) CpProxyUpnpOrgAVTransport1C::CpProxyUpnpOrgAVTransport1C(void*) in libohNetProxies.a(CpUpnpOrgAVTransport1C.o) CpProxyUpnpOrgConnectionManager1C::CpProxyUpnpOrgConnectionManager1C(void*) in libohNetProxies.a(CpUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionPrepareForConnection(int (*)(void*, IDvInvocationC*, void*, char const*, char const*, int, char const*, int*, int*, int*), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionGetCurrentConnectionInfo(int (*)(void*, IDvInvocationC*, void*, int, int*, int*, char**, char**, int*, char**, char**), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) ... "std::logic_error::logic_error(char const*)", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... "vtable for __cxxabiv1::__class_type_info", referenced from: typeinfo for OpenHome::Exception in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for OpenHome::Net::CpProxyC in libohNetCore.a(CpProxyC.o) typeinfo for OpenHome::Net::IResourceManager in libohNetCore.a(DvDeviceC.o) typeinfo for OpenHome::IStackObject in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Net::IAsyncOutput in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Net::Service in libohNetCore.a(CpiService.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "___cxa_end_catch", referenced from: _CpProxyAvOpenhomeOrgCredentials1SyncSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncGet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "___cxa_begin_catch", referenced from: ___clang_call_terminate in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "std::terminate()", referenced from: ___clang_call_terminate in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) "std::bad_alloc::bad_alloc()", referenced from: OpenHome::Environment::Construct(OpenHome::FunctorMsg&) in libohNetCore.a(Env.o) OpenHome::Semaphore::Semaphore(char const*, unsigned int) in libohNetCore.a(Thread.o) OpenHome::Mutex::Mutex(char const*) in libohNetCore.a(Thread.o) "___cxa_allocate_exception", referenced from: CpProxyAvOpenhomeOrgCredentials1C::EndSet(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndClear(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndSetEnabled(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGet(OpenHome::Net::IAsync&, OpenHome::Brh&, OpenHome::Brh&, bool&, OpenHome::Brh&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndReLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGetIds(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "typeinfo for std::out_of_range", referenced from: std::__1::map<OpenHome::Brn, unsigned int, OpenHome::BufferCmp, std::__1::allocator<std::__1::pair<OpenHome::Brn const, unsigned int> > >::at(OpenHome::Brn const&) in libohNetCore.a(ShellCommandDebug.o) GCC_except_table16 in libohNetCore.a(ShellCommandDebug.o) "typeinfo for std::length_error", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... "___cxa_throw", referenced from: CpProxyAvOpenhomeOrgCredentials1C::EndSet(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndClear(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndSetEnabled(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGet(OpenHome::Net::IAsync&, OpenHome::Brh&, OpenHome::Brh&, bool&, OpenHome::Brh&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndReLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGetIds(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "___gxx_personality_v0", referenced from: _CpDeviceCGetUdn in libohNetCore.a(CpDeviceC.o) _CpDeviceCGetAttribute in libohNetCore.a(CpDeviceC.o) OpenHome::Brn::Brn(OpenHome::Brx const&) in libohNetCore.a(CpDeviceC.o) OpenHome::Brv::Brv() in libohNetCore.a(CpDeviceC.o) _CpDeviceListCreateUpnpAll in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpRoot in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpUuid in libohNetCore.a(CpDeviceUpnpC.o) ... "operator new[](unsigned long)", referenced from: CpProxyAvOpenhomeOrgPlaylist1C::CpProxyAvOpenhomeOrgPlaylist1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgPlaylist1C.o) CpProxyAvOpenhomeOrgRadio1C::CpProxyAvOpenhomeOrgRadio1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgRadio1C.o) CpProxyEntotemComRecordlist1C::CpProxyEntotemComRecordlist1C(void*) in libohNetProxies.a(CpEntotemComRecordlist1C.o) CpProxyUpnpOrgAVTransport1C::CpProxyUpnpOrgAVTransport1C(void*) in libohNetProxies.a(CpUpnpOrgAVTransport1C.o) CpProxyUpnpOrgConnectionManager1C::CpProxyUpnpOrgConnectionManager1C(void*) in libohNetProxies.a(CpUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionPrepareForConnection(int (*)(void*, IDvInvocationC*, void*, char const*, char const*, int, char const*, int*, int*, int*), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionGetCurrentConnectionInfo(int (*)(void*, IDvInvocationC*, void*, int, int*, int*, char**, char**, int*, char**, char**), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) ... "___cxa_pure_virtual", referenced from: vtable for OpenHome::Brx in libohNetCore.a(CpDeviceC.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgInfo1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgPlaylist1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgProduct1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgRadio1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpEntotemComExtSource1C.o) ... "vtable for std::out_of_range", referenced from: std::__1::map<OpenHome::Brn, unsigned int, OpenHome::BufferCmp, std::__1::allocator<std::__1::pair<OpenHome::Brn const, unsigned int> > >::at(OpenHome::Brn const&) in libohNetCore.a(ShellCommandDebug.o) NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "___cxa_rethrow", referenced from: OpenHome::Net::DviService::Invoke(OpenHome::Net::IDviInvocation&, OpenHome::Brx const&, bool) in libohNetCore.a(DviService.o) OpenHome::Net::CpProxy::EventUpdateEnd() in libohNetCore.a(CpProxy.o) OpenHome::Net::SyncProxyAction::Completed(OpenHome::Net::IAsync&) in libohNetCore.a(AsyncPrivate.o) OpenHome::Net::CpiSubscription::RunInSubscriber() in libohNetCore.a(CpiSubscription.o) OpenHome::Net::CpiSubscription::DoSubscribe() in libohNetCore.a(CpiSubscription.o) OpenHome::Net::CpiSubscription::DoRenew() in libohNetCore.a(CpiSubscription.o) OpenHome::Socket::Close() in libohNetCore.a(Network.o) ... "vtable for std::length_error", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "___cxa_guard_release", referenced from: OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::DviSubscription::Log(OpenHome::IWriter&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableStart(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableEnd(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::DviProtocolUpnp::GetAttribute(char const*, char const**) const in libohNetCore.a(DviProtocolUpnp.o) OpenHome::Net::DviProtocolUpnpServiceXmlWriter::GetRelatedVariableName(OpenHome::Bwh&, OpenHome::Brx const&, OpenHome::Brx const&) in libohNetCore.a(DviProtocolUpnp.o) "operator delete(void*)", referenced from: OpenHome::Brh::~Brh() in libohNetCore.a(CpDeviceC.o) _CpDeviceListCreateUpnpAll in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpRoot in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpUuid in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpDeviceType in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpServiceType in libohNetCore.a(CpDeviceUpnpC.o) CpProxyAvOpenhomeOrgCredentials1C::CpProxyAvOpenhomeOrgCredentials1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Showing first 200 notices only
Am I doing it right?
The text was updated successfully, but these errors were encountered:
reimond
changed the title
Compiling For libc++
Compiling For libc++ iOS
Sep 5, 2018
I am working on a iOS project in Swift. I have "Make" the library but compiling it wit "libc++" as "libstdc++" is deprecated.
The line of code i have changed is 169:
platform_cflags = -I$(sdkroot)/usr/include/ -miphoneos-version-min=2.2 -pipe -no-cpp-precomp -isysroot $(sdkroot) -DPLATFORM_MACOSX_GNU -DPLATFORM_IOS
for
platform_cflags = -I$(sdkroot)/usr/include/ -miphoneos-version-min=7.0 -pipe -no-cpp-precomp -isysroot $(sdkroot) -DPLATFORM_MACOSX_GNU -DPLATFORM_IOS
the output for checking that it is libc++ shows:
nm libohNetCore.a | c++filt | grep string | head -1 0000000000000110 T OpenHome::Net::CpDeviceCpp::GetAttribute(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const
After setting my xcode I get the following error:
Undefined symbols for architecture arm64: "___cxa_guard_abort", referenced from: OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::DviSubscription::Log(OpenHome::IWriter&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableStart(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableEnd(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::DviProtocolUpnp::GetAttribute(char const*, char const**) const in libohNetCore.a(DviProtocolUpnp.o) OpenHome::Net::DviProtocolUpnpServiceXmlWriter::GetRelatedVariableName(OpenHome::Bwh&, OpenHome::Brx const&, OpenHome::Brx const&) in libohNetCore.a(DviProtocolUpnp.o) "___cxa_get_exception_ptr", referenced from: OpenHome::Net::InvocationUpnp::WriteRequest(OpenHome::Uri const&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::MdnsPlatform::Listen() in libohNetCore.a(MdnsPlatform.o) OpenHome::Net::HeaderSoapAction::Process(OpenHome::Brx const&) in libohNetCore.a(DviServerUpnp.o) OpenHome::Net::HeaderCallback::Process(OpenHome::Brx const&) in libohNetCore.a(DviServerUpnp.o) OpenHome::Net::DviSessionUpnp::InvocationReadBool(char const*) in libohNetCore.a(DviServerUpnp.o) "std::out_of_range::~out_of_range()", referenced from: std::__1::map<OpenHome::Brn, unsigned int, OpenHome::BufferCmp, std::__1::allocator<std::__1::pair<OpenHome::Brn const, unsigned int> > >::at(OpenHome::Brn const&) in libohNetCore.a(ShellCommandDebug.o) "std::length_error::~length_error()", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... "typeinfo for std::bad_alloc", referenced from: GCC_except_table0 in libohNetCore.a(OhNetCCombined.o) OpenHome::Environment::Construct(OpenHome::FunctorMsg&) in libohNetCore.a(Env.o) OpenHome::Semaphore::Semaphore(char const*, unsigned int) in libohNetCore.a(Thread.o) OpenHome::Mutex::Mutex(char const*) in libohNetCore.a(Thread.o) "___cxa_guard_acquire", referenced from: OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::DviSubscription::Log(OpenHome::IWriter&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableStart(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableEnd(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::DviProtocolUpnp::GetAttribute(char const*, char const**) const in libohNetCore.a(DviProtocolUpnp.o) OpenHome::Net::DviProtocolUpnpServiceXmlWriter::GetRelatedVariableName(OpenHome::Bwh&, OpenHome::Brx const&, OpenHome::Brx const&) in libohNetCore.a(DviProtocolUpnp.o) "std::bad_alloc::~bad_alloc()", referenced from: OpenHome::Environment::Construct(OpenHome::FunctorMsg&) in libohNetCore.a(Env.o) OpenHome::Semaphore::Semaphore(char const*, unsigned int) in libohNetCore.a(Thread.o) OpenHome::Mutex::Mutex(char const*) in libohNetCore.a(Thread.o) "vtable for __cxxabiv1::__vmi_class_type_info", referenced from: typeinfo for OpenHome::Net::DviDeviceC in libohNetCore.a(DvDeviceC.o) typeinfo for OpenHome::Bwx in libohNetCore.a(Env.o) typeinfo for OpenHome::NetworkAdapter in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Net::DefaultAsyncHandler in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Brv in libohNetCore.a(Buffer.o) typeinfo for OpenHome::Net::CpiService in libohNetCore.a(CpiService.o) typeinfo for OpenHome::Net::DvProvider in libohNetCore.a(DvProvider.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "operator new(unsigned long)", referenced from: _CpDeviceListCreateUpnpAll in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpRoot in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpUuid in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpDeviceType in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpServiceType in libohNetCore.a(CpDeviceUpnpC.o) CpProxyAvOpenhomeOrgCredentials1C::CpProxyAvOpenhomeOrgCredentials1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::BeginSet(OpenHome::Brx const&, OpenHome::Brx const&, OpenHome::Brx const&, OpenHome::Net::FunctorAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "typeinfo for std::exception", referenced from: GCC_except_table24 in libohNetCore.a(DvDeviceC.o) GCC_except_table26 in libohNetCore.a(DvDeviceC.o) GCC_except_table28 in libohNetCore.a(DvDeviceC.o) GCC_except_table31 in libohNetCore.a(DvDeviceC.o) GCC_except_table32 in libohNetCore.a(DvDeviceC.o) GCC_except_table33 in libohNetCore.a(DvDeviceC.o) GCC_except_table35 in libohNetCore.a(DvDeviceC.o) ... "vtable for __cxxabiv1::__si_class_type_info", referenced from: typeinfo for OpenHome::Brh in libohNetCore.a(CpDeviceC.o) typeinfo for SyncSetAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncClearAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncSetEnabledAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncGetAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncLoginAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for SyncReLoginAvOpenhomeOrgCredentials1C in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from: void std::__1::vector<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*> >::__push_back_slow_path<OpenHome::MListener* const&>(OpenHome::MListener* const&&&) in libohNetCore.a(Env.o) void std::__1::vector<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*> >::__push_back_slow_path<OpenHome::ISuspendObserver*>(OpenHome::ISuspendObserver*&&) in libohNetCore.a(Env.o) void std::__1::vector<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*> >::__push_back_slow_path<OpenHome::IResumeObserver*>(OpenHome::IResumeObserver*&&) in libohNetCore.a(Env.o) void std::__1::vector<char const*, std::__1::allocator<char const*> >::__push_back_slow_path<char const* const&>(char const* const&&&) in libohNetCore.a(OhNet.o) void std::__1::vector<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*> >::__push_back_slow_path<OpenHome::Net::Argument* const&>(OpenHome::Net::Argument* const&&&) in libohNetCore.a(CpiService.o) void std::__1::vector<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction> >::__push_back_slow_path<OpenHome::Net::DvAction const&>(OpenHome::Net::DvAction const&&&) in libohNetCore.a(DviService.o) void std::__1::vector<OpenHome::Net::Property*, std::__1::allocator<OpenHome::Net::Property*> >::__push_back_slow_path<OpenHome::Net::Property* const&>(OpenHome::Net::Property* const&&&) in libohNetCore.a(DviService.o) ... "___cxa_free_exception", referenced from: CpProxyAvOpenhomeOrgCredentials1C::EndSet(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndClear(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndSetEnabled(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGet(OpenHome::Net::IAsync&, OpenHome::Brh&, OpenHome::Brh&, bool&, OpenHome::Brh&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndReLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGetIds(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "operator delete[](void*)", referenced from: CpProxyAvOpenhomeOrgPlaylist1C::CpProxyAvOpenhomeOrgPlaylist1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgPlaylist1C.o) CpProxyAvOpenhomeOrgRadio1C::CpProxyAvOpenhomeOrgRadio1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgRadio1C.o) CpProxyEntotemComRecordlist1C::CpProxyEntotemComRecordlist1C(void*) in libohNetProxies.a(CpEntotemComRecordlist1C.o) CpProxyUpnpOrgAVTransport1C::CpProxyUpnpOrgAVTransport1C(void*) in libohNetProxies.a(CpUpnpOrgAVTransport1C.o) CpProxyUpnpOrgConnectionManager1C::CpProxyUpnpOrgConnectionManager1C(void*) in libohNetProxies.a(CpUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionPrepareForConnection(int (*)(void*, IDvInvocationC*, void*, char const*, char const*, int, char const*, int*, int*, int*), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionGetCurrentConnectionInfo(int (*)(void*, IDvInvocationC*, void*, int, int*, int*, char**, char**, int*, char**, char**), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) ... "std::logic_error::logic_error(char const*)", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... "vtable for __cxxabiv1::__class_type_info", referenced from: typeinfo for OpenHome::Exception in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) typeinfo for OpenHome::Net::CpProxyC in libohNetCore.a(CpProxyC.o) typeinfo for OpenHome::Net::IResourceManager in libohNetCore.a(DvDeviceC.o) typeinfo for OpenHome::IStackObject in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Net::IAsyncOutput in libohNetCore.a(OhNet.o) typeinfo for OpenHome::Net::Service in libohNetCore.a(CpiService.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "___cxa_end_catch", referenced from: _CpProxyAvOpenhomeOrgCredentials1SyncSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncGet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "___cxa_begin_catch", referenced from: ___clang_call_terminate in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSet in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndClear in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1SyncSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) _CpProxyAvOpenhomeOrgCredentials1EndSetEnabled in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "std::terminate()", referenced from: ___clang_call_terminate in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) "std::bad_alloc::bad_alloc()", referenced from: OpenHome::Environment::Construct(OpenHome::FunctorMsg&) in libohNetCore.a(Env.o) OpenHome::Semaphore::Semaphore(char const*, unsigned int) in libohNetCore.a(Thread.o) OpenHome::Mutex::Mutex(char const*) in libohNetCore.a(Thread.o) "___cxa_allocate_exception", referenced from: CpProxyAvOpenhomeOrgCredentials1C::EndSet(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndClear(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndSetEnabled(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGet(OpenHome::Net::IAsync&, OpenHome::Brh&, OpenHome::Brh&, bool&, OpenHome::Brh&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndReLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGetIds(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "typeinfo for std::out_of_range", referenced from: std::__1::map<OpenHome::Brn, unsigned int, OpenHome::BufferCmp, std::__1::allocator<std::__1::pair<OpenHome::Brn const, unsigned int> > >::at(OpenHome::Brn const&) in libohNetCore.a(ShellCommandDebug.o) GCC_except_table16 in libohNetCore.a(ShellCommandDebug.o) "typeinfo for std::length_error", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... "___cxa_throw", referenced from: CpProxyAvOpenhomeOrgCredentials1C::EndSet(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndClear(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndSetEnabled(OpenHome::Net::IAsync&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGet(OpenHome::Net::IAsync&, OpenHome::Brh&, OpenHome::Brh&, bool&, OpenHome::Brh&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndReLogin(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) CpProxyAvOpenhomeOrgCredentials1C::EndGetIds(OpenHome::Net::IAsync&, OpenHome::Brh&) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... "___gxx_personality_v0", referenced from: _CpDeviceCGetUdn in libohNetCore.a(CpDeviceC.o) _CpDeviceCGetAttribute in libohNetCore.a(CpDeviceC.o) OpenHome::Brn::Brn(OpenHome::Brx const&) in libohNetCore.a(CpDeviceC.o) OpenHome::Brv::Brv() in libohNetCore.a(CpDeviceC.o) _CpDeviceListCreateUpnpAll in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpRoot in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpUuid in libohNetCore.a(CpDeviceUpnpC.o) ... "operator new[](unsigned long)", referenced from: CpProxyAvOpenhomeOrgPlaylist1C::CpProxyAvOpenhomeOrgPlaylist1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgPlaylist1C.o) CpProxyAvOpenhomeOrgRadio1C::CpProxyAvOpenhomeOrgRadio1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgRadio1C.o) CpProxyEntotemComRecordlist1C::CpProxyEntotemComRecordlist1C(void*) in libohNetProxies.a(CpEntotemComRecordlist1C.o) CpProxyUpnpOrgAVTransport1C::CpProxyUpnpOrgAVTransport1C(void*) in libohNetProxies.a(CpUpnpOrgAVTransport1C.o) CpProxyUpnpOrgConnectionManager1C::CpProxyUpnpOrgConnectionManager1C(void*) in libohNetProxies.a(CpUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionPrepareForConnection(int (*)(void*, IDvInvocationC*, void*, char const*, char const*, int, char const*, int*, int*, int*), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) DvProviderUpnpOrgConnectionManager1C::EnableActionGetCurrentConnectionInfo(int (*)(void*, IDvInvocationC*, void*, int, int*, int*, char**, char**, int*, char**, char**), void*) in libohNetDevices.a(DvUpnpOrgConnectionManager1C.o) ... "___cxa_pure_virtual", referenced from: vtable for OpenHome::Brx in libohNetCore.a(CpDeviceC.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgInfo1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgPlaylist1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgProduct1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpAvOpenhomeOrgRadio1C.o) vtable for OpenHome::Brx in libohNetProxies.a(CpEntotemComExtSource1C.o) ... "vtable for std::out_of_range", referenced from: std::__1::map<OpenHome::Brn, unsigned int, OpenHome::BufferCmp, std::__1::allocator<std::__1::pair<OpenHome::Brn const, unsigned int> > >::at(OpenHome::Brn const&) in libohNetCore.a(ShellCommandDebug.o) NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "___cxa_rethrow", referenced from: OpenHome::Net::DviService::Invoke(OpenHome::Net::IDviInvocation&, OpenHome::Brx const&, bool) in libohNetCore.a(DviService.o) OpenHome::Net::CpProxy::EventUpdateEnd() in libohNetCore.a(CpProxy.o) OpenHome::Net::SyncProxyAction::Completed(OpenHome::Net::IAsync&) in libohNetCore.a(AsyncPrivate.o) OpenHome::Net::CpiSubscription::RunInSubscriber() in libohNetCore.a(CpiSubscription.o) OpenHome::Net::CpiSubscription::DoSubscribe() in libohNetCore.a(CpiSubscription.o) OpenHome::Net::CpiSubscription::DoRenew() in libohNetCore.a(CpiSubscription.o) OpenHome::Socket::Close() in libohNetCore.a(Network.o) ... "vtable for std::length_error", referenced from: std::__1::__split_buffer<OpenHome::MListener*, std::__1::allocator<OpenHome::MListener*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::MListener*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::ISuspendObserver*, std::__1::allocator<OpenHome::ISuspendObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::ISuspendObserver*>&) in libohNetCore.a(Env.o) std::__1::__split_buffer<OpenHome::IResumeObserver*, std::__1::allocator<OpenHome::IResumeObserver*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::IResumeObserver*>&) in libohNetCore.a(Env.o) std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, void*> > > > std::__1::__tree<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::__map_value_compare<OpenHome::IStackObject*, std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*>, std::__1::less<OpenHome::IStackObject*>, true>, std::__1::allocator<std::__1::__value_type<OpenHome::IStackObject*, OpenHome::IStackObject*> > >::__construct_node<std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*> >(std::__1::pair<OpenHome::IStackObject*, OpenHome::IStackObject*>&&) in libohNetCore.a(Env.o) std::__1::__split_buffer<char const*, std::__1::allocator<char const*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<char const*>&) in libohNetCore.a(OhNet.o) std::__1::__split_buffer<OpenHome::Net::Argument*, std::__1::allocator<OpenHome::Net::Argument*>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::Argument*>&) in libohNetCore.a(CpiService.o) std::__1::__split_buffer<OpenHome::Net::DvAction, std::__1::allocator<OpenHome::Net::DvAction>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<OpenHome::Net::DvAction>&) in libohNetCore.a(DviService.o) ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "___cxa_guard_release", referenced from: OpenHome::Net::OutputProcessorUpnp::ProcessBool(OpenHome::Brx const&, bool&) in libohNetCore.a(ProtocolUpnp.o) OpenHome::Net::DviSubscription::Log(OpenHome::IWriter&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableStart(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::PropertyWriter::WriteVariableEnd(OpenHome::IWriter&, OpenHome::Brx const&) in libohNetCore.a(DviSubscription.o) OpenHome::Net::DviProtocolUpnp::GetAttribute(char const*, char const**) const in libohNetCore.a(DviProtocolUpnp.o) OpenHome::Net::DviProtocolUpnpServiceXmlWriter::GetRelatedVariableName(OpenHome::Bwh&, OpenHome::Brx const&, OpenHome::Brx const&) in libohNetCore.a(DviProtocolUpnp.o) "operator delete(void*)", referenced from: OpenHome::Brh::~Brh() in libohNetCore.a(CpDeviceC.o) _CpDeviceListCreateUpnpAll in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpRoot in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpUuid in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpDeviceType in libohNetCore.a(CpDeviceUpnpC.o) _CpDeviceListCreateUpnpServiceType in libohNetCore.a(CpDeviceUpnpC.o) CpProxyAvOpenhomeOrgCredentials1C::CpProxyAvOpenhomeOrgCredentials1C(void*) in libohNetProxies.a(CpAvOpenhomeOrgCredentials1C.o) ... ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Showing first 200 notices only
Am I doing it right?
The text was updated successfully, but these errors were encountered: