Compile and install php7 extension msgpack2.0.1 in ubuntu16.04

Source: Internet
Author: User
The following error is prompted: C language is missing and msgpack is checked. c source code does not know if the processing, hope high hand help datasoftwaresphp-7.1.0beta3extmsgpack-2.0.1msgpack.c: Infunction 'ps _ srlzr_decode_msgpack ': datasoftwaresphp-7.1 .... the following error is prompted: C language is missing and msgpack is checked. c source code does not know if it is processed.

/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

Reply content:

The following error is prompted: I forgot the c language and checked the source code of msgpack. c. I don't know how to handle it.

/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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.