From cb2892d1e3fa9ba559fa30f9eb7f17b0c8ac743f Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Sun, 26 Sep 2004 09:25:41 +0000 Subject: [PATCH] Added --with-headers back to glibc chapter 5 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4214 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter05/glibc.xml | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2335b2ea5..e2ceb2f71 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -92,6 +92,11 @@ first a summary, then a detailed log. +September 25th, 2004 [jeremy]: Added the --with-headers flag +back to glibc chapter 5. Numerous reports on list indicated that without +this flag, glibc would grab headers from the host, rather than the ones we +installed to /tools/include. + September 25th, 2004 [jeremy]: Upgraded to hotplug-2004_09_23. This includes Alexander's improved isapnp detection script. diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index c16c4df17..cd60ae371 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -47,7 +47,7 @@ cd ../glibc-build ../glibc-&glibc-version;/configure --prefix=/tools \ --disable-profile --enable-add-ons \ --enable-kernel=2.6.0 --with-binutils=/tools/bin \ - --without-gd --without-cvs + --without-gd --without-cvs --with-headers=/tools/include The meaning of the configure options: @@ -106,6 +106,14 @@ snapshot. But it's not actually needed these days. We use it because it suppresses an annoying but harmless warning about a missing autoconf program. + + +--with-headers=/tools/include +This forces glibc to use the linux-libc-headers installed +in /tools/etc, rather than those on the host, which may be too old to +support needed functionality. + + During this stage you might see the following warning: