Home > Article > Backend Development > Compile and install the php7 expansion msgpack2.0.1 under ubuntu16.04
The following error message appears: I forgot all about the C language. I checked the source code of msgpack.c and I don’t know how to solve it. I hope an expert can help me
/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
The following error message appears: I forgot all about the C language. I checked the source code of msgpack.c and I don’t know how to solve it. I hope an expert can help me
/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