glibc的头文件 linux_求助,编译glibc头文件时出错

我用的软件包如下:

binutils-2.16.tar.gz

gcc-3.4.4.tar.bz2

glibc-2.3.5.tar.gz

glibc-linuxthreads-2.3.5.tar.gz

linux-2.6.14.1.tar.gz

补丁:

ioperm.c.diff

flow.c.diff

t-linux.diff

想编译交叉工具链,用的编译指令是这样的:

[root@localhost build-glibc-headers]#../glibc-2.3.5/configure --host=${TARGET} --prefix=/usr \

>--enable-add-ons=linuxthreads --with-headers=${TARGET_PREFIX}/include

之前编译的内核头文件放在${TARGET_PREFIX}/include下

在进行到编译glibc头文件时出错,出错信息如下:

checking installed Linux kernel header files... TOO OLD!

configure: 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.

大虾们帮帮忙,谢谢了

作者: richardzzf

发布时间: 2006-08-09

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值