|
请大神帮我看一个rk3399的编译错误
发表于 2020-1-9 21:33:44
浏览:6768
|
回复:1
打印
只看该作者
[复制链接]
楼主
我是按照风火官方的wiki教程编译的
[ 27% 14223/50802] build out/target/pr...bj/ETC/sepolicy_intermediates/sepolicy
out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates/policy.conf
out/host/linux-x86/bin/checkpolicy: policy configuration loaded
out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates/sepolicy.tmp
out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit
out/host/linux-x86/bin/checkpolicy: policy configuration loaded
out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to out/target/product/rk3399_firefly/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
[ 28% 14462/50802] target Generated: s...snakeyaml/representer/Representer.java
patching file Representer.java
Hunk #1 succeeded at 15 with fuzz 1.
Hunk #2 succeeded at 24 (offset 1 line).
Hunk #3 succeeded at 44 (offset 1 line).
Hunk #4 succeeded at 235 (offset 8 lines).
Successfully applied patch /home/cc/桌面/rk3399-firefly-industry/external/snakeyaml/src/patches/android/Representer.patch into copy of file out/target/product/rk3399_firefly/gen/JAVA_LIBRARIES/snakeyaml_intermediates/src/main/java/org/yaml/snakeyaml/representer/Representer.java
[ 28% 14483/50802] Ensure Jack server is installed and started
Jack server already installed in "/home/cc/.jack-server"
Server is already running
[ 28% 14485/50802] build out/target/co...RIES/sdk_v8_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (unzip -qo prebuilts/sdk/8/android.jar -d out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res -iname \"*.class\" -delete ) && (JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import prebuilts/sdk/8/android.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res )"
1 error during configuration. Try --help-properties for help.
Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
[ 28% 14485/50802] Building with Jack:...l_intermediates/with-local/classes.dex
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
2 errors during configuration. Try --help-properties for help.
Property 'jack.dex.output.dir' (in Options): directory 'out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/jack-rsc' is not writable (required because 'jack.dex.output.container' (defined in Options) is set to 'dir')
Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
[ 28% 14485/50802] host Java: bouncyca...uncycastle-host_intermediates/classes)
警告: [options] 未与 -source 1.7 一起设置引导类路径
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个警告
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] 错误 1
cc@cc-Z97-HD3:~/桌面/rk3399-firefly-industry-71-20190926$
|
|