【问题标题】:lfs 7.2 compilation of glibc 2.16.0lfs 7.2 编译 glibc 2.16.0
【发布时间】:2012-09-13 21:34:57
【问题描述】:

我正在按照 lfs 中的过程制作一个 linux 系统。但是,当我在this page, 上执行第五步(即之前的那一步)时,我最后得到了一个错误。

 configure: error: linker with -z relro support required

在这之后,如果我调用 make 我得到一个错误

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

我在 ubuntu 12.04 机器上运行它。
如何解决此错误?

【问题讨论】:

  • ld -V ?谷歌当“-z relro”被添加到“binutils”时,我在 CentOS 6.x 上有“GNU ld 版本 2.20.51.0.2-5.34.el6 20100205”和“ld --help | grep relro' 表示我支持它。编译 glibc 不适合胆小的人,可能使用非 LTS 版本 12.10 或 Fedora16 的 beta,你可能会发现你已经有了 2.16.x

标签: linux glibc linux-from-scratch


【解决方案1】:

执行以下操作:-

sudo apt-get install gawk

然后重试。这对我有用。

【讨论】:

    猜你喜欢
    • 2013-04-02
    • 2013-03-25
    • 1970-01-01
    • 2016-07-04
    • 2015-07-20
    • 2011-12-10
    • 1970-01-01
    • 2023-03-31
    • 2011-05-20
    相关资源
    最近更新 更多