linuxglibclinux-from-scratch

lfs 7.2 compilation of glibc 2.16.0


I am making an linux system following the procedure in lfs. But while i was following the fifth step(i.e. the one before make) on this page, i get an error at the last.

 configure: error: linker with -z relro support required

Now after this if i call make i get an error

 make: *** No targets specified and no makefile found.  Stop.

I am running this on a ubuntu 12.04 machine.
How to fix this error?


Solution

  • Do the following:-

    sudo apt-get install gawk
    

    and then retry. This worked for me.