Home > Backend Development > PHP Tutorial > Compile and install the php7 expansion msgpack2.0.1 under ubuntu16.04

Compile and install the php7 expansion msgpack2.0.1 under ubuntu16.04

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-25 10:37:28
Original
1395 people have browsed it

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>
Copy after login
Copy after login
Copy after login
Copy after login

/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>
Copy after login
Copy after login
Copy after login
Copy after login

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

Reply content:

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>
Copy after login
Copy after login
Copy after login
Copy after login

/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>
Copy after login
Copy after login
Copy after login
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template