求助: LFS 6.7 Installation of Linux API Headers 失败,gcc找不到
时间:2007-12-12
来源:互联网
My Host:SUSE10.2 On Vmware6
LFS:6.3 Chapter 6.7.1. Installation of Linux API Headers
Problem:
$make mrproper
/sources/linux-2.6.22.5/scripts/gcc-version.sh: line 11:
/tools/bin/gcc: No such file or directory
/sources/linux-2.6.22.5/scripts/gcc-version.sh: line 12:
/tools/bin/gcc: No such file or directory
make: gcc: Command not found
报告GCC找不到,我查了一下,这个文件是存在的,而且同目录下其他有些命令也可以运行.
google 一下,http://linuxfromscratch.org/pipermai...07-October.txt,
似乎是同样的问题,但是仔细察看后,按照回复测试echo 'main(){}' > dummy.c && cc dummy.c && readelf -l a.out | grep ': /tools' ,结果是
lfs@linux-suse:/mnt/lfs/sources> echo 'main(){}' > dummy.c && cc dummy.c && readelf -l a.out | grep ': /tools' && rm a.out && rm dummy.c
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
看起来非常正常...不知道怎么处理了
各位兄弟有见教么
LFS:6.3 Chapter 6.7.1. Installation of Linux API Headers
Problem:
$make mrproper
/sources/linux-2.6.22.5/scripts/gcc-version.sh: line 11:
/tools/bin/gcc: No such file or directory
/sources/linux-2.6.22.5/scripts/gcc-version.sh: line 12:
/tools/bin/gcc: No such file or directory
make: gcc: Command not found
报告GCC找不到,我查了一下,这个文件是存在的,而且同目录下其他有些命令也可以运行.
google 一下,http://linuxfromscratch.org/pipermai...07-October.txt,
似乎是同样的问题,但是仔细察看后,按照回复测试echo 'main(){}' > dummy.c && cc dummy.c && readelf -l a.out | grep ': /tools' ,结果是
lfs@linux-suse:/mnt/lfs/sources> echo 'main(){}' > dummy.c && cc dummy.c && readelf -l a.out | grep ': /tools' && rm a.out && rm dummy.c
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
看起来非常正常...不知道怎么处理了
各位兄弟有见教么
作者: zambiafrog 发布时间: 2007-12-12
用 lfslivecd 。
作者: tfkdmwmqtr 发布时间: 2007-12-12
还是想知道出了什么问题
作者: zambiafrog 发布时间: 2007-12-12
已经 chroot 了?
请仔细看手册。
请仔细看手册。
作者: tfkdmwmqtr 发布时间: 2007-12-12
重新查了一下,看来是没有移出编译目录的问题,准备重做第五章
http://www.linuxfromscratch.org/pipe...er/021058.html
http://linux.chinaunix.net/bbs/archiver/tid-905852.html
http://www.linuxfromscratch.org/pipe...er/021058.html
http://linux.chinaunix.net/bbs/archiver/tid-905852.html
作者: zambiafrog 发布时间: 2007-12-12
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28