LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error in Configuring Glibc section 5.7.1 (https://www.linuxquestions.org/questions/linux-from-scratch-13/error-in-configuring-glibc-section-5-7-1-a-4175439991/)

raza.ajmi 12-04-2012 07:34 AM

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

spiky0011 12-04-2012 07:37 AM

Hi

Can you post the output of version check plz

raza.ajmi 12-04-2012 08:05 AM

yes im new how can i check this??
can you plz tell me how to ?

raza.ajmi 12-04-2012 08:07 AM

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

spiky0011 12-04-2012 08:13 AM

Hi

Your host system is not compliant you need to fix all the failures

raza.ajmi 12-04-2012 08:16 AM

so what is the Soultion ??

spiky0011 12-04-2012 08:22 AM

Hi

You will need to install gawk tex info m4 bison. Bin sh must point to bash not dash

raza.ajmi 12-04-2012 09:03 AM

im new user so can you tell this procedure step by step?

spiky0011 12-04-2012 09:09 AM

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

TobiSGD 12-04-2012 09:20 AM

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.


All times are GMT -5. The time now is 02:45 AM.