您当前的位置: 首页 >  ui

全网首发:configure: error: cannot guess build type; you must specify one

柳鲲鹏 发布时间:2021-06-08 09:26:44 ,浏览量:0

详细错误:

UNAME_MACHINE = "loongarch64"
UNAME_RELEASE = "4.19.0-loongson-3-desktop"
UNAME_SYSTEM  = "Linux"
UNAME_VERSION = "#3200 SMP Thu May 13 10:17:27 CST 2021"
configure: error: cannot guess build type; you must specify one
make: *** [builds/unix/detect.mk:91:setup] 错误 1

  原因就是config.guess/config.sub不对。解决办法:

https://quantum6.blog.csdn.net/article/details/117668896

  有人发现复制之后还是不对。为什么呢?

  • 调用了autogen.sh。

autogen.sh会自动产生新的。不调用即可。

  • 已经有个链接。

把相应的链接从当前目录删除。

  • 使用的是其他目录的

通过find -name config.guess,会看到在其他目录下有相应的文件,如:build-scripts、builds/unix、build-aux。替换这些目录的两个文件即可。

关注
打赏
1688896170
查看更多评论

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4641博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0819s