This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: error while build glibc using kernel headers
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