3

我正在尝试在 ubuntu 12.04 上构建 util-linux。

但是会因此错误而停止:

libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [libblkid.la] Error 1

在谷歌搜索这个错误之后,在我看来这种错误与“交叉编译”有关。虽然我在原生环境中构建它。

链接期间发生错误libblkid

然后我尝试用 构建它./configure --disable-libblkid,然后它以同样的错误停止。这次它在构建时窒息libfdisk。事实证明我不能禁用 building libfdisk

所以我很好奇这个错误实际上意味着什么?

编辑:

./autogen.sh此期间出现错误。虽然它不会停止这个过程。

configure.ac:129: error: Could not locate the pkg-config autoconf
    macros. These are usually located in /usr/share/aclocal/pkg.m4.
    If your macros are in a different location, try setting the
    environment variable AL_OPTS="-I/other/macro/dir" before running
    ./autogen.sh or autoreconf again.
4

0 回答 0