LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-04-2012, 07:34 AM   #1
raza.ajmi
Member
 
Registered: Dec 2012
Location: Lahore,Pakistan
Distribution: Ubuntu 12.10
Posts: 35

Rep: Reputation: Disabled
Error in Configuring Glibc section 5.7.1


configure: error: linker with -z relro support required

this is error when i configure for make
../glibc-2.16.0/configure \
--prefix=/tools \
--host=$LFS_TGT \
--build=$(../glibc-2.16.0/scripts/config.guess) \
--disable-profile \
--enable-add-ons \
--enable-kernel=2.6.25 \
--with-headers=/tools/include \
libc_cv_forced_unwind=yes \
libc_cv_ctors_header=yes \
libc_cv_c_cleanup=yes

these instruction are using for that
 
Old 12-04-2012, 07:37 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

Can you post the output of version check plz
 
1 members found this post helpful.
Old 12-04-2012, 08:05 AM   #3
raza.ajmi
Member
 
Registered: Dec 2012
Location: Lahore,Pakistan
Distribution: Ubuntu 12.10
Posts: 35

Original Poster
Rep: Reputation: Disabled
yes im new how can i check this??
can you plz tell me how to ?
 
Old 12-04-2012, 08:07 AM   #4
raza.ajmi
Member
 
Registered: Dec 2012
Location: Lahore,Pakistan
Distribution: Ubuntu 12.10
Posts: 35

Original Poster
Rep: Reputation: Disabled
bash, version 4.2.37(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
version-check.sh: line 8: bison: command not found
yacc not found
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
version-check.sh: line 17: gawk: command not found
/usr/bin/awk -> /usr/bin/mawk
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
(Ubuntu EGLIBC 2.15-0ubuntu20) 2.15
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.5.0-17-generic (buildd@allspice) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
version-check.sh: line 27: m4: command not found
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
version-check.sh: line 33: makeinfo: command not found
Texinfo:
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
 
Old 12-04-2012, 08:13 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

Your host system is not compliant you need to fix all the failures
 
1 members found this post helpful.
Old 12-04-2012, 08:16 AM   #6
raza.ajmi
Member
 
Registered: Dec 2012
Location: Lahore,Pakistan
Distribution: Ubuntu 12.10
Posts: 35

Original Poster
Rep: Reputation: Disabled
so what is the Soultion ??
 
Old 12-04-2012, 08:22 AM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

You will need to install gawk tex info m4 bison. Bin sh must point to bash not dash
 
Old 12-04-2012, 09:03 AM   #8
raza.ajmi
Member
 
Registered: Dec 2012
Location: Lahore,Pakistan
Distribution: Ubuntu 12.10
Posts: 35

Original Poster
Rep: Reputation: Disabled
im new user so can you tell this procedure step by step?
 
Old 12-04-2012, 09:09 AM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

Being a new user im not sure lfs
Is for you. There will be many problems
along the way that you will have to fix by yourselg
I would get some knowledge about linux 1st
 
Old 12-04-2012, 09:20 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,364
Blog Entries: 2

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
There is a good reason why LFS has setup a site which lists the prerequisites you should fulfill before you start your LFS build: http://www.linuxfromscratch.org/lfs/...equisites.html
LFS is a project that shows you the inner workings of a Linux system with guiding you through building a system from scratch. For that learning experience you need to have a decent knowledge about several things, namely those things that are listed on the prerequisites site.
If you don't have that knowledge you will learn nothing from LFS besides how to copy&paste commands.
I strongly recommend to first learn the basics and than try LFS again. Learn to walk before trying to run.
 
1 members found this post helpful.
  


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 in section 6.9. Glibc-2.14.1 :( k84834 Linux From Scratch 5 08-22-2012 02:42 AM
[SOLVED] section 6.9 Glibc error spiky0011 Linux From Scratch 2 10-23-2011 02:54 AM
Error in Section 6.9 glibc-2.8-20080929 FarRed Linux From Scratch 0 04-09-2009 09:16 AM
Error in section 5.7, glibc-2.8-20080929 build FarRed Linux From Scratch 3 04-01-2009 07:39 PM
i have an error with the Glibc package in the section 5.7 robineecc1 Linux From Scratch 1 12-16-2008 04:26 AM


All times are GMT -5. The time now is 06:01 AM.

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