ubuntu下安装gbd的时候make之后出现的错误,请问怎么解决呀

zheng_RL_0003 2020-04-01 09:46:46
make[1]: Entering directory '/home/yang/下载/gdb-7.9'
Configuring in ./libiberty
configure: loading cache ./config.cache
configure: error: `target_alias' has changed since the previous run:
configure: former value: `x86_64-unknown-linux-gnu'
configure: current value: `arm-none-linux-gnueabi'
configure: error: in `/home/yang/下载/gdb-7.9/libiberty':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
Makefile:7024: recipe for target 'configure-libiberty' failed
make[1]: *** [configure-libiberty] Error 1
make[1]: Leaving directory '/home/yang/下载/gdb-7.9'
Makefile:837: recipe for target 'all' failed
...全文
1201 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
我不吃豌豆 2022-01-15
  • 打赏
  • 举报
回复

楼主解决了吗?

mymtom 2020-05-29
  • 打赏
  • 举报
回复
configure: former value: `x86_64-unknown-linux-gnu'
configure: current value: `arm-none-linux-gnueabi'

试试 make distclean 然后重新 configure
han_ly 2020-05-26
  • 打赏
  • 举报
回复
我也错,不知道怎么解决

23,223

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧