编译全志r16的tina2.5笔记

编译tina
cd tina2.5
source build/envsetup.sh
lunch
选择astar-parrot-tina
make -j4
pack -d

问题:
make[3]: Leaving directory '/opt/tina2.5/package/firmware/linux-firmware'
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/tina2.5/out/host/bin/automake-1.15 line 3938.
make[3]: Entering directory '/opt/tina2.5/package/libs/zlib'
Argument "4.2.1" isn't numeric in numeric ge (>=) at /opt/tina2.5/scripts/feeds line 25.
make[4]: *** [Makefile:432: Makefile.in] Error 1
make[4]: Leaving directory '/opt/tina2.5/out/astar-parrot/compile_dir/target/json-c-0.12'
make[3]: *** [Makefile:56: /opt/tina2.5/out/astar-parrot/compile_dir/target/json-c-0.12/.built] Error 2
make[3]: Leaving directory '/opt/tina2.5/package/libs/libjson-c'
make[2]: *** [package/Makefile:193: package/libs/libjson-c/compile] Error 2
make[2]: *** Waiting for unfinished jobs....
Argument "4.2.1" isn't numeric in numeric ge (>=) at /opt/tina2.5/scripts/feeds line 25.
Argument "4.2.1" isn't numeric in numeric ge (>=) at /opt/tina2.5/scripts/feeds line 25.

解决:
因为perl新版不支持regrex中直接加{
/opt/tina2.5/out/host/bin/automake 与 /opt/tina2.5/out/host/bin/automake-1.15中的
$text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
都改成
$text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;


问题:
mkimage: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
解决:
安装uboot-tools(其中会带mkimage),或者单独编译uboot后取其下的mkimage,  然后要用新的mkimage替换掉out/host/bin/mkimage

编译成功后,生成usb烧录镜像out/astar-parrot/tina_astar-parrot_card0.img

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(6) | 评论(0) | 转发(0) |
0

上一篇:linux ubuntu编译caffe

下一篇:opencv3编译pc端及交叉编译arm端

给主人留下些什么吧!~~
评论热议

猜你喜欢

转载自blog.csdn.net/zmlovelx/article/details/80263043
今日推荐