|

楼主 |
发表于 2004-2-19 00:47:58
|
显示全部楼层
Installing Glibc-2.3.2 出错
$ ../glibc-2.3.2/configure --prefix=/tools \
--disable-profile --enable-add-ons \
--with-headers=/tools/include \
--with-binutils=/tools/bin \
--without-gd
configure:72: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.
说是kernel headers版本太老. 一开始怀疑是前面安装内核头文件不成功, 于是重新把内核头文件安装了一次. 问题依旧.
仔细想想: 这句命令中内核头文件在/tools/include里找, 可是前面安装内核头文件时候, 好像是把头文件安装在$LFS/sources/linux-2.4.22/include/linux/里面的啊.
不知道什么地方出错了. |
|