|
|
主系统是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 |
|