Error compiling Glibc-2.12.1 in LFS 6.7
Hi, with LFS 6.7 and I have an error when I compile Glibc.2.12.1:
patch -Np1 -i ../glibc-2.12.1-gcc_fix-1.patch
patch -Np1 -i ../glibc-2.12.1-makefile_fix-1.patch
mkdir -v ../glibc-build
cd ../glibc-build
case `uname -m` in
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
esac
Next, prepare Glibc for compilation:
../glibc-2.12.1/configure --prefix=/tools \
--host=$LFS_TGT --build=$(../glibc-2.12.1/scripts/config.guess) \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.22.5 --with-headers=/tools/include \
libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes
The error:
checking for i386 TLS support.... yes
running configure fragment for sysdeps/mach/hurd
configure: Warning: --prefix= (empty) is required for GNU/Hurd to work normally
checking Hurd header version... bad
configure: error: Hurd headers not installed or too old
help me.
|