求助...Glibc编译问题
时间:2007-10-20
来源:互联网
一切都很好,直到chroot后开始安装glibc。
解包,打补丁,configure时,问题来了:
checking for suffix of object files... configure:erreor:cannot computesuffix of object files:cannot compile.
我试着GCC编译一个最简单的程序,它提示:
installation problem, cannot exec
'/tools/lib/gcc/i686-pc-linux-gnu/4.0.3../../../../i686-pc-linux-gnu/bin/as':No such file or directory
我猜我肯定漏了什么,不过怎么也找不到啊~
本人第一次玩LFS,盼指教。。。
作者: stahine 发布时间: 2007-10-20
自带的在 /lfs-sources 目录下。
作者: tfkdmwmqtr 发布时间: 2007-10-20
作者: stahine 发布时间: 2007-10-20
http://www.linuxfromscratch.org/lfs/.../hostreqs.html
把结果帖出来。
作者: tfkdmwmqtr 发布时间: 2007-10-20
作者: stahine 发布时间: 2007-10-20
cat > version-check.sh << "EOF" #!/bin/bash # Simple script to list version numbers of critical development tools bash --version | head -n1 | cut -d" " -f2-4 echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4 bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 diff --version | head -n1 find --version | head -n1 gawk --version | head -n1 gcc --version | head -n1 /lib/libc.so.6 | head -n1 | cut -d" " -f1-7 grep --version | head -n1 gzip --version | head -n1 cat /proc/version | head -n1 | cut -d" " -f1-3,5-7 make --version | head -n1 patch --version | head -n1 sed --version | head -n1 tar --version | head -n1 EOF bash version-check.sh
作者: tfkdmwmqtr 发布时间: 2007-10-20
Binutills:version-check.sh: line 2 :/tools/bin/ld: NO such file or directory
version-check.sh:such file or directory
version-check.sh: line 9:/lib/libc.so.6: No such file or directory
但是我明明有/tools/bin/ld啊~~
作者: stahine 发布时间: 2007-10-20
作者: stahine 发布时间: 2007-10-20
ln -sv /tools/lib/libc.so.6 /lib/
ln -sv /tools/bin/ld /bin/
作者: tfkdmwmqtr 发布时间: 2007-10-20
I cleaned my hard drive and installed an linux.
But I connected to the net just now ,it have some problem~~and I have'nt installed scim yet.
作者: stahine 发布时间: 2007-10-26
scim-1.4.6.tar.gz
scim-tables-0.5.7.tar.gz
scim-pinyin-0.5.91.tar.gz
作者: tfkdmwmqtr 发布时间: 2007-10-26
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28