主题 : android-5.0.2 20150723编译出错 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 98591
精华: 0
发帖: 60
金钱: 300 两
威望: 60 点
贡献值: 0 点
综合积分: 120 分
注册时间: 2013-12-01
最后登录: 2018-07-12
楼主  发表于: 2016-02-04 21:11

 android-5.0.2 20150723编译出错

在ubuntu里面解压,没有做任何修改. setenv ,然后make -j8。编译一段时间后出现问题,信息如下:

Export includes file: frameworks/base/tools/aidl/Android.mk -- out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/export_includes
Notice file: frameworks/base/tools/aidl/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//bin/aidl.txt
flex-2.5.39: fatal internal error, exec of /usr/bin/m4 failed
frameworks/base/tools/aidl/aidl_language_l.l:55: warning, rule cannot be matched
build/core/binary.mk:574: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp] Broken pipe
make: *** Deleting file 'out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp'
make: *** Waiting for unfinished jobs....
build/core/binary.mk:537: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Broken pipe
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

级别: 新手上路
UID: 121165
精华: 0
发帖: 33
金钱: 165 两
威望: 33 点
贡献值: 0 点
综合积分: 66 分
注册时间: 2015-12-04
最后登录: 2016-04-05
1楼  发表于: 2016-02-18 12:59
在root权限下编译