我一直在尝试为Xperia Z3 + / Z4 D6533(kitakami-ivy,ivy-dsds)编译AOSP。在删除sony-oss并将工具箱移动到out / target /.../ utilities / toybox之后,我终于得到了编译的构建。也就是说,直到这个:
[28%14657/50913] build out / target / product / ivy / root / init.real
失败:/ bin / bash -c"(cp out / target / product / ivy / utilities / tooybox out / target / product / ivy / root / sbin / toybox_init)&& (cp out / target / product / ivy / utilities / keycheck out / target / product / ivy / root / sbin / keycheck)&& (cp out / target / product / ivy / utilities / init_sony out / target / product / ivy / root / sbin / init_sony)&& (如果[!-L out / target / product // ivy / root / init]; echo \" / init out / target / product / ivy / root / init isn' ta symlink \&#34 ;; mv out / target / product / ivy / root / init out / target / product / ivy / root / init.real; ln -s sbin / init_sony / target / product / ivy / root / init; else echo \&# 34; / init out / target / product / ivy / root / init已经是符号链接\&#34 ;; fi)"
之后,Jack启动并构建/ core / ninja.mk:148停止构建并出现错误1.由于此问题以前从未在Web上看到过,因此我没有想到这些问题。有帮助吗?提前谢谢!
如有必要,请提供额外的详细信息: Ubuntu 16.04.1 LTS(Gnome而不是Unity),内核4.4.0.57 OpenJDK 8 Update 111