android—mm—mmm—没有规则可以创建target/product/generic/obj/SHARED_LIBRARIES
2016-02-01 00:00
696 查看
[root@localhost android4.4_source_code]# mmm external/pcre-8.37
make:进入目录'/home/jinsheng/android4.4_src'
make: *** 没
有规则可以创建“out/target/product/generic/obj/EXECUTABLES
/dex2oatd_intermediates/import_includes”需要的目标“out/target/product/generic
/obj/SHARED_LIBRARIES/libartd-compiler_intermediates/export_includes”。 停
止。
make:离开目录“/home/jinsheng/android4.4_src”
可能是工程没有make过,单独编译某个模块导致的。先把工程整个make一下。
[root@localhost android4.4_source_code]# m -j5 //Makes from the top of the tree.
//这个过程执行时间很长,大概2-8个小时,看机器配置
//不要轻易在 android源代码 根目录执行:make clean
[root@localhost android4.4_source_code]# mmm external/pcre-8.37
++++++++++++++++++++++++++++++++++++++++++++++++++
解决方案:
http://stackoverflow.com/questions/20490107/building-android-source-error-when-executing-mm
++++++++++++++++++++++++++++++++++++++++++++++++++
It happened to me too.
I was able to solve it by using the mmm command.
From within the framework/base folder, I did:
mmm .
and after that all "mm" commands worked.
"mm -B" vs "mm": The -B switch if forcing the build w/o the use of any existing obj files (as doing clean and then build), where the "mm" command alone will use any existing obj files and continue the build from there. If you have a successful build - you can see that running "mm" won't do a thing, where "mm -B" will do a full build of the current module.
make:进入目录'/home/jinsheng/android4.4_src'
make: *** 没
有规则可以创建“out/target/product/generic/obj/EXECUTABLES
/dex2oatd_intermediates/import_includes”需要的目标“out/target/product/generic
/obj/SHARED_LIBRARIES/libartd-compiler_intermediates/export_includes”。 停
止。
make:离开目录“/home/jinsheng/android4.4_src”
可能是工程没有make过,单独编译某个模块导致的。先把工程整个make一下。
[root@localhost android4.4_source_code]# m -j5 //Makes from the top of the tree.
//这个过程执行时间很长,大概2-8个小时,看机器配置
//不要轻易在 android源代码 根目录执行:make clean
[root@localhost android4.4_source_code]# mmm external/pcre-8.37
++++++++++++++++++++++++++++++++++++++++++++++++++
解决方案:
http://stackoverflow.com/questions/20490107/building-android-source-error-when-executing-mm
++++++++++++++++++++++++++++++++++++++++++++++++++
It happened to me too.
I was able to solve it by using the mmm command.
From within the framework/base folder, I did:
mmm .
and after that all "mm" commands worked.
"mm -B" vs "mm": The -B switch if forcing the build w/o the use of any existing obj files (as doing clean and then build), where the "mm" command alone will use any existing obj files and continue the build from there. If you have a successful build - you can see that running "mm" won't do a thing, where "mm -B" will do a full build of the current module.
相关文章推荐
- Android内核开发:理解和掌握repo工具
- mm—mmm—android源码—编译
- 下载CM11.0 Android 源码过程与错误解决
- Category: Android——porting
- 正则表达式pcre在Android下的移植
- repo—清华TUNA镜像源—Android (AOSP)—CyanogenMod Android for Motorola Defy
- (OK) android——Repo sync cm—解决—error
- android——CyanogenMod rom编译尝试(简记)
- How to port pcre 8.33 to Android
- Android拓展系列(5)--CyanogenMod源码下载和编译(Android ROM定制基础篇)
- Android.mk的用法和基础
- Android——Dalvik和ART的区别
- 摩托罗拉MB526— Android 4.4.4 — 包含的共享库文件 —lib*.so
- Android - OpenSSL
- porting libiconv to android(arm)——libiconv-1.14.tar.gz
- glob.h and glob.c for the Android NDK
- Porting PHP to Android——没有具体移植过程
- Android SDK Manager 更新代理配置
- 倾听开源Android的另类声音
- php-5.5.0-android.patch.v2