source.android.com中的说明是否可用于构建android源代码过期?

时间:2012-04-04 11:09:41

标签: android build

我一直在尝试按照on the official site发布的说明构建Android源代码。

但是,在我看来,这些步骤在Ubuntu 10.04.4的当前存储库中有点过时了(例如:默认gcc现在是gcc 4.4)。

网站上的说明建议使用64位Ubuntu 10.04。具有讽刺意味的是,在Ubuntu 10.04下载页面中,建议使用32位。

遇到多个不兼容问题的困难时期。其中大部分已经在两年内在堆栈溢出中进行了讨论。

通过反复下载如此庞大的回购来耗尽互联网带宽。

最近有没有人成功构建了android源代码?如果是这样,请指点我任何文件?

  

prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/msgfmt.o: in function icu_46::MessageFormat::toPattern(icu_46::UnicodeString&) const:external/icu4c/i18n/msgfmt.cpp:827: error: undefined reference to 'typeinfo for icu_46::PluralFormat'
  prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/msgfmt.o: in function icu_46::MessageFormat::toPattern(icu_46::UnicodeString&) const:external/icu4c/i18n/msgfmt.cpp:827: error: undefined reference to 'typeinfo for icu_46::SelectFormat'
  prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::makeInstance(icu_46::Locale const&, icu_46::NumberFormat::EStyles, UErrorCode&):external/icu4c/i18n/numfmt.cpp:1206: error: undefined reference to 'icu_46::NumberingSystem::createInstance(icu_46::Locale const&, UErrorCode&)'
  prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::makeInstance(icu_46::Locale const&, icu_46::NumberFormat::EStyles, UErrorCode&):external/icu4c/i18n/numfmt.cpp:1215: error: undefined reference to 'icu_46::NumberingSystem::isAlgorithmic() const'
  prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::makeInstance(icu_46::Locale const&, icu_46::NumberFormat::EStyles, UErrorCode&):external/icu4c/i18n/numfmt.cpp:1200: error: undefined reference to 'icu_46::NumberingSystem::createInstance(icu_46::Locale const&, UErrorCode&)'
  prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/numfmt.o: in function icu_46::NumberFormat::getEffectiveCurrency(unsigned short*, UErrorCode&) const:external/icu4c/i18n/numfmt.cpp:1038: error: undefined reference to 'ucurr_forLocale_46'
  prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/rbt_pars.o: in function icu_46::RuleHalf::parseSection(icu_46::UnicodeString const&, int, int, icu_46::UnicodeString&, icu_46::UnicodeString const&, signed char, UErrorCode&):external/icu4c/i18n/rbt_pars.cpp:548: error: undefined reference to 'icu_46::TransliteratorIDParser::parseFilterID(icu_46::UnicodeString const&, int&)'
  make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libicui18n_intermediates/LINKED/libicui18n.so] Error 1
  make: *** Waiting for unfinished jobs....

0 个答案:

没有答案