在ubuntu16.04下编译安装php7的扩张msgpack2.0.1
/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;
^
/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;
^
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;
^
/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;
^
Makefile:193: recipe for target 'msgpack.lo' failed
make: * [msgpack.lo] Error 1
推荐阅读
-
CentOS下PHP7的编译安装及MySQL的支持和一些常见问题的解决办法
-
DJI guidance SDK在Ubuntu16.04环境下的安装配置
-
在openSUSE42.1下编译安装PHP7 的方法
-
Gearman::XS在Centos下的编译安装方法
-
Ns3学习手记7——ns-3在ubuntu16.04下的安装以及eclipse结合开发过程记录
-
分布式队列服务MemcacheQ在Linux系统下的编译安装
-
在openSUSE42.1下编译安装PHP7 的方法,
-
CentOS下PHP7的编译安装及MySQL的支持和一些常见问题的解决办法_php实例
-
CentOS下PHP7的编译安装及MySQL的支持和一些常见问题的解决办法_php实例
-
在ubuntu16.04下编译安装php7的扩张msgpack2.0.1