LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 791|回复: 2

LFS遇到难题,高手帮下

[复制链接]
发表于 2010-4-22 11:10:23 | 显示全部楼层 |阅读模式
如图所示,
当第二次编译linux-2.6.22.5时,
make headers_check
出现gcc error trying to exec  '/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linnux-gnu/bin/as';execv:no such file or directory
好像是少个文件,check终止
如何
研究几天了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2010-4-22 11:41:45 | 显示全部楼层
这样处理未果,不会又要重新编译工具链吧

root:/sources/linux-2.6.22.5# find / -name as -print
/tools/bin/as
/tools/i686-pc-linux-gnu/bin/as
root:/sources/linux-2.6.22.5# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin
root:/sources/linux-2.6.22.5# export PATH=${PATH}:/tools/bin
回复 支持 反对

使用道具 举报

发表于 2010-4-22 13:44:14 | 显示全部楼层
当第二次编译linux-2.6.22.5时
怎么能是/tools/lib/gcc/i686-pc-linux-gnu目录呢?
工具链调整的问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表