问题描述
我尝试在我的 ARM Mac 上构建 WebKit GTK,但链接过程失败:
Undefined symbols for architecture arm64:
"_u_charDirection_67",referenced from:
WTF::StringImpl::stripwhiteSpace() in libWTFGTK.a(StringImpl.cpp.o)
WTF::StringImpl::simplifyWhiteSpace() in libWTFGTK.a(StringImpl.cpp.o)
WTF::StringImpl::defaultWritingDirection(bool*) in libWTFGTK.a(StringImpl.cpp.o)
int WTF::toIntegralType<int,char16_t>(char16_t const*,unsigned long,bool*,int) in libWTFGTK.a(WTFString.cpp.o)
unsigned int WTF::toIntegralType<unsigned int,int) in libWTFGTK.a(WTFString.cpp.o)
long long WTF::toIntegralType<long long,int) in libWTFGTK.a(WTFString.cpp.o)
unsigned long long WTF::toIntegralType<unsigned long long,int) in libWTFGTK.a(WTFString.cpp.o)
...
"_u_foldCase_67",referenced from:
WTF::StringImpl::foldCase() in libWTFGTK.a(StringImpl.cpp.o)
"_u_strFoldCase_67",referenced from:
WTF::StringImpl::foldCase() in libWTFGTK.a(StringImpl.cpp.o)
"_u_strToLower_67",referenced from:
WTF::StringImpl::convertToLowercaseWithoutLocale() in libWTFGTK.a(StringImpl.cpp.o)
WTF::StringImpl::convertToLowercaseWithLocale(WTF::AtomString const&) in libWTFGTK.a(StringImpl.cpp.o)
"_u_strtoupper_67",referenced from:
WTF::StringImpl::converttouppercaseWithoutLocale() in libWTFGTK.a(StringImpl.cpp.o)
...
WTF::normalizednFC(WTF::StringView) in libWTFGTK.a(StringView.cpp.o)
"_unorm2_isnormalized_67",referenced from:
WTF::normalizednFC(WTF::StringView) in libWTFGTK.a(StringView.cpp.o)
"_unorm2_normalize_67",referenced from:
WTF::normalizednFC(WTF::StringView) in libWTFGTK.a(StringView.cpp.o)
"_utext_close_67",referenced from:
WTF::setTextForIterator(UBreakIterator&,WTF::StringView) in libWTFGTK.a(TextBreakIterator.cpp.o)
WTF::acquireLineBreakIterator(WTF::StringView,WTF::AtomString const&,char16_t const*,unsigned int,WTF::LineBreakIteratorMode) in libWTFGTK.a(TextBreakIterator.cpp.o)
WTF::TextBreakIteratorICU::TextBreakIteratorICU(WTF::StringView,WTF::TextBreakIteratorICU::Mode,char const*) in libWTFGTK.a(TextBreakIterator.cpp.o)
"_utext_setup_67",referenced from:
WTF::openlatin1UTextProvider(WTF::UTextWithBuffer*,unsigned char const*,UErrorCode*) in libWTFGTK.a(UTextProviderlatin1.cpp.o)
WTF::openlatin1ContextAwareUTextProvider(WTF::UTextWithBuffer*,int,UErrorCode*) in libWTFGTK.a(UTextProviderlatin1.cpp.o)
WTF::uTextlatin1Clone(UText*,UText const*,signed char,UErrorCode*) in libWTFGTK.a(UTextProviderlatin1.cpp.o)
WTF::openUTF16ContextAwareUTextProvider(UText*,UErrorCode*) in libWTFGTK.a(UTextProviderUTF16.cpp.o)
WTF::uTextCloneImpl(UText*,UErrorCode*) in libWTFGTK.a(UTextProvider.cpp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command Failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/WebKitWebDriver] Error 1
我不确定为什么会发生这种情况。它在我的 Intel Mac 上编译得很好。有关如何解决此问题的任何想法?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)