Closed mrlovables closed 2 years ago
报错信息
running: make /bin/bash /tmp/pear/temp/pear-build-root5G3OVY/hprose-1.8.0/libtool --mode=compile cc -I. -I/tmp/pear/temp/hprose -I/tmp/pear/temp/pear-build-root5G3OVY/hprose-1.8.0/include -I/tmp/pear/temp/pear-build-root5G3OVY/hprose-1.8.0/main -I/tmp/pear/temp/hprose -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/hprose/php_hprose.c -o php_hprose.lo -MMD -MF php_hprose.dep -MT php_hprose.lo mkdir .libs cc -I. -I/tmp/pear/temp/hprose -I/tmp/pear/temp/pear-build-root5G3OVY/hprose-1.8.0/include -I/tmp/pear/temp/pear-build-root5G3OVY/hprose-1.8.0/main -I/tmp/pear/temp/hprose -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/hprose/php_hprose.c -MMD -MF php_hprose.dep -MT php_hprose.lo -fPIC -DPIC -o .libs/php_hprose.o In file included from /tmp/pear/temp/hprose/hprose_tags.h:24, from /tmp/pear/temp/hprose/php_hprose.c:26: /tmp/pear/temp/hprose/hprose_common.h:532:102: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 532 | static zend_always_inline zend_bool _hprose_class_exists(zend_string *class_name, zend_bool autoload TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:561:105: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 561 | static zend_always_inline zend_bool hprose_class_exists(char *classname, size_t len, zend_bool autoload TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:571:101: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 571 | static zend_always_inline zend_bool hprose_has_property(zend_class_entry *ce, zval *obj, zval *prop TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:743:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 743 | PHP_HPROSE_API zend_fcall_info_cache __get_fcall_info_cache(zval *obj, char *name, int32_t len TSRMLS_DC); | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:745:86: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 745 | static zend_always_inline zend_fcall_info_cache _get_fcall_info_cache(zval *callable TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:768:120: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 768 | PHP_HPROSE_API void __function_invoke_args(zend_fcall_info_cache fcc, zval *obj, zval *return_value, zval *param_array TSRMLS_DC); | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:769:112: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 769 | PHP_HPROSE_API void __function_invoke(zend_fcall_info_cache fcc, zval *obj, zval *return_value, zend_bool dtor TSRMLS_DC, const char *params_format, ...); | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_common.h:786:104: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 786 | PHP_HPROSE_API zend_class_entry *__create_php_object(char *class_name, int32_t len, zval *return_value TSRMLS_DC, const char *params_format, ...); | ^~~~~~~~~ In file included from /tmp/pear/temp/hprose/php_hprose.c:27: /tmp/pear/temp/hprose/hprose_bytes_io.h:397:101: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 397 | static zend_always_inline int32_t _hprose_bytes_io_get_string_len(hprose_bytes_io *_this, int32_t n TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_bytes_io.h:453:126: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 453 | static zend_always_inline zend_string *_hprose_bytes_io_read_pstring(hprose_bytes_io *_this, int32_t n, zend_bool persistent TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_bytes_io.h:642:118: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 642 | static zend_always_inline void _hprose_bytes_io_read_string_to(hprose_bytes_io *from, hprose_bytes_io *to, int32_t n TSRMLS_DC) { | ^~~~~~~~~ In file included from /tmp/pear/temp/hprose/php_hprose.c:28: /tmp/pear/temp/hprose/hprose_class_manager.h:34:104: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 34 | PHP_HPROSE_API void _hprose_class_manager_register(char *name, int32_t nlen, char *alias, int32_t alen TSRMLS_DC); | ^~~~~~~~~ ...... /tmp/pear/temp/hprose/hprose_reader.h:450:111: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 450 | static zend_always_inline void hprose_reader_read_string_without_tag(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:455:100: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 455 | static zend_always_inline void _hprose_reader_read_string(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:478:99: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 478 | static zend_always_inline void hprose_reader_read_string(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:520:109: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 520 | static zend_always_inline void hprose_reader_read_list_without_tag(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:539:97: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 539 | static zend_always_inline void hprose_reader_read_list(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:558:108: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 558 | static zend_always_inline void hprose_reader_read_map_without_tag(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:589:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 589 | static zend_always_inline void hprose_reader_read_map(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:608:78: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 608 | static zend_always_inline void hprose_reader_read_class(hprose_reader *_this TSRMLS_DC) { | ^~~~~~~~~ /tmp/pear/temp/hprose/hprose_reader.h:650:111: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’ 650 | static zend_always_inline void hprose_reader_read_object_without_tag(hprose_reader *_this, zval *return_value TSRMLS_DC) { | ^~~~~~~~~ make: *** [Makefile:205:php_hprose.lo] 错误 1
php 8 还没研究过,需要懂的人看看,我暂时木有精力来改这个了,太难了😂
邮件已收到!
报错信息