LinuxSir.cn,穿越时空的Linuxsir!

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

求助:关于glibc的安装和配置问题!

[复制链接]
发表于 2004-7-31 09:32:55 | 显示全部楼层 |阅读模式
俺是linux初学者,近日准备安装LFS,使用的是 SVN-20040723
在第一次编译glibc 的时候,无法make, configure也总出问题!
俺用的是 Glibc-2.3.4-20040701
按照文档上的步骤:
------------------------------------------------------------------
../glibc-2.3.4-20040701/configure --prefix=/tools \
  --disable-profile --enable-add-ons=nptl --with-tls \
  --with-binutils=/tools/bin --without-gd --without-cvs \
  --with-headers=/tools/glibc-kernheaders
  
出现下面的错误:

running configure fragment for sysdeps/i386/elf
running configure fragment for libidn/sysdeps/unix
running configure fragment for nptl/sysdeps/pthread
configure: error: CFI directive support in assembler is required

-------------------------------------------------------------------  
../glibc-2.3.4-20040701/configure --prefix=/tools

如果配置只是加目录的话,出现下面问题:

running configure fragment for sysdeps/i386/elf
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on.  Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.

---------------------------------------------------------------------
请求高人指点一二,253!
 楼主| 发表于 2004-7-31 11:35:55 | 显示全部楼层
全部重新编译了,这回没问题了!  

checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for symlinks in /tools/include... ok
running configure fragment for sysdeps/unix/common
running configure fragment for sysdeps/unix
running configure fragment for sysdeps/generic
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
configure: configuring in nptl
configure: running /bin/sh '../../glibc-2.3.4-20040701/nptl/configure' --prefix=/tools  '--prefix=/tools' '--disable-profile' '--enable-add-ons=nptl' '--with-tls' '--with-binutils=/tools/bin' '--without-gd' '--without-cvs' '--with-headers=/tools/glibc-kernheaders' --cache-file=/dev/null --srcdir=../../glibc-2.3.4-20040701/nptl


这次没问题了,不过看来一般来说,就算是给错误,我估计也很少有人能解答了!
我发现文档一般来说肯定没问题,出错的一般来说都是自己某一步或几步出错了!
自己好好检查吧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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