在配置tar源码包时,执行命令:
./configure --host=arm-none-linux-gnueabihf --prefix=/home/alientek/linux/tools/tar
准备给开发板升级tar包。
结果报错:
configure: error: could not enable timestamps after mid-January 2038.
This package recommends support for these later
timestamps. However, to proceed with signed 32-bit
time_t even though it will fail then, configure with
'--disable-year2038'.
没想到居然碰到传说中的Linux2038问题!
在一篇国外帖子看到解决办法:
在命令中加上:
--disable-year2038
来忽略2038报错。
这个只是临时的,不知道如何根治。有大佬看到的话可以留个言吗?嘻嘻