- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2017-4-15 19:46:14
|
显示全部楼层
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c: In function 鈥榸if_openssl_decrypt鈥?
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:4925:17: error: storage size of 鈥榗ipher_ctx鈥?isn鈥檛 known
EVP_CIPHER_CTX cipher_ctx;
^
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c: In function 鈥榸if_openssl_dh_compute_key鈥?
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5045:33: error: dereferencing pointer to incomplete type
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5045:64: error: dereferencing pointer to incomplete type
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
In file included from /root/lnmp1.3-full/src/php-5.4.45/Zend/zend.h:237:0,
from /root/lnmp1.3-full/src/php-5.4.45/main/php.h:34,
from /root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:29:
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5051:29: error: dereferencing pointer to incomplete type
data = emalloc(DH_size(pkey->pkey.dh) + 1);
^
/root/lnmp1.3-full/src/php-5.4.45/Zend/zend_alloc.h:70:38: note: in definition of macro 鈥榚malloc鈥? #define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5052:54: error: dereferencing pointer to incomplete type
len = DH_compute_key((unsigned char*)data, pub, pkey->pkey.dh);
^
make: *** [ext/openssl/openssl.lo] Error 1
动过openssl吗,看日志是openssl的问题
你执行 openssl version 看看openssl版本 |
|