+ -
当前位置:首页 → 问答吧 → LFS 6.3 进度 6.7.1. Installation of Linux API Headers 错误, 请大家帮我看看

LFS 6.3 进度 6.7.1. Installation of Linux API Headers 错误, 请大家帮我看看

时间:2007-10-23

来源:互联网

sed -i '/scsi/d' include/Kbuild
请问当前目录是/sources/linux-2.6.22.5么?

root:/sources/linux-2.6.22.5# sed -i '/scsi/d' include/Kbuild
root:/sources/linux-2.6.22.5# make mrproper
root:/sources/linux-2.6.22.5# make headers_check
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/basic/fixdep
gcc: error trying to exec '/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/as': execv: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

exec '/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/as': execv: No such file or directory
这什么意思,/tools/i686-pc-linux-gnu/bin/as是存在的啊。我是新手,还望老鸟们不厌其烦。谢谢,呵呵。

好慢阿,发重了的话请admin删除,谢谢。

作者: BEINGJESSE   发布时间: 2007-10-23

http://www.linuxquestions.org/questi...eaders-585191/
这个人说

Quote:
Originally Posted by martinwprior View Post
The following command : sed -i '/scsi/d' include/Kbuild
In which directory is this run?
You should already be in the root (/) directory and have been running your installation from here so far.
怎么是/下执行呢?怎么个意思啊到底。

作者: BEINGJESSE   发布时间: 2007-10-23

大伙都不在呀? 紧急求助啊。

作者: BEINGJESSE   发布时间: 2007-10-23

gcc的问题么? 我试了 make都会出现上面的错误。 为什么会这样, 问题出在哪步呢? 我确定没有一个字敲错。 大家说说问题会出在哪? 绝对不想再重新编译了。

作者: BEINGJESSE   发布时间: 2007-10-24

或许是开始的stripping出了问题?
只有重新build一次了。汗。

作者: BEINGJESSE   发布时间: 2007-10-24

如果不是很熟,stripping之前最好是先备份。

作者: tfkdmwmqtr   发布时间: 2007-10-24

恩 知道了 下次就有经验了。
现在可以肯定是stripping那步的问题咯。

没关系,总是需要慢慢摸索的。呵呵。

作者: BEINGJESSE   发布时间: 2007-10-24

不行就重新解源文件来,俺现在用jhalfs自动搞,呵呵

作者: trublemaker   发布时间: 2007-10-24

我觉得是不是第五章的工具链接没调整好啊~

现在懒了,自从自己完整手动过几遍LFS以后,后来一直用jhalfs了~

作者: shooter   发布时间: 2007-10-25

引自 http://www.linuxfromscratch.org/lfs/...pingagain.html
引用:
If disk space is very tight, the --strip-all option can be used on the binaries in /{,usr/}{bin,sbin} to gain several more megabytes. Do not use this option on libraries—they will be destroyed.
關於 stripping,手冊說過對 library 不能用 --strip-all

作者: d00m3d   发布时间: 2007-10-27

也许不用重新构建临时工具,文件存在但却无法执行,可以推测是shell也就是bash的问题,可能是编译也可能是stripping的问题导致bash出问题了,把host端的bash copy到/tools/bin下试试.

作者: bluewind   发布时间: 2008-02-25

不对,想想应该不行,两 个bash不一样,路径都不一样。。。

作者: bluewind   发布时间: 2008-02-25

NND, 要重复 gcc binutils bash三步才行

作者: bluewind   发布时间: 2008-02-25

热门下载

更多