LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error compiling Glibc-2.12.1 in LFS 6.7 (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-compiling-glibc-2-12-1-in-lfs-6-7-a-882011/)

poisoning 05-21-2011 05:39 PM

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.

druuna 05-22-2011 05:11 AM

Hi,

Assuming this is chapter 5.7 (please provide that information next time you post).

This looks suspicious:
Code:

configure: Warning: --prefix= (empty) is required for GNU/Hurd to work normally
Did you make a typo when issuing the configure command?


All times are GMT -5. The time now is 12:37 PM.