<?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: Build fails for Android JB422_100 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259572#M25636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, now it fails with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/mnt/host/Work/jb-4-imx6/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_init:external/wpa_supplicant_6/wpa_supplicant/src/drivers/driver_nl80211.c:1435: error: undefined reference to 'nl_handle_alloc_cb'&lt;/P&gt;&lt;P&gt;/mnt/host/Work/jb-4-imx6/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_init:external/wpa_supplicant_6/wpa_supplicant/src/drivers/driver_nl80211.c:1510: error: undefined reference to 'nl_handle_destroy'&lt;/P&gt;&lt;P&gt;collect2: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*)&lt;/P&gt;&lt;P&gt;Libnl is installed ...&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 14:25:54 GMT</pubDate>
    <dc:creator>andreygelman</dc:creator>
    <dc:date>2013-07-11T14:25:54Z</dc:date>
    <item>
      <title>Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259568#M25632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building the recent Android release - JB422_100 - for SabreSD platform on Ubuntu 12.04.&lt;/P&gt;&lt;P&gt;The build fails with:&lt;/P&gt;&lt;P&gt;/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_init:external/wpa_supplicant_6/wpa_supplicant/src/drivers/driver_nl80211.c:1510: error: undefined reference to 'nl_handle_destroy'&lt;/P&gt;&lt;P&gt;collect2: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;If I totally delete external/wpa_supplicant_6, this error disappears, but this one emerges:&lt;/P&gt;&lt;P&gt;make: *** No rule to make target `out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by `out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/import_includes'.&amp;nbsp; Stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are additional problems that I have, somehow, figured out the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously I have successfully built Android 4.0.4 and I did not have half these problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 14:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259568#M25632</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-07-08T14:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259569#M25633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to build using an Ubuntu 10.04 box. Newer Ubuntu versions have not been fully tested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 14:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259569#M25633</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-07-08T14:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259570#M25634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem. I have built a 10.04 virtual machine. Now it fails with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;external/mtd-utils/mkfs.ubifs/mkfs.ubifs.c: In function ‘write_super’:&lt;/P&gt;&lt;P&gt;external/mtd-utils/mkfs.ubifs/mkfs.ubifs.c:1902: warning: implicit declaration of function ‘uuid_generate_random’&lt;/P&gt;&lt;P&gt;external/mtd-utils/mkfs.ubifs/mkfs.ubifs.c:1906: warning: implicit declaration of function ‘uuid_unparse_upper’&lt;/P&gt;&lt;P&gt;make: *** [out/host/linux-x86/obj/EXECUTABLES/mkfs.ubifs_intermediates/mkfs.ubifs.o] Error 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 11:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259570#M25634</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-07-09T11:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259571#M25635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrey, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding these packages..&lt;/P&gt;&lt;P&gt;sudo apt-get install liblzo2-dev uuid-dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 12:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259571#M25635</guid>
      <dc:creator>Chris1z</dc:creator>
      <dc:date>2013-07-09T12:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259572#M25636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, now it fails with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/mnt/host/Work/jb-4-imx6/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_init:external/wpa_supplicant_6/wpa_supplicant/src/drivers/driver_nl80211.c:1435: error: undefined reference to 'nl_handle_alloc_cb'&lt;/P&gt;&lt;P&gt;/mnt/host/Work/jb-4-imx6/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_init:external/wpa_supplicant_6/wpa_supplicant/src/drivers/driver_nl80211.c:1510: error: undefined reference to 'nl_handle_destroy'&lt;/P&gt;&lt;P&gt;collect2: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*)&lt;/P&gt;&lt;P&gt;Libnl is installed ...&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:25:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259572#M25636</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-07-11T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259573#M25637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you follow section 2.1 "Set Up Your Computer" in the Android User Guide? Here are two steps you need to do correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;10.10 or 11.04 64bit version of Ubuntu&lt;/LI&gt;&lt;LI&gt;Setting up your machine &lt;A href="http://source.android.com/source/initializing.html." title="http://source.android.com/source/initializing.html."&gt;http://source.android.com/source/initializing.html&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;BR /&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 06:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259573#M25637</guid>
      <dc:creator>JackLee1z</dc:creator>
      <dc:date>2013-09-17T06:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259574#M25638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrey, have you got the issue fixed? If yes, please click Correct Answer.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 02:46:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259574#M25638</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2013-09-23T02:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Build fails for Android JB422_100</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259575#M25639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have eventually figured out how Android JellyBean can be built on Ubuntu 12.04.&lt;/P&gt;&lt;P&gt;It all boils down to 2.5 to 3 issues:&lt;/P&gt;&lt;P&gt;1. To compile correctly external/mtd-utils, I had to copy locally liblzo2, libuuid for i386, and add the path to LOCAL_LDFLAGS in external/mtd-utils/mkfs.ubifs/Android.mk&lt;/P&gt;&lt;P&gt;2. This part is tricky ...&lt;/P&gt;&lt;P&gt;SabreSD board is not equipped with Wi-Fi, however if one merely removes "BOARD_WLAN_VENDOR := ATHEROS" line in device/fsl/sabresd_6dq/BoardConfig.mk, the Android build system will attempt to compile wpa_supplicant_6, which is so outdated, that it simply cannot be compiled these days.&lt;/P&gt;&lt;P&gt;Put&lt;/P&gt;&lt;P&gt;"WPA_SUPPLICANT_VERSION := VER_0_8_X"&lt;/P&gt;&lt;P&gt;"BOARD_WPA_SUPPLICANT_DRIVER := WEXT"&lt;/P&gt;&lt;P&gt;"BOARD_HOSTAPD_DRIVER := WEXT"&lt;/P&gt;&lt;P&gt;to build wpa_supplicant with no specific hardware support.&lt;/P&gt;&lt;P&gt;2.5 When building the whole system use "make" (as opposed to "make -j&amp;lt;num-cpus&amp;gt;"), because there are some unclear dependencies that will be broken by parallel compilation, but this is something I can currently live with.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Kinda so ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 10:47:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-fails-for-Android-JB422-100/m-p/259575#M25639</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-09-23T10:47:29Z</dc:date>
    </item>
  </channel>
</rss>

