rtld-Rules:40: *** 这个 makefile 是 elf/Makefile 的一个子程序,不能直接使用。构建 glibc 时

rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc

提问人:7dog123 提问时间:10/27/2023 更新时间:10/27/2023 访问量:59

问:

我正在尝试在cygwin上构建glibc,但我一直收到此错误

[ALL  ]      rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly.  Stop.
[ALL  ]      make[4]: Leaving directory '/build/src/glibc-2.38/elf'
[ERROR]      make[3]: *** [Makefile:1315: /build/x86_64-pc-linux-gnu/build/build-libc/multilib/elf/rtld-libc.a] Error 2
[ERROR]      make[3]: *** Waiting for unfinished jobs....
[ALL  ]      make[3]: Leaving directory '/build/src/glibc-2.38/elf'
[ERROR]      make[2]: *** [Makefile:484: elf/subdir_lib] Error 2
[ALL  ]      make[2]: Leaving directory '/build/src/glibc-2.38'
[ERROR]      make[1]: *** [Makefile:9: all] Error 2
[ALL  ]      make[1]: Leaving directory '/build/x86_64-pc-linux-gnu/build/build-libc/multilib'

我正在通过crossingtool-ng构建它。

下面是它使用的配置:

/build/x86_64-pc-linux-gnu/src/glibc/configure --prefix=/usr --build=x86_64-build_pc-cygwin --host=x86_64-pc-linux-gnu --cache-file=/build/x86_64-pc-linux-gnu/build/build-libc/multilib/config.cache --without-cvs --disable-profile --without-gd --with-headers=/x-tools/}x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sysroot/usr/include --disable-debug --disable-sanity-checks --enable-kernel=6.5.5 --with-__thread --with-tls --enable-shared --enable-add-ons=no
Cygwin glibc

评论

0赞 Doug Henderson 10/28/2023
您需要订阅 cygwin 邮件列表并在那里提出您的问题。访问 cygwin.com 网站。
0赞 7dog123 10/29/2023
我该怎么做?我已经订阅了它,但我如何向它发送问题?
0赞 Doug Henderson 10/30/2023
只需用作电子邮件中的收件人地址即可。使用纯文本模式,而不是 html 模式。[email protected]
0赞 7dog123 10/30/2023
让我澄清一下。我该如何发送到cygwin,我该用什么?我该如何使用它。我是从 cygwin 命令行还是通过站点发送它。
0赞 Doug Henderson 10/31/2023
使用您的电子邮件应用程序,例如 gmail、outlook、thunderbird 等。作为收件人。[email protected]

答: 暂无答案