<?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 Re: ICS and LTIB build error in ubuntu 12.04 x86_64 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249317#M22414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;it helps me a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 14:45:46 GMT</pubDate>
    <dc:creator>Dennis_Han</dc:creator>
    <dc:date>2013-03-08T14:45:46Z</dc:date>
    <item>
      <title>Android and LTIB build error in ubuntu 12.04 x86_64</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249316#M22413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Build ICS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your PC memory is only 1GB, you may meet out of memory error, such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;target Generated: smali &amp;lt;= external/smali/smali/src/main/antlr3/org/jf/smali/smaliLexer.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.OutOfMemoryError: Java heap space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is change the Android.mk of that module, add -Xmx512m to java command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In external/smali/smali/Android.mk:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(GEN): PRIVATE_CUSTOM_TOOL = java &lt;SPAN style="color: #ff0000;"&gt;-Xmx512m&lt;/SPAN&gt; -jar $(ANTLR_JAR) -fo $(dir $@) $&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build JB-4.2.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My java version is 1.6.0_06, "sudo apt-get install sun-java6-jdk" show it's the newest version, but I still meet this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;frameworks/base/core/java/com/android/internal/widget/LockPatternUtils.java:1280: error 114: @deprecated tag with no explanatory comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is edit frameworks/base/core/java/com/android/internal/widget/LockPatternUtils.java, remove line 1280 &lt;SPAN style="color: #ff0000;"&gt;* @deprecated&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Build LTIB&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When build alsa-utils from ltib, in ubuntu 12.04 x86_64, you may meet this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;checking for new_panel in -lpanel... no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configure: error: panel library not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error: Bad exit status from ….&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Make sure if libncurses.so exist in ltib/rootfs/usr/lib/, if not, build it with command “$ ./ltib -p ncurse”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Create soft link libtinfo.so to libncurse.so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ cd rootfs/usr/lib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ sudo ln -s libncurses.so libtinfo.so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can build alsa-utils by “$ ./ltib -p alsa-utils”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build L3.0.35_4.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When build L3.0.35_4.0.0_130424_source in 64bits ubuntu, you may meet “make[2]: *** [flex.pdf] Error 1” error.&lt;/P&gt;&lt;P&gt;The full error log can be found in host_config.log, it’s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;You don't have a working TeX binary (tex) installed anywhere in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;your PATH, and texi2dvi cannot proceed without one.&amp;nbsp; If you want to use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;this script, you'll need to install TeX (if you don't have it) or change&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;your PATH or TEX environment variable (if you do).&amp;nbsp; See the --help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;output for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;For information about obtaining TeX, please see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.tug.org/"&gt;http://www.tug.org&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; If&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;you happen to be using Debian, you can get it with this command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; apt-get install tetex-bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;make[2]: *** [flex.pdf] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;make[2]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/doc'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;make[1]: *** [install-recursive] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;make: *** [install] Error 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;error: Bad exit status from /work/sata3/wsj/4.0.0/L3.0.35_4.0.0_130424_source/ltib/tmp/rpm-tmp.94464 (%install)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Install below package can fix the error&lt;/P&gt;&lt;P&gt;sudo apt-get install texinfo&lt;/P&gt;&lt;P&gt;sudo apt-get install texlive&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Build 4.1.0 gst-plugins-good&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&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;In ltib/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec, comment cairo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;#export CAIRO_CFLAGS="-I${DEV_IMAGE}/usr/include/cairo"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;#export CAIRO_LIBS="-L${DEV_IMAGE}/usr/lib/cairo"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;#export LIBS="-lcairo"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 09:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249316#M22413</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2013-02-06T09:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: ICS and LTIB build error in ubuntu 12.04 x86_64</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249317#M22414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;it helps me a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249317#M22414</guid>
      <dc:creator>Dennis_Han</dc:creator>
      <dc:date>2013-03-08T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Android and LTIB build error in ubuntu 12.04 x86_64</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249318#M22415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my virtual is ubuntu 12.04 x86_64 two,but when I build the android 4.2.2 for sabresd_6dq I meet the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;make: *** No rule to make target `out/target/product/sabresd_6dq/obj/STATIC_LIBRARIES/libubi_intermediates/export_includes', needed by `out/target/product/sabresd_6dq/obj/EXECUTABLES/recovery_intermediates/import_includes'.&amp;nbsp; Stop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 06:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249318#M22415</guid>
      <dc:creator>jian</dc:creator>
      <dc:date>2013-08-08T06:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Android and LTIB build error in ubuntu 12.04 x86_64</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249319#M22416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Shaojun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the insight to fix the alsa-utils build issue in Ubuntu 12.04 64bit OS; which is to c&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;reate soft link libtinfo.so to libncurse.so in the rootfs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative, it could add --with-termlib option to the ltib/dist/lfs-5.1/ncurses/ncurses.spec; which are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%Build&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CFLAGS="%{optflags} -DPURE_TERMINFO -DSVR4_CURSES"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%define optflags $CFLAGS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if [ "$GNUTARCH" != m68knommu ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;then&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --with-install-prefix=$RPM_BUILD_ROOT --mandir=%{_mandir} \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --with-shared&amp;nbsp; --without-debug --without-cxx-binding &lt;STRONG style="color: #ff6600;"&gt;--with-termlib&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --with-install-prefix=$RPM_BUILD_ROOT --mandir=%{_mandir} \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --without-shared&amp;nbsp; --without-debug --without-cxx-binding&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;fi&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;make -j1 HOSTCC="$BUILDCC"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P&gt;Then, it will generate the following files which is needed by alsa-utils&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Clipboard01.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40232iDDD943B62015D373/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clipboard01.jpg" alt="Clipboard01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 08:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-and-LTIB-build-error-in-ubuntu-12-04-x86-64/m-p/249319#M22416</guid>
      <dc:creator>isaac_ng</dc:creator>
      <dc:date>2013-11-05T08:08:11Z</dc:date>
    </item>
  </channel>
</rss>

