<div> </div><div> </div><div>08.03.2017, 02:58, "Patrick Wright" &lt;wrightpt@gmail.com&gt;:</div><blockquote type="cite"><div><div style="color:rgb(68,68,68);">I wanted to show log messages received when trying to build javascriptcore. Its mainly due to unicode. But I am not sure how to solve these. I read what may be happening is that it is using the unicode on my machine, Ubuntu 14 64bit,  and referencing them for the target. I have tried including unicode header files that the NDK uses, from libicu,  but that does not change anything.</div></div></blockquote><div><br />You are using headers from one version of ICU but linking the different one</div><div> </div><blockquote type="cite"><div><div style="color:rgb(68,68,68);"><br /><br /><br /> [1088/1088] Linking CXX shared library lib/libJavaScriptCore.so<br />  FAILED: : &amp;&amp; /home/c/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++  --target=armv7-none-linux-androideabi --gcc-toolchain=/home/c/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/home/c/Android/Sdk/ndk-bundle/platforms/android-22/arch-arm -fPIC -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security  -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security   -fno-exceptions -fno-strict-aliasing -fno-rtti -std=c++1y -fcolor-diagnostics -gsplit-dwarf -Qunused-arguments -O0 -fno-limit-debug-info -O0 -fno-limit-debug-info  -Wl,--no-undefined -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,nocopyreloc -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,nocopyreloc  -fuse-ld=gold -Wl,--disable-new-dtags -Wl,--gdb-index -Wl,--gdb-index -shared -Wl,-soname,libJavaScriptCore.so -o lib/libJavaScriptCore.so @CMakeFiles/JavaScriptCore.rsp  &amp;&amp; :<br />  ../../../../Source/WTF/wtf/text/StringImpl.h:1066: error: undefined reference to 'u_charDirection_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/parser/Lexer.cpp:730: error: undefined reference to 'u_charType_55'<br />  ../../../../Source/JavaScriptCore/parser/Lexer.h:240: error: undefined reference to 'u_charType_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/parser/Lexer.cpp:761: error: undefined reference to 'u_charType_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/runtime/DatePrototype.cpp:182: error: undefined reference to 'udat_open_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/runtime/DatePrototype.cpp:188: error: undefined reference to 'udat_format_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/runtime/DatePrototype.cpp:189: error: undefined reference to 'udat_close_55'<br />  ../../../../Source/JavaScriptCore/runtime/ParseInt.h:119: error: undefined reference to 'u_charType_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/runtime/StringPrototype.cpp:2046: error: undefined reference to 'unorm_normalize_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/runtime/StringPrototype.cpp:2060: error: undefined reference to 'unorm_normalize_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/runtime/Watchdog.cpp:161: error: undefined reference to 'WTF::WorkQueue::dispatchAfter(std::chrono::duration&lt;long long, std::ratio&lt;1ll, <span>1000000000</span>ll&gt; &gt;, WTF::Function&lt;void ()&gt;&amp;&amp;)'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/yarr/YarrInterpreter.cpp:1637: error: undefined reference to 'u_tolower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/JavaScriptCore/yarr/YarrInterpreter.cpp:1638: error: undefined reference to 'u_toupper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/MainThread.cpp:108: error: undefined reference to 'WTF::initializeMainThreadPlatform()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/MainThread.cpp:146: error: undefined reference to 'WTF::scheduleDispatchFunctionsOnMainThread()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/MainThread.cpp:165: error: undefined reference to 'WTF::scheduleDispatchFunctionsOnMainThread()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/MainThread.cpp:178: error: undefined reference to 'WTF::scheduleDispatchFunctionsOnMainThread()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/WorkQueue.cpp:49: error: undefined reference to 'WTF::WorkQueue::platformInitialize(char const*, WTF::WorkQueue::Type, WTF::WorkQueue::QOS)'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/WorkQueue.cpp:54: error: undefined reference to 'WTF::WorkQueue::platformInvalidate()'<br />  lib/libWTF.a(lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/WorkQueue.cpp.o):/home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/WorkQueue.cpp:vtable for WTF::WorkQueue: error: undefined reference to 'WTF::WorkQueue::dispatch(WTF::Function&lt;void ()&gt;&amp;&amp;)'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:400: error: undefined reference to 'u_strToLower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:406: error: undefined reference to 'u_strToLower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:428: error: undefined reference to 'u_tolower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:429: error: undefined reference to 'u_tolower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:471: error: undefined reference to 'u_toupper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:472: error: undefined reference to 'u_toupper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:494: error: undefined reference to 'u_toupper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:521: error: undefined reference to 'u_strToUpper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:526: error: undefined reference to 'u_strToUpper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:567: error: undefined reference to 'u_strToLower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:572: error: undefined reference to 'u_strToLower_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:598: error: undefined reference to 'u_strToUpper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:603: error: undefined reference to 'u_strToUpper_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:643: error: undefined reference to 'u_foldCase_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:644: error: undefined reference to 'u_foldCase_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:681: error: undefined reference to 'u_strFoldCase_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:687: error: undefined reference to 'u_strFoldCase_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:996: error: undefined reference to 'u_foldCase_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:1973: error: undefined reference to 'u_charDirection_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringImpl.cpp:1009: error: undefined reference to 'u_memcasecmp_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/StringView.cpp:157: error: undefined reference to 'ubrk_following_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:162: error: undefined reference to 'WTF::currentTextBreakLocaleID()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:71: error: undefined reference to 'ubrk_open_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:72: error: undefined reference to 'u_errorName_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:94: error: undefined reference to 'ubrk_setUText_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:100: error: undefined reference to 'utext_close_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:103: error: undefined reference to 'ubrk_setText_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:171: error: undefined reference to 'WTF::currentTextBreakLocaleID()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:127: error: undefined reference to 'ubrk_setUText_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:133: error: undefined reference to 'utext_close_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:145: error: undefined reference to 'ubrk_setUText_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:151: error: undefined reference to 'utext_close_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:198: error: undefined reference to 'WTF::currentTextBreakLocaleID()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:198: error: undefined reference to 'ubrk_open_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:203: error: undefined reference to 'WTF::currentTextBreakLocaleID()'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:203: error: undefined reference to 'ubrk_open_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:218: error: undefined reference to 'ubrk_close_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:234: error: undefined reference to 'ubrk_close_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:259: error: undefined reference to 'ubrk_getRuleStatus_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:286: error: undefined reference to 'ubrk_next_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:314: error: undefined reference to 'ubrk_next_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/TextBreakIterator.cpp:317: error: undefined reference to 'ubrk_current_55'<br />  ../../../../Source/WTF/wtf/text/icu/TextBreakIteratorICU.h:198: error: undefined reference to 'ubrk_open_55'<br />  ../../../../Source/WTF/wtf/text/icu/TextBreakIteratorICU.h:228: error: undefined reference to 'ubrk_close_55'<br />  ../../../../Source/WTF/wtf/text/icu/TextBreakIteratorICU.h:156: error: undefined reference to 'ubrk_setUText_55'<br />  ../../../../Source/WTF/wtf/text/icu/TextBreakIteratorICU.h:159: error: undefined reference to 'utext_close_55'<br />  ../../../../Source/WTF/wtf/text/LineBreakIteratorPoolICU.h:74: error: undefined reference to 'uloc_setKeywordValue_55'<br />  ../../../../Source/WTF/wtf/text/LineBreakIteratorPoolICU.h:81: error: undefined reference to 'uloc_setKeywordValue_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:221: error: undefined reference to 'utext_setup_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:384: error: undefined reference to 'utext_setup_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:70: error: undefined reference to 'utext_setup_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:174: error: undefined reference to 'utext_setup_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:122: error: undefined reference to 'ucol_open_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:125: error: undefined reference to 'ucol_open_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:129: error: undefined reference to 'ucol_setAttribute_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:132: error: undefined reference to 'ucol_setAttribute_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:143: error: undefined reference to 'ucol_close_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:244: error: undefined reference to 'uiter_setString_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:253: error: undefined reference to 'ucol_strcollIter_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:270: error: undefined reference to 'ucol_strcollIter_55'<br />  /home/c/AndroidStudioProjects/MyApplication/app/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:261: error: undefined reference to 'uiter_setUTF8_55'<br />  clang++: error: linker command failed with exit code 1 (use -v to see invocation)<br />  ninja: build stopped: subcommand failed. </div></div>,<p>_______________________________________________<br />webkit-dev mailing list<br /><a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br /><a href="https://lists.webkit.org/mailman/listinfo/webkit-dev">https://lists.webkit.org/mailman/listinfo/webkit-dev</a></p></blockquote><div> </div><div> </div><div>-- <br />Regards,</div><div>Konstantin</div><div> </div>