|
发表于 2018-8-9 17:20:40
浏览:11363
|
回复:4
打印
只看该作者
[复制链接]
楼主
本帖最后由 sz_yys63 于 2018-8-9 18:06 编辑
按照ROC-RK3328-CC编译教程,一步一步操作。但是编译报
环境ubuntu18.04
1.安装 JDK 8成功;
2.安装环境包报错,提示非git-core,而是git;提示无lib32readline-gplv2-dev,去掉更新成功;提示无libesd0-dev,去掉更新成功;
3.android的sdk下载成功 mdk5也成功;但更新远程库,提示无origin;从 gitlab 处同步源码成功;
4.使用 Firefly 脚本编译报错
- hc@ubuntu:~/proj/roc-rk3328-cc$ ./FFTools/make.sh -k -j8
- ~/proj/roc-rk3328-cc/kernel ~/proj/roc-rk3328-cc
- File "/home/hc/proj/roc-rk3328-cc/kernel/scripts/gcc-wrapper.py", line 66
- print "error, forbidden warning:", m.group(2)
- ^
- <font color="#ff0000">SyntaxError: invalid syntax</font>
- *** Error during writing of the configuration.
- /home/hc/proj/roc-rk3328-cc/kernel/scripts/kconfig/Makefile:105: recipe for target 'firefly_defconfig' failed
- make[1]: *** [firefly_defconfig] Error 1
- Makefile:524: recipe for target 'firefly_defconfig' failed
- make: *** [firefly_defconfig] Error 2
复制代码
5.不使用脚本编译也报错
- No private recovery resources for TARGET_DEVICE roc_rk3328_cc_box
- build/core/base_rules.mk:341: warning: overriding commands for target `out/target/product/roc_rk3328_cc_box/system/etc/init/bluetoothtbd.rc'
- build/core/base_rules.mk:341: warning: ignoring old commands for target `out/target/product/roc_rk3328_cc_box/system/etc/init/bluetoothtbd.rc'
- build/core/Makefile:34: warning: overriding commands for target `out/target/product/roc_rk3328_cc_box/system/xbin/su'
- build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/roc_rk3328_cc_box/system/xbin/su'
- build/core/Makefile:34: warning: overriding commands for target `out/target/product/roc_rk3328_cc_box/system/lib/libmpp.so'
- build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/roc_rk3328_cc_box/system/lib/libmpp.so'
- build/core/Makefile:34: warning: overriding commands for target `out/target/product/roc_rk3328_cc_box/system/lib/libvpu.so'
- build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/roc_rk3328_cc_box/system/lib/libvpu.so'
- Starting build with ninja
- ninja: Entering directory `.'
- <font color="#ff0000">ninja: error: unknown target 'firefly_defconfig'</font>
- build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
- make: *** [ninja_wrapper] Error 1
- hc@ubuntu:~/proj/roc-rk3328-cc$
复制代码
|
|