Rumah  >  Artikel  >  pembangunan bahagian belakang  >  在ubuntu16.04下编译安装php7的扩张msgpack2.0.1

在ubuntu16.04下编译安装php7的扩张msgpack2.0.1

WBOY
WBOYasal
2016-08-25 10:37:281334semak imbas

提示如下错误:C语言忘光了,查看了msgpack.c的源码 不知道如果处理,望高手帮助

/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c: In function ‘ps_srlzr_decode_msgpack’:
/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c:161:29: error: storage size of ‘var_hash’ isn’t known
msgpack_unserialize_data_t var_hash;

<code>                         ^</code>

/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c: In function ‘php_msgpack_unserialize’:
/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c:211:29: error: storage size of ‘var_hash’ isn’t known
msgpack_unserialize_data_t var_hash;

<code>                         ^</code>

Makefile:193: recipe for target 'msgpack.lo' failed
make: * [msgpack.lo] Error 1

回复内容:

提示如下错误:C语言忘光了,查看了msgpack.c的源码 不知道如果处理,望高手帮助

/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c: In function ‘ps_srlzr_decode_msgpack’:
/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c:161:29: error: storage size of ‘var_hash’ isn’t known
msgpack_unserialize_data_t var_hash;

<code>                         ^</code>

/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c: In function ‘php_msgpack_unserialize’:
/data/softwares/php-7.1.0beta3/ext/msgpack-2.0.1/msgpack.c:211:29: error: storage size of ‘var_hash’ isn’t known
msgpack_unserialize_data_t var_hash;

<code>                         ^</code>

Makefile:193: recipe for target 'msgpack.lo' failed
make: * [msgpack.lo] Error 1

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn