試圖根據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