LinuxSir.cn,穿越时空的Linuxsir!

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

glibc-2.3.6的问题

[复制链接]
发表于 2006-12-9 01:52:18 | 显示全部楼层 |阅读模式
在第五章安装glibc-2.3.6时遇到一下问题,有谁能帮我解决一下????checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
 楼主| 发表于 2006-12-9 01:57:26 | 显示全部楼层
config.log太长了无发贴到上面,我用的始ubuntu6.10的,google了一下,发现许多外国人也遇到了想同的问题,但是不知道如何解决
回复 支持 反对

使用道具 举报

发表于 2006-12-11 17:54:00 | 显示全部楼层
我只能建议你用 livecd 先试一下,看看能不能通过这一步。我推测可能是你的 ubuntu 太新,导致 gcc 的版本也比较新,可能会有问题。

我之前用 Fedore Core 6 编译 jhalfs 时也是始终通不过 binutils 这一步,gcc 报告 /tools/bin/ld 的 --hash-style=gnu 无效:
  1. gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386linux.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
  2. /tools/bin/ld: unrecognized option '--hash-style=gnu'
  3. /tools/bin/ld: use the --help option for usage information
  4. collect2: ld returned 1 exit status
  5. make[2]: *** [ld-new] Error 1
  6. make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
  7. make[1]: *** [all-recursive] Error 1
  8. make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
  9. make: *** [all-recursive-am] Error 2
  10. make: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
复制代码


后来我直接用 livecd 却完全可以。
回复 支持 反对

使用道具 举报

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

本版积分规则

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