1.Tina3.5 编译全志X3报错:environment variable SOURCE_DATE_EPOCH must expand to a non-negative integer less than or equal to 253402300799
解决:第一步.make distclean 第二步 date +%s > version.date 第三步:make
网上也有人说如下步骤:(没有验证)
2、解决方法:
rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$
rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$ find . -name getbuildinfo.c
./out/cello-pro/compile_dir/target/host/Python-2.7.11/Modules/getbuildinfo.c
rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$
getbuildinfo.c,但是只是编译生成的文件!
(切记!只能修改,不能替换。否则继续出错的!)
L:\wyb\22cello_pro-tinav3.0\scripts\get_source_date_epoch.sh
try_git() {
[ -e .git
SOURCE_DATE_EPOCH="$(git
[ -n "$SOURCE_DATE_EPOCH" ]
}
修改为:
try_git() {
[ -e target/.git
SOURCE_DATE_EPOCH="$(cd target;git
[ -n "$SOURCE_DATE_EPOCH" ]
}
rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$
rootroot@rootroot-Lenovo-IdeaPad-S410:~/wyb/22cello_pro-tinav3.0$ make