Compile and install PHP7 extensions under ubuntu16.04 msgpack2.0.1

Source: Internet
Author: User
Prompt the following error: C language forgot, check the source of msgpack.c do not know if processing, Hope Master Help

/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:

Prompt the following error: C language forgot, check the source of msgpack.c do not know if processing, Hope Master Help

/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.