Firefly开源社区

打印 上一主题 下一主题

请大神帮我看一个rk3399的编译错误

14

积分

0

威望

0

贡献

技术小白

积分
14

请大神帮我看一个rk3399的编译错误

发表于 2020-1-9 21:33:44      浏览:6839 | 回复: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$
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2020-1-10 09:04:24        只看该作者  沙发
这种情况主要是由于 jack-server 本身编译器限制,同一个网络端口号不能多个用户同时使用
/home/xxx/.jack-server/config.properties
/home/xxx/.jack-settings

确保两个配置文件存在,并且权限设置为 0600:
这两个配置文件需要配置两个端口号,分别为服务端端口号,及客户端端口号,两个配置文件
中的端口号要匹配。
jack.server.service.port=8074
jack.server.admin.port=8075

SERVER_PORT_SERVICE=8074
SERVER_PORT_ADMIN=8075
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表