编译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
阅读(5115) | 评论(0) | 转发(0) |