warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d

2025-05-25 0 22

错误

安装sni-proxy过程中执行autoconf.sh出现如下错误:

[root@gu1234 sniproxy-master]# ./autogen.sh
configure.ac:18: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from...
/usr/share/aclocal/pkg.m4:102: PKG_CHECK_MODULES is expanded from...
configure.ac:18: the top level
configure.ac:18: warning: AC_LIB_PROG_LD is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:125: AC_LIB_RPATH is expanded from...
configure.ac:18: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from...
configure.ac:29: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
configure.ac:29: the top level
configure.ac:29: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:46: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
configure.ac:46: the top level
configure.ac:46: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:53: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
configure.ac:53: the top level
configure.ac:53: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:18: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from...
aclocal.m4:123: PKG_CHECK_MODULES is expanded from...
configure.ac:18: the top level
configure.ac:18: warning: AC_LIB_PROG_LD is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:125: AC_LIB_RPATH is expanded from...
configure.ac:18: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from...
configure.ac:29: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
configure.ac:29: the top level
configure.ac:29: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:46: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
configure.ac:46: the top level
configure.ac:46: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:53: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
configure.ac:53: the top level
configure.ac:53: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:18: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from...
aclocal.m4:123: PKG_CHECK_MODULES is expanded from...
configure.ac:18: the top level
configure.ac:18: warning: AC_LIB_PROG_LD is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:125: AC_LIB_RPATH is expanded from...
configure.ac:18: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from...
configure.ac:29: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
configure.ac:29: the top level
configure.ac:29: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:46: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
configure.ac:46: the top level
configure.ac:46: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure.ac:53: warning: AC_LIB_PREPARE_PREFIX is m4_require\'d but not m4_defun\'d
configure.ac:53: the top level
configure.ac:53: warning: AC_LIB_PREPARE_MULTILIB is m4_require\'d but not m4_defun\'d
configure:4008: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:4009: error: possibly undefined macro: AC_LIB_PROG_LD
configure:4127: error: possibly undefined macro: AC_LIB_PREPARE_MULTILIB
configure:4202: error: possibly undefined macro: AC_LIB_WITH_FINAL_PREFIX
autoreconf: /usr/bin/autoconf failed with exit status: 1

解决方法

# yum install gettext-devel
收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

快网idc优惠网 建站教程 warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d https://www.kuaiidc.com/51452.html

相关文章

发表评论
暂无评论