[webkit-help] ICU link error in windows

huangxueqing huangxueqing at baidu.com
Mon Feb 27 05:30:42 PST 2012


Hi all:
    I built webkit in three windows computer with cygwin, and only one success,  WebkitSupportLibrary.zip has been installed correctly.  It seems ICU46 link error(libicuuin.lib and libicuuc.lib were found correctly), i replaced WebkitLibraries/win/include/unicode/* and WebkitLibraries/win/lib/(libicuuc.lib, libicuin.lib) with icu40 would be fine. It made me confusion. Any one can explain it? thanks. The link error output as follow:

DatePrototype.obj : error LNK2019: unresolved external symbol _udat_close_46 referenced in function "class JSC::JSCell * __cdecl JSC::formatLocaleDate(class JSC::ExecState *,class JSC::DateInstance *,double,enum JSC::LocaleDateTimeFormat)" (?formatLocaleDate at JSC@@YAPAVJSCell at 1@PAVExecState at 1@PAVDateInstance at 1@NW4LocaleDateTimeFormat at 1@@Z)
DatePrototype.obj : error LNK2019: unresolved external symbol _udat_format_46 referenced in function "class JSC::JSCell * __cdecl JSC::formatLocaleDate(class JSC::ExecState *,class JSC::DateInstance *,double,enum JSC::LocaleDateTimeFormat)" (?formatLocaleDate at JSC@@YAPAVJSCell at 1@PAVExecState at 1@PAVDateInstance at 1@NW4LocaleDateTimeFormat at 1@@Z)
DatePrototype.obj : error LNK2019: unresolved external symbol _udat_open_46 referenced in function "class JSC::JSCell * __cdecl JSC::formatLocaleDate(class JSC::ExecState *,class JSC::DateInstance *,double,enum JSC::LocaleDateTimeFormat)" (?formatLocaleDate at JSC@@YAPAVJSCell at 1@PAVExecState at 1@PAVDateInstance at 1@NW4LocaleDateTimeFormat at 1@@Z)
FunctionPrototype.obj : error LNK2019: unresolved external symbol _u_charType_46 referenced in function "bool __cdecl WTF::Unicode::isSeparatorSpace(int)" (?isSeparatorSpace at Unicode@WTF@@YA_NH at Z)
JSGlobalObjectFunctions.obj : error LNK2001: unresolved external symbol _u_charType_46
Lexer.obj : error LNK2001: unresolved external symbol _u_charType_46
YarrInterpreter.obj : error LNK2019: unresolved external symbol _u_tolower_46 referenced in function "int __cdecl WTF::Unicode::toLower(int)" (?toLower at Unicode@WTF@@YAHH at Z)
YarrJIT.obj : error LNK2001: unresolved external symbol _u_tolower_46
YarrPattern.obj : error LNK2001: unresolved external symbol _u_tolower_46
WTF.lib(StringImpl.obj) : error LNK2001: unresolved external symbol _u_tolower_46
YarrInterpreter.obj : error LNK2019: unresolved external symbol _u_toupper_46 referenced in function "int __cdecl WTF::Unicode::toUpper(int)" (?toUpper at Unicode@WTF@@YAHH at Z)
YarrJIT.obj : error LNK2001: unresolved external symbol _u_toupper_46
YarrPattern.obj : error LNK2001: unresolved external symbol _u_toupper_46
WTF.lib(StringImpl.obj) : error LNK2001: unresolved external symbol _u_toupper_46
WTF.lib(StringImpl.obj) : error LNK2019: unresolved external symbol _u_strToLower_46 referenced in function "int __cdecl WTF::Unicode::toLower(wchar_t *,int,wchar_t const *,int,bool *)" (?toLower at Unicode@WTF@@YAHPA_WHPB_WHPA_N at Z)
WTF.lib(StringImpl.obj) : error LNK2019: unresolved external symbol _u_strToUpper_46 referenced in function "int __cdecl WTF::Unicode::toUpper(wchar_t *,int,wchar_t const *,int,bool *)" (?toUpper at Unicode@WTF@@YAHPA_WHPB_WHPA_N at Z)
WTF.lib(StringImpl.obj) : error LNK2019: unresolved external symbol _u_strFoldCase_46 referenced in function "int __cdecl WTF::Unicode::foldCase(wchar_t *,int,wchar_t const *,int,bool *)" (?foldCase at Unicode@WTF@@YAHPA_WHPB_WHPA_N at Z)
WTF.lib(StringImpl.obj) : error LNK2019: unresolved external symbol _u_foldCase_46 referenced in function "int __cdecl WTF::Unicode::foldCase(int)" (?foldCase at Unicode@WTF@@YAHH at Z)
WTF.lib(StringImpl.obj) : error LNK2019: unresolved external symbol _u_memcasecmp_46 referenced in function "int __cdecl WTF::Unicode::umemcasecmp(wchar_t const *,wchar_t const *,int)" (?umemcasecmp at Unicode@WTF@@YAHPB_W0H at Z)
WTF.lib(StringImpl.obj) : error LNK2019: unresolved external symbol _u_charDirection_46 referenced in function "enum WTF::Unicode::Direction __cdecl WTF::Unicode::direction(int)" (?direction at Unicode@WTF@@YA?AW4Direction at 12@H at Z)
WTF.lib(WTFString.obj) : error LNK2001: unresolved external symbol _u_charDirection_46
WTF.lib(CollatorICU.obj) : error LNK2019: unresolved external symbol _ucol_strcoll_46 referenced in function "public: enum WTF::Collator::Result __thiscall WTF::Collator::collate(wchar_t const *,unsigned int,wchar_t const *,unsigned int)const " (?collate at Collator@WTF@@QBE?AW4Result at 12@PB_WI0I at Z)
WTF.lib(CollatorICU.obj) : error LNK2019: unresolved external symbol _ucol_setAttribute_46 referenced in function "private: void __thiscall WTF::Collator::createCollator(void)const " (?createCollator at Collator@WTF@@ABEXXZ)
WTF.lib(CollatorICU.obj) : error LNK2019: unresolved external symbol _ucol_open_46 referenced in function "private: void __thiscall WTF::Collator::createCollator(void)const " (?createCollator at Collator@WTF@@ABEXXZ)
WTF.lib(CollatorICU.obj) : error LNK2019: unresolved external symbol _ucol_getAttribute_46 referenced in function "private: void __thiscall WTF::Collator::createCollator(void)const " (?createCollator at Collator@WTF@@ABEXXZ)
WTF.lib(CollatorICU.obj) : error LNK2019: unresolved external symbol _ucol_getLocaleByType_46 referenced in function "private: void __thiscall WTF::Collator::createCollator(void)const " (?createCollator at Collator@WTF@@ABEXXZ)
WTF.lib(CollatorICU.obj) : error LNK2019: unresolved external symbol _ucol_close_46 referenced in function "private: void __thiscall WTF::Collator::releaseCollator(void)" (?releaseCollator at Collator@WTF@@AAEXXZ)
E:\webkit\WebKitBuild\Debug\bin\JavaScriptCore.dll : fatal error LNK1120: 18 unresolved externals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120227/8f1fffd5/attachment-0001.html>


More information about the webkit-help mailing list