You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thank you for your efforts!
I've installed this extension on Ubuntu16.04, it works fine.
But I can't compile it on MacOS 10.11.5 (El Captain).
Could you help me with it?
Details:
php installed from brew.
$ php -v
PHP 7.0.26 (cli) (built: Dec 22 2017 09:20:13) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
$ sudo make && sudo make install
....
/Users/istranger/work/bin/xhprof/xhprof/extension/xhprof.c:721:43: error: use of undeclared identifier 'IS_UNDEF'
if (Z_TYPE(hp_globals.stats_count) == IS_UNDEF) {
^
/Users/istranger/work/bin/xhprof/xhprof/extension/xhprof.c:754:43: error: use of undeclared identifier 'IS_UNDEF'
if (Z_TYPE(hp_globals.stats_count) != IS_UNDEF) {
^
...
/Users/istranger/work/bin/xhprof/xhprof/extension/xhprof.c:842:31: error: no member named 'This' in 'struct _zend_execute_data'
zval *object = (data->This.value.obj) ? &(data->This) : NULL;
~~~~ ^
/Users/istranger/work/bin/xhprof/xhprof/extension/xhprof.c:842:57: error: no member named 'This' in 'struct _zend_execute_data'
zval *object = (data->This.value.obj) ? &(data->This) : NULL;
~~~~ ^
...
/Users/istranger/work/bin/xhprof/xhprof/extension/xhprof.c:861:17: error: use of undeclared identifier 'zend_string'; did you mean 'zend_strtod'?
zend_string *pattern_str = NULL;
^~~~~~~~~~~
zend_strtod
/usr/include/php/Zend/zend_strtod.h:30:17: note: 'zend_strtod' declared here
ZEND_API double zend_strtod(const char *s00, const char **se);
^
/Users/istranger/work/bin/xhprof/xhprof/extension/xhprof.c:861:30: error: use of undeclared identifier 'pattern_str'
zend_string *pattern_str = NULL;
^
The text was updated successfully, but these errors were encountered:
Hi! Thank you for your efforts!
I've installed this extension on Ubuntu16.04, it works fine.
But I can't compile it on MacOS 10.11.5 (El Captain).
Could you help me with it?
Details:
php installed from brew.
The text was updated successfully, but these errors were encountered: