试图根据MD5 engine的示例代码创建OpenSSL引擎。该readme
文件说,我必须使用下面的命令,以建立发动机:可能未定义的宏:AC_MSG_FAILURE
$ autoreconf -i
$ ./configure
$ make
到目前为止好。问题是,当我执行autoreconf -i
产生一个错误:
configure.ac:18: error: possibly undefined macro: AC_MSG_FAILURE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
我不得不提,我已经安装了所有需要的工具(的autoconf,automake的,libtool的,pkg配置),我用尽了所有的搜索结果在首页上。
如果我使用命令autoreconf -vi
,错误不会显示,但生成文件不会生成,因此我无法完成生成过程。
我的操作系统是Ubuntu 14.04 64位,OpenSSL版本是1.0.1f 2014年1月6日。
我在做什么错?问题是什么?
OpenSSL不使用Autotools和朋友。他们有自己的构建系统。请参阅OpenSSL wiki上的[编译和安装](https://wiki.openssl.org/index.php/Compilation_and_Installation)。 – jww
一个发动机的最简单的例子是位于[' /crypto/engine/eng_rdrand.c'](http://github.com/openssl/openssl/blob/master/crypto/engine/eng_rdrand英特尔RDRAND引擎。C)。 –
jww