LinuxSir.cn,穿越时空的Linuxsir!

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

安装Glibc-2.3.2时 configure 出错

[复制链接]
发表于 2004-7-6 16:26:32 | 显示全部楼层 |阅读模式
主系统是redhat7.3,LFS版本是 CVS-20040109,安装到 第5章.创建临时系统 的 安装Glibc-2.3.2 时,作configure 时出问题了

好像是说linux的内核头文件的版本低了?
可我前面刚安装 Linux-2.4.24 的头文件啊?

下面是作configure 时的最后几行:
lfs:/lfs/sources/glibc-build$../glibc-2.3.2/configure --prefix=/tools \
    --disable-profile --enable-add-ons \
    --with-headers=/tools/include \
    --with-binutils=/tools/bin \
    --without-gd
...
...
...
running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/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'.
lfs:/lfs/sources/glibc-build$


得到的 config.log 最后几行是:

## ----------- ##
## confdefs.h. ##
## ----------- ##
...
...
...
#define NO_UNDERSCORES 1
#define PACKAGE_BUGREPORT "glibc"
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#define PI_STATIC_AND_HIDDEN 1
#define SIZEOF_LONG_DOUBLE 12
#define STDC_HEADERS 1
#define USE_REGPARMS 1

configure: exit 1
 楼主| 发表于 2004-7-6 20:54:01 | 显示全部楼层
是我自己的错

我没有解压缩 glibc-linuxthreads 包
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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