IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    erlang 17 宏定义 AC_ERLANG_SUBST_ERTS_VER

    DLive发表于 2015-09-12 07:11:18
    love 0

    在编译某个库时,报如下错误

    configure.ac:448: error: possibly undefined macro: AC_ERLANG_SUBST_ERTS_VER
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.

    那是因为erlang 17版本之后,就没有把宏AC_ERLANG_SUBST_ERTS_VER放入到啥啥啥进去了。

    AC_ERLANG_SUBST_ERTS_VER这个宏被列入到gnu的库里。但是系统的autoconf工具的版本又比较低(2.63)。这个宏也没有被列入这个版本里。

    解决方案:

    升级autoconf到最新版2.69。这其中也升级了automake libtool这两个工具。

    其实不学无术的我根本不知道这个宏被定义在哪个工具包里。

    erlang 17 宏定义 AC_ERLANG_SUBST_ERTS_VER - 第1张  | DLive

     



沪ICP备19023445号-2号
友情链接