<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Build error when use IPP libs in NDK. in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022525#M38849</link>
    <description>&lt;P&gt;Test code is copy from "Building Android* NDK applications with Intel® Integrated Performance Primitives (Intel® IPP)" : &lt;A href="https://software.intel.com/en-us/android/articles/building-android-ndk-applications-with-intel-ipp"&gt;https://software.intel.com/en-us/android/articles/building-android-ndk-applications-with-intel-ipp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;1. And install the IPP for windows,&lt;/P&gt;

&lt;P&gt;2. copy the include folder to my project.&amp;nbsp;&amp;nbsp; jni/ipp/include&lt;/P&gt;

&lt;P&gt;3. copy the libippcore.a, libippi.a, libipps.a..... to the project,&amp;nbsp; jni/ipp/lib/ia32 .&amp;nbsp;&amp;nbsp; It is strange that the libippcore.a... files are in intel/Composer XE 2013 SP1/ipp/lib/mic,&amp;nbsp; ------&amp;nbsp;Are these files should be in mic folder??????&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The build&amp;nbsp;&amp;nbsp;whole project, It seems the source file build is ok, but failed in linke stage.&lt;/P&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;[x86] SharedLibrary : libIppAdd.so&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;D:/android-ndk-r9d-windows-x86/android-ndk-r9d/toolchains/x86-4.6/prebuilt/windows/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld.exe: fatal error: D:/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/jni/ipp/lib/ia32/libippcore.a(ippinit.o): unsupported ELF machine number 181&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;collect2: ld returned 1 exit status&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/build/core/build-binary.mk:588: recipe for target '/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/obj/local/x86/libIppAdd.so' failed&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;make: *** [/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/obj/local/x86/libIppAdd.so] Error 1&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;What is the reason for this error&amp;nbsp;---libippcore.a(ippinit.o): unsupported ELF machine number 181??&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;Thanks a lot!&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;Br,&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;Haitao&lt;/DIV&gt;</description>
    <pubDate>Wed, 13 Aug 2014 07:26:38 GMT</pubDate>
    <dc:creator>haitao_z_</dc:creator>
    <dc:date>2014-08-13T07:26:38Z</dc:date>
    <item>
      <title>Build error when use IPP libs in NDK.</title>
      <link>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022525#M38849</link>
      <description>&lt;P&gt;Test code is copy from "Building Android* NDK applications with Intel® Integrated Performance Primitives (Intel® IPP)" : &lt;A href="https://software.intel.com/en-us/android/articles/building-android-ndk-applications-with-intel-ipp"&gt;https://software.intel.com/en-us/android/articles/building-android-ndk-applications-with-intel-ipp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;1. And install the IPP for windows,&lt;/P&gt;

&lt;P&gt;2. copy the include folder to my project.&amp;nbsp;&amp;nbsp; jni/ipp/include&lt;/P&gt;

&lt;P&gt;3. copy the libippcore.a, libippi.a, libipps.a..... to the project,&amp;nbsp; jni/ipp/lib/ia32 .&amp;nbsp;&amp;nbsp; It is strange that the libippcore.a... files are in intel/Composer XE 2013 SP1/ipp/lib/mic,&amp;nbsp; ------&amp;nbsp;Are these files should be in mic folder??????&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The build&amp;nbsp;&amp;nbsp;whole project, It seems the source file build is ok, but failed in linke stage.&lt;/P&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;[x86] SharedLibrary : libIppAdd.so&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;D:/android-ndk-r9d-windows-x86/android-ndk-r9d/toolchains/x86-4.6/prebuilt/windows/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld.exe: fatal error: D:/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/jni/ipp/lib/ia32/libippcore.a(ippinit.o): unsupported ELF machine number 181&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;collect2: ld returned 1 exit status&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/build/core/build-binary.mk:588: recipe for target '/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/obj/local/x86/libIppAdd.so' failed&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;make: *** [/cygdrive/d/android-ndk-r9d-windows-x86/android-ndk-r9d/project/hello_test_exe_ipp/obj/local/x86/libIppAdd.so] Error 1&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;What is the reason for this error&amp;nbsp;---libippcore.a(ippinit.o): unsupported ELF machine number 181??&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;Thanks a lot!&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;Br,&lt;/DIV&gt;

&lt;DIV style="font: 14px/normal 微软雅黑; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: inherit; -webkit-text-stroke-width: 0px;"&gt;Haitao&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Aug 2014 07:26:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022525#M38849</guid>
      <dc:creator>haitao_z_</dc:creator>
      <dc:date>2014-08-13T07:26:38Z</dc:date>
    </item>
    <item>
      <title>I also had the same problem .</title>
      <link>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022526#M38850</link>
      <description>&lt;PRE class="tw-data-text vk_txt tw-ta tw-text-small" data-fulltext="" data-placeholder="번역" dir="ltr" id="tw-target-text" style="unicode-bidi: -webkit-isolate; border: none; padding: 0px 0.14em 0px 0px; position: relative; margin-top: 0px; margin-bottom: 0px; resize: none; font-family: inherit; overflow: hidden; width: 237.5px; white-space: pre-wrap; word-wrap: break-word; color: rgb(33, 33, 33); height: 120px; font-size: 16px !important; line-height: 24px !important;"&gt;I also had the same problem .
Now I would like to know how you ever wondered if you solve and resolve whether the resolution .&lt;/PRE&gt;

&lt;P dir="ltr"&gt;jjacko3@hotmail.com&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 16:20:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022526#M38850</guid>
      <dc:creator>park__myungjoon</dc:creator>
      <dc:date>2014-12-10T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022527#M38851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;the problem above is simply because you can not use IPP libraries for MIC (Intel® Xeon Phi™) to compile for Android. IPP libraries for Android are included into Intel® INDE and Intel® System Studio. You should download one of these products and use the IPP libraries included there.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you still have issues a complete build log would be helpful (ndk-build -B V=1)&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Alex&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2014 11:01:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Build-error-when-use-IPP-libs-in-NDK/m-p/1022527#M38851</guid>
      <dc:creator>Alexander_W_Intel</dc:creator>
      <dc:date>2014-12-11T11:01:34Z</dc:date>
    </item>
  </channel>
</rss>

