4

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
AvinashK
  • 3,309
  • 8
  • 43
  • 94
  • ld -V ? google for when "-z relro" was added to "binutils", I have 'GNU ld version 2.20.51.0.2-5.34.el6 20100205' on CentOS 6.x and ' ld --help | grep relro' implies I support it. Compiling glibc is not for the faint hearted, maybe use beta of a non LTS release 12.10, or Fedora16 and you may find you already have 2.16.x – Darryl Miles Sep 13 '12 at 22:02

1 Answers1

6

Do the following:-

sudo apt-get install gawk

and then retry. This worked for me.

AvinashK
  • 3,309
  • 8
  • 43
  • 94