error while build glibc using kernel headers

蔡述宪 caishuxian@gmail.com
Mon Dec 14 04:27:00 GMT 2009


On Sat, Dec 12, 2009 at 4:06 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Thursday 10 December 2009 21:37:21 蔡述宪 wrote:
>> While I was tring to build glibc-2.11, I encountered the following
>> error during make:
>>
>> [diviner@VSATv glibc-build]$ ../glibc-2.11/configure --prefix=/usr
>> --with-headers=/usr/src/linux/include --enable-kernel=2.6.16
>
> your with-headers is wrong.  never build against raw kernel sources.  only use
> sanitized installed user headers.
> -mike
>

Thank you, Mike. I have installed sanitised kernel headers to
/usr/include and solved this problem.
I got the impression that glibc could be built with raw kernel headers
from the link below:

http://www.linuxfromscratch.org/pipermail/faq/2004-July/000159.html

Seems it's not accurate.

Shuxian



More information about the Libc-help mailing list