Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4499697
  • 博文数量: 356
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4734
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(356)

文章存档

2020年(17)

2019年(9)

2018年(26)

2017年(5)

2016年(11)

2015年(20)

2014年(2)

2013年(17)

2012年(15)

2011年(4)

2010年(7)

2009年(14)

2008年(209)

分类: LINUX

2018-05-07 21:33:59

编译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

阅读(5052) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~