天天看點

全志linux備份img,編譯全志r16的tina2.5筆記

Unescaped left brace in regex is illegal here in regex; marked by

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