<?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>i.MX ProcessorsのトピックDocument problem about iMX6 Android patches</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285439#M33499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have a imx6 android question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;In Android User Guide, writes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Get R13.4-GA kernel source code&lt;/STRONG&gt; from freescale's opensource git:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd myandroid&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ git clone git://git.freescale.com/imx/linux-2.6-imx.git kernel_imx # the kernel repo is&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heavy, so this can take a while&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd kernel_imx&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ git checkout imx-android-13.4.1&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker" style="font-size: 12pt;"&gt;Does it mean that I do not need to do this in "Patch code for i.MX"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Assume you had unzipped i.MX Android release package to /opt/imx-android-13.4.1/.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd ~/myandroid&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ source /opt/imx-android-13.4.1/code/13.4.1/and_patch.sh&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ help&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Now you should see that the "c_patch" function is available&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ c_patch /opt/imx-android-13.4.1/code/13.4.1 imx_13.4.1&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN style="font-size: 12pt;"&gt;I just need to do this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;If your software has upgraded to R13.4-GA&lt;/STRONG&gt; and you would only like to apply the additional patches between R13.4-GA and&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;13.4.1, please use the following steps:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Take framwork/base.git as an example. Assume you had unzipped i.MX Android release package&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;to /opt/imx-android-13.4.1/ .&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd /opt/imx-android-13.4.1/code/13.4.1-delta/platform/frameworks/base.git&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ ls *.patch &amp;gt; series&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd ~/myandroid/frameworks/base&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ git quiltimport --patches /opt/imx-android-13.4.1/code/13.4.1-delta/platform/frameworks/&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;base.git&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just have some confuse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;BR /&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 07:12:30 GMT</pubDate>
    <dc:creator>DeanHuang</dc:creator>
    <dc:date>2013-03-06T07:12:30Z</dc:date>
    <item>
      <title>Document problem about iMX6 Android patches</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285439#M33499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have a imx6 android question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;In Android User Guide, writes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Get R13.4-GA kernel source code&lt;/STRONG&gt; from freescale's opensource git:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd myandroid&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ git clone git://git.freescale.com/imx/linux-2.6-imx.git kernel_imx # the kernel repo is&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heavy, so this can take a while&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd kernel_imx&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ git checkout imx-android-13.4.1&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker" style="font-size: 12pt;"&gt;Does it mean that I do not need to do this in "Patch code for i.MX"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Assume you had unzipped i.MX Android release package to /opt/imx-android-13.4.1/.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd ~/myandroid&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ source /opt/imx-android-13.4.1/code/13.4.1/and_patch.sh&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ help&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Now you should see that the "c_patch" function is available&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ c_patch /opt/imx-android-13.4.1/code/13.4.1 imx_13.4.1&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN style="font-size: 12pt;"&gt;I just need to do this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;If your software has upgraded to R13.4-GA&lt;/STRONG&gt; and you would only like to apply the additional patches between R13.4-GA and&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;13.4.1, please use the following steps:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Take framwork/base.git as an example. Assume you had unzipped i.MX Android release package&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;to /opt/imx-android-13.4.1/ .&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd /opt/imx-android-13.4.1/code/13.4.1-delta/platform/frameworks/base.git&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ ls *.patch &amp;gt; series&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ cd ~/myandroid/frameworks/base&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ git quiltimport --patches /opt/imx-android-13.4.1/code/13.4.1-delta/platform/frameworks/&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;base.git&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just have some confuse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;BR /&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 07:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285439#M33499</guid>
      <dc:creator>DeanHuang</dc:creator>
      <dc:date>2013-03-06T07:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Document problem about iMX6 Android patches</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285440#M33500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Dears,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I had solved this problem. It should use "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;imx-android-13.4.1/code/13.4.1/&lt;/SPAN&gt;" instead of "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;imx-android-13.4.1/code/13.4.1-delta&lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;But I still have one question&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;When I compiling the source code, there are some error messages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;ex:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #c0c0c0; font-family: Tahoma; text-align: -webkit-auto; font-size: 10pt;"&gt;host C++: obbtool &amp;lt;= frameworks/base/tools/obbtool/Main.cpp&lt;BR /&gt;:0:0: error: “_FORTIFY_SOURCE” redefined [-Werror]&lt;BR /&gt;:0:0: note: this is the location of the previous definition&lt;BR /&gt;cc1plus: all warnings being treated as errors &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; text-align: -webkit-auto; font-size: medium;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; text-align: -webkit-auto; font-size: medium;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #c0c0c0; font-family: Tahoma; text-align: -webkit-auto; font-size: 10pt;"&gt;ERROR:&amp;nbsp; frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23:&lt;BR /&gt; error: variable ‘ParamName’ set but not used [-Werror=unused-but-set- variable]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; text-align: -webkit-auto; font-size: medium;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I had building image successfully&amp;nbsp; by correcting source code&lt;/SPAN&gt;. &lt;SPAN style="font-size: 12pt; line-height: 1.5em;"&gt;But I'm confused that these error are source code problem or compiling environment problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; line-height: 1.5em;"&gt;My environment is Ubuntu 12.04 64 bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 07:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285440#M33500</guid>
      <dc:creator>DeanHuang</dc:creator>
      <dc:date>2013-03-08T07:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Document problem about iMX6 Android patches</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285441#M33501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dean, it would be great if you post the patch with all the changes needed to compile android on your Ubuntu machine. About your question, I am not sure, but it may be the host system your are using to compile Android.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 17:16:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285441#M33501</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-03-08T17:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Document problem about iMX6 Android patches</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285442#M33502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi Leonardo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;These are the error messages and solutions I found from network. There may be other solutions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;My Environment:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Ubuntu 12.04 64 bit&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;imx-android-13.4.1.tar.gz&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sorry for that I forget what ubuntu packages I installed before building Android.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; text-align: -webkit-auto; font-size: 10pt;"&gt;host C++: obbtool &amp;lt;= frameworks/base/tools/obbtool/Main.cpp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0:0: error: “_FORTIFY_SOURCE” redefined [-Werror]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0:0: note: this is the location of the previous definition&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cc1plus: all warnings being treated as errors &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; text-align: -webkit-auto; font-size: medium;"&gt;S1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;To fix this, edit build/core/combo/HOST_linux-x86.mk and replace:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0&lt;BR /&gt; with&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOST_GLOBAL_CFLAGS += &lt;SPAN style="color: #ff0000;"&gt;-U_FORTIFY_SOURCE&lt;/SPAN&gt; -D_FORTIFY_SOURCE=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;Q2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;ERROR:&amp;nbsp; frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23:&lt;BR /&gt; error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-&lt;BR /&gt; variable]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;S2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;android/ics/frameworks/compile/slang/Android.mk&lt;BR /&gt; -local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -Werror&lt;BR /&gt; +local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;Q3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;external/mesa3d/src/glsl/linker.cpp: In function ‘void link_shaders(const gl_context*, gl_shader_program*)’:&lt;BR /&gt; external/mesa3d/src/glsl/linker.cpp:1734:49: error: expected primary-expression before ‘,’ token&lt;BR /&gt; external/mesa3d/src/glsl/linker.cpp:1734:50: error: ‘fragColor’ was not declared in this scope&lt;BR /&gt; external/mesa3d/src/glsl/linker.cpp:1734:59: error: ‘offsetof’ was not declared in this scope&lt;BR /&gt; make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libMesa_intermediates/src/glsl/linker.o] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;S3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;Adding a "#include &amp;lt;stddef.h&amp;gt;" to linker.cpp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;Q4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;ERROR:&amp;nbsp; external/oprofile/libpp/format_output.h:94:22: error:&lt;BR /&gt; reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;S4&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;external/oprofile/libpp/format_output.h&lt;BR /&gt; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mutable counts_t &amp;amp; counts;&lt;BR /&gt; +&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; counts_t &amp;amp; counts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;Q5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;android_repo/external/llvm/lib/Support/Mutex.cpp:69: undefined reference to `pthread_mutexattr_init'&lt;BR /&gt; android_repo/external/llvm/lib/Support/Mutex.cpp:75: undefined reference to `pthread_mutexattr_settype'&lt;BR /&gt; android_repo/external/llvm/lib/Support/Mutex.cpp:80: undefined reference to `pthread_mutexattr_setpshared'&lt;BR /&gt; android_repo/external/llvm/lib/Support/Mutex.cpp:89: undefined reference to `pthread_mutexattr_destroy'&lt;BR /&gt; out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::tryacquire()':&lt;BR /&gt; android_repo/external/llvm/lib/Support/Mutex.cpp:143: undefined reference to `pthread_mutex_trylock'&lt;BR /&gt; collect2: ld returned 1 exit status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;S5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;Way1:&lt;BR /&gt; system/extras/tests/bionic/libc/Android.mk&lt;BR /&gt; LOCAL_MODULE_TAGS := tests&lt;BR /&gt;&lt;BR /&gt; -LOCAL_LDFLAGS := \&lt;BR /&gt; +LOCAL_LDLIBS := \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -lpthread \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ldl&lt;BR /&gt;&lt;BR /&gt; Way2:&lt;BR /&gt; external/llvm/llvm-host-build.mk&lt;BR /&gt; LOCAL_LDLIBS := -lpthread -ldl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;Q6&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;external/gtest/src/../src/gtest-filepath.cc:180:28: warning: missing initializer for member ‘stat::st_dev’ [-Wmissing-field-initializers]&lt;BR /&gt;&lt;BR /&gt; external/gtest/src/../src/gtest-filepath.cc:180:28: warning: missing initializer for member ‘stat::__pad1’ [-Wmissing-field-initializers]&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; ...&lt;BR /&gt; ...&lt;BR /&gt; external/gtest/src/../src/gtest-filepath.cc:208:28: warning: missing initializer for member ‘stat::st_ino’ [-Wmissing-field-initializers]&lt;BR /&gt; make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libgtest_host_intermediates/gtest-all.o] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: medium; font-family: Tahoma;"&gt;S6&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 10pt; font-family: Tahoma;"&gt;external/gtest/include/gtest/internal/gtest-param-util.h&lt;BR /&gt; add&lt;BR /&gt; #include &amp;lt;cstddef&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 01:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Document-problem-about-iMX6-Android-patches/m-p/285442#M33502</guid>
      <dc:creator>DeanHuang</dc:creator>
      <dc:date>2013-03-12T01:50:28Z</dc:date>
    </item>
  </channel>
</rss>

