Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac 上使用pecl 安装失败 #101

Open
jackwangshukai opened this issue Sep 5, 2019 · 0 comments
Open

mac 上使用pecl 安装失败 #101

jackwangshukai opened this issue Sep 5, 2019 · 0 comments

Comments

@jackwangshukai
Copy link

截取了一部分错误
^~~~
/private/tmp/pear/temp/trace/extension/trace.c:379:38: warning: incompatible pointer types passing 'zend_string *' (aka 'struct _zend_string *') to parameter of type 'const char ' [-Wincompatible-pointer-types]
frame->function = sdsnew(zf->common.function_name);
/usr/local/Cellar/php@7.1/7.1.25/include/php/Zend/zend_types.h:514:28: note: expanded from macro 'Z_LVAL_P'
#define Z_LVAL_P(zval_p) Z_LVAL(
(zval_p))
^~~~~~~~~~~~~~~~~
/usr/local/Cellar/php@7.1/7.1.25/include/php/Zend/zend_types.h:513:25: note: expanded from macro 'Z_LVAL'
#define Z_LVAL(zval) (zval).value.lval
^~~~~~~~~~~~~~~~~
/private/tmp/pear/temp/trace/extension/trace.c:909:29: error: no member named 'return_value_ptr_ptr' in 'struct _zend_executor_globals'
if (!internal && EG(return_value_ptr_ptr) == NULL) {
~~~^~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/php@7.1/7.1.25/include/php/Zend/zend_globals_macros.h:46:34: note: expanded from macro 'EG'

define EG(v) (executor_globals.v)

            ~~~~~~~~~~~~~~~~ ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]
16 warnings and 20 errors generated.
make: *** [trace.lo] Error 1
ERROR: `make' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant