我尝试为Cynogenmod
构建j2lte
12.1,但每次执行make -j8
之后我都会lunch cm_j2lte-eng
,它会给我以下内容错误:
build/core/binary.mk:745: target `/mnt/lineage/out/target/product/j2lte/obj/STATIC_LIBRARIES/libc_bionic_intermediates/arch-arm/bionic/memcmp.o' given more than once in the same rule.
"ebtables is disabled on this build"
find: `dummy': No such file or directory
build/core/base_rules.mk:550: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.rc'
build/core/base_rules.mk:550: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.environ.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.environ.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.zygote32.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.zygote32.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.usb.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.usb.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.trace.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.trace.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/ueventd.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/ueventd.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/system/lib/egl/libGLES_android.so'
No private recovery resources for TARGET_DEVICE j2lte
请帮助解决错误。
答案 0 :(得分:0)
使用Oracle JDK而不是openjdk