当前位置: 技术问答>linux和unix
拾建交叉编译工具链时,遇到的问题。
来源: 互联网 发布时间:2016-08-11
本文导语: 在下面安装glibc库时碰到了新的问题, 当执行命令:CC=arm-linux-gcc ../glibc-2.2.3/configure --host=$TARGET --prefix="/usr" --enable-add-ons --with-headers=$TARGET_PREFIX/include running configure fragment for ../glibc-2.2.3/sysdeps/unix/sysv/linux checking...
在下面安装glibc库时碰到了新的问题,
当执行命令:CC=arm-linux-gcc ../glibc-2.2.3/configure --host=$TARGET --prefix="/usr" --enable-add-ons --with-headers=$TARGET_PREFIX/include
glibc库为glibc-2.2.3。
大家给帮忙看一下。
当执行命令:CC=arm-linux-gcc ../glibc-2.2.3/configure --host=$TARGET --prefix="/usr" --enable-add-ons --with-headers=$TARGET_PREFIX/include
running configure fragment for ../glibc-2.2.3/sysdeps/unix/sysv/linux
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 , 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.
glibc库为glibc-2.2.3。
大家给帮忙看一下。
|
给你个参考:
http://blog.csdn.net/ruixj/archive/2009/05/30/4225886.aspx
http://blog.csdn.net/ruixj/archive/2009/05/30/4225886.aspx
|
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
你的kernel的头文件太老了
Linux 2.0.10 or later to be installed before configuring.
你的kernel的头文件太老了
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。