Error: “Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized”的解决办法

背景:64位工具链 交叉编译dbus库时遇到错误“checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized”;

解决办法:下载新的config.sub和config.guess,替换掉旧的;

wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
wget -O config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'

参考:

https://blog.csdn.net/amds123/article/details/53258495

https://blog.csdn.net/lile777/article/details/81389098

你可能感兴趣的:(自由软件Linux)