LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 05-21-2011, 05:39 PM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
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.
 
Old 05-22-2011, 05:11 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling Glibc-2.12.1 in LFS 6.7 poisoning Linux From Scratch 2 05-22-2011 12:09 AM
make errors while compiling glibc-2.10.1 in LFS - 6.5 _Linux_Learner Linux From Scratch 7 03-29-2011 02:30 AM
Lfs 6.3, Step 6.9 - Compiling Glibc-2.5.1 lszanto Linux From Scratch 2 02-09-2010 08:19 PM
LFS 6.0 Chapter 6: compiling glibc problem Sakur Linux From Scratch 3 08-13-2005 11:39 PM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration