LinuxSir.cn,穿越时空的Linuxsir!

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

失败了,第六章的Glibc测试没有通过,安装的时候失败

[复制链接]
发表于 2006-10-12 15:00:35 | 显示全部楼层 |阅读模式


测试报错,好像比常见的错误多了一个 [elf/tests] Error 2

NT -include include/libc-symbols.h       > /sources/glibc-build/c++-types-check
out                                                                           
make[1]: Target `check' not remade because of errors.                          
make[1]: Leaving directory `/sources/glibc-2.3.6'                              
make: *** [check] Error 2                                                      
root:/sources/glibc-build#                                                     
root:/sources/glibc-build# grep Error glibc-check-log               
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)   
make[2]: *** [/sources/glibc-build/nptl/tst-cond20.out] Error 1      
make[2]: *** [/sources/glibc-build/nptl/tst-cond21.out] Error 1      
make[1]: *** [nptl/tests] Error 2                                    
make[2]: *** [/sources/glibc-build/elf/tst-tls13.out] Error 1        
make[1]: *** [elf/tests] Error 2                                    
make: *** [check] Error 2   


然后安装的时候直接就报失败了
//make install Error!

Reducing stack by rule 2 (line 345), extdefs -> program                        
Stack now 0                                                                    
Entering state 1                                                               
Now at end of input.                                                           
/tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld: :
o such file: No such file or directory                                         
collect2: ld returned 1 exit status                                            
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.3.6'                              
make: *** [install] Error 2                                                   
root:/sources/glibc-build#
发表于 2006-10-21 22:55:34 | 显示全部楼层
我做的时候有一个test case是failed,可以忽略继续往下作。
回复 支持 反对

使用道具 举报

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

本版积分规则

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