wx__UjoZT8 发表于 2022-11-2 21:09:17

Firefly-RK3399-Android7.1_industry_sdk编译jack不过

如下问题编译不过,貌似是jack的问题,网上的方法尝试了几种都不行。请大神帮忙看下。谢谢

[ 31% 6777/21810] Ensure Jack server is installed and started
FAILED: /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/                              tools/jack-server-4.8.ALPHA.jar2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompi                              lation\" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server pr                              ebuilts/sdk/tools/jack-server-4.8.ALPHA.jar 4.8.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack pre                              builts/sdk/tools/jacks/jack-2.28.RELEASE.jar 2.28.RELEASE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilt                              s/sdk/tools/jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts                              /sdk/tools/jacks/jack-4.7.BETA.jar 4.7.BETA || exit 47 )"
Jack server already installed in "/home/huaer7/.jack-server"
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilati                              on -Xmx4096M -cp /home/huaer7/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
No Jack server running. Try 'jack-admin start-server'
No Jack server running. Try 'jack-admin start-server'
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/property-descriptor.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/regexp/regexp-macro-assembler-irregexp.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/objects.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/regexp/regexp-ast.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/property.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/regexp/regexp-parser.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
[ 31% 6777/21810] target thumb C++: libv8src_32 <= external/v8/src/regexp/jsregexp.cc
warning: unknown warning option '-Wno-undefined-var-template'; did you mean '-Wno-undefined-internal'? [-Wunknown-warning                              -option]
1 warning generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** Error 1
huaer7@huaer7-HP-288-Pro-G4-MT-Business-PC:~/Firefly_RK3399_android/android7_industry_sdk$ ./FFTools/make.sh -j8 -d rk3399-firefly -l rk3399_firefly-userdebug



jpchen 发表于 2022-11-3 09:52:56

请先确认是否按照如下wiki 步骤,都是你使用的ubuntu 编译是哪个版本
https://wiki.t-firefly.com/zh_CN/Firefly-RK3399/prepare_compile_android.html

wx__UjoZT8 发表于 2022-11-5 12:20:02

jpchen 发表于 2022-11-3 09:52
请先确认是否按照如下wiki 步骤,都是你使用的ubuntu 编译是哪个版本
https://wiki.t-firefly.com/zh_CN/F ...

我使用的是18.04,上面步骤都有使用的,看网上是jack的编译问题。

wx__UjoZT8 发表于 2022-11-5 12:38:44

jpchen 发表于 2022-11-3 09:52
请先确认是否按照如下wiki 步骤,都是你使用的ubuntu 编译是哪个版本
https://wiki.t-firefly.com/zh_CN/F ...

执行过了问题还是一样,帮忙看下还有其他方法吗

jpchen 发表于 2022-11-7 10:28:55

wx__UjoZT8 发表于 2022-11-5 12:38
执行过了问题还是一样,帮忙看下还有其他方法吗

export LC_ALL=C然后进行编译,如果可以加在.bashrc里面
页: [1]
查看完整版本: Firefly-RK3399-Android7.1_industry_sdk编译jack不过