LFS6.3-rc2在6.9. Glibc-2.5.1安装出错
时间:2007-09-02
来源:互联网
CC="gcc" /usr/bin/perl scripts/test-installation.pl /sources/glibc-build/
cc1: error: unrecognized command line option "-WL,-dynamic-linker=/lib/ld-linux.so.2"
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,
libm.so should point to the newly installed glibc file - and there should be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/sources/glibc-2.5.1'
make: *** [install] Error 2
不知怎样解决!
希望高手能指点一下!
作者: 0626 发布时间: 2007-09-02
make[2]: *** [/sources/glibc-build/dlfcn/bug-atexit3.out] Error 1
make[1]: *** [dlfcn/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-mutex8.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-mutexpi8.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cond8.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancel24.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx4.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx5.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx16.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx20.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx21.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cleanupx4.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2
请大家帮忙看看是那里出了问题!
作者: 0626 发布时间: 2007-09-02
作者: 0626
在etch上进行到6.9. Glibc-2.5.1在make install时出现错误
CC="gcc" /usr/bin/perl scripts/test-installation.pl /sources/glibc-build/ cc1: error: unrecognized command line option "-WL,-dynamic-linker=/lib/ld-linux.so.2" Execution of gcc failed! The script has found some problems with your installation! Please read the FAQ and the README file and check the following: - Did you change the gcc specs file (necessary after upgrading from Linux libc5)? - Are there any symbolic links of the form libXXX.so to old libraries? Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong, libm.so should point to the newly installed glibc file - and there should be only one such link (check e.g. /lib and /usr/lib) You should restart this script from your build directory after you've fixed all problems! Btw. the script doesn't work if you're installing GNU libc not as your primary library! make[1]: *** [install] Error 1 make[1]: Leaving directory `/sources/glibc-2.5.1' make: *** [install] Error 2 不知怎样解决! 希望高手能指点一下! |
http://www.linuxfromscratch.org/lfs/...r06/glibc.html
作者: d00m3d 发布时间: 2007-09-02
作者: 0626 发布时间: 2007-09-02
作者: 红烧鸟 发布时间: 2007-09-14
作者: stahine 发布时间: 2007-10-29
完全按照手册上来的...到6.11 Glibc-2.3.4时操作
make -k check >glibc-check-log 2>&1
grep Error glibc-check-log
发现这样的错误.....
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx4.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx5.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx16.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx17.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx20.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancelx21.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cleanupx4.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2
查看LFS FAQ没有发现解决方法.....
在google上搜到这来了....
如果不管的话继续执行到make -C ../glibc-2.3.4/linuxthreads/man
则发生这样的错误..
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.4 objdir='pwd' C
make[1]: Entering directory '/sources/glibc-2.3.4'
make[1]: ***No rule to make target 'C'. Stop.
make[1]: Leaving directory '/sources/glibc-2.3.4'
make: *** [C] Error 2
我是一个新手....遇到这样的问题确实是没有辙了....
楼主怎么解决这个问题的,帮帮忙,不吝赐教?谢谢....
作者: cashkan 发布时间: 2007-12-21
作者: d00m3d 发布时间: 2007-12-22
很明显是参数错了,那个 -WL 中的L应该是小写。
这些容易混淆的命令还是直接copy过去的比较好~
作者: anbutu 发布时间: 2008-03-29
作者: anbutu
error: unrecognized command line option "-WL,-dynamic-linker=/lib/ld-linux.so.2"
很明显是参数错了,那个 -WL 中的L应该是小写。 这些容易混淆的命令还是直接copy过去的比较好~ |
作者: 地球发动机 发布时间: 2008-03-29
作者: 地球发动机
这个设置不了的,是脚本里面生成的。
|
作者: anbutu 发布时间: 2008-03-30
make[2]:***[/mnt/lfs/sources/glibc-build/dlfcn/bug-atexit3.out] error 1
不管它继续make install 最终如图:
不知是哪里错了。
或者还是可以继续,不明白.请帮忙说说看。
glibc_make_install.PNG (22.0 KB, 16 次查看) |
作者: life_31 发布时间: 2008-11-27
你已经安装成功,继续下一步吧。
我发现楼上的比较可爱,装binutils时就用binutil命令来测试,装glibc就用glibc命令来测试,好玩,哈哈。其实每个包安装了哪些内容,手册里都列出来了,不过都放到了第6章。你只要仔细看看就不会乱测试了。
作者: ti8er 发布时间: 2008-11-27
手册会告诉你每个包装了什麽!
作者: d00m3d 发布时间: 2008-11-27
已经改错,详细看lfs手册.谢谢
谢谢ti8er.
还需要你们继续多多指导.再谢.
作者: life_31 发布时间: 2008-11-28
LFS手册上的宿主需求只是指明要 perl,但 debian 基本系统默认安装的是 perl-base,不符合要求的。
另,请确定您生成的临时系统中的perl(5.28. Perl)是完整版本。
作者: 聚焦深空 发布时间: 2008-11-28
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28