$ make /bin/sh //xhprof/extension/libtool --mode=compile cc -I. -I//xhprof/extension -DPHP_ATOM_INC -I//xhprof/extension/include -I//xhprof/extension/main -I//xhprof/extension -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/main -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/TSRM -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/ext -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c //xhprof/extension/xhprof.c -o xhprof.lo cc -I. -I//xhprof/extension -DPHP_ATOM_INC -I//xhprof/extension/include -I//xhprof/extension/main -I//xhprof/extension -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/main -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/TSRM -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/ext -I/usr/local/Cellar/php70/7.0.0-rc.6/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c //xhprof/extension/xhprof.c -fno-common -DPIC -o .libs/xhprof.o //xhprof/extension/xhprof.c:667:5: warning: implicit declaration of function 'FREE_ZVAL' is invalid in C99 [-Wimplicit-function-declaration] FREE_ZVAL(hp_globals.stats_count); ^ //xhprof/extension/xhprof.c:669:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' is invalid in C99 [-Wimplicit-function-declaration] MAKE_STD_ZVAL(hp_globals.stats_count); ^ //xhprof/extension/xhprof.c:936:23: error: no member named 'function_state' in 'struct _zend_execute_data' curr_func = data->function_state.function; ~~~~ ^ //xhprof/extension/xhprof.c:939:10: warning: incompatible pointer types assigning to 'const char *' from 'zend_string *' (aka 'struct _zend_string *') [-Wincompatible-pointer-types] func = curr_func->common.function_name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //xhprof/extension/xhprof.c:950:13: warning: incompatible pointer types assigning to 'const char *' from 'zend_string *' (aka 'struct _zend_string *') [-Wincompatible-pointer-types] cls = curr_func->common.scope->name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //xhprof/extension/xhprof.c:951:24: error: no member named 'object' in 'struct _zend_execute_data' } else if (data->object) { ~~~~ ^ //xhprof/extension/xhprof.c:952:30: error: no member named 'object' in 'struct _zend_execute_data' cls = Z_OBJCE(*data->object)->name; ~~~~ ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_types.h:542:33: note: expanded from macro 'Z_OBJCE' #define Z_OBJCE(zval) (Z_OBJ(zval)->ce) ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_types.h:530:26: note: expanded from macro 'Z_OBJ' #define Z_OBJ(zval) (zval).value.obj ^ //xhprof/extension/xhprof.c:1013:41: warning: incompatible pointer types passing 'zend_string *' (aka 'struct _zend_string *') to parameter of type 'const char *' [-Wincompatible-pointer-types] filename = hp_get_base_filename((curr_func->op_array).filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //xhprof/extension/xhprof.c:897:53: note: passing argument to parameter 'filename' here static const char *hp_get_base_filename(const char *filename) { ^ //xhprof/extension/xhprof.c:1093:32: error: too many arguments to function call, expected 2, have 4 if (zend_hash_find(ht, name, strlen(name) + 1, &data) == SUCCESS) { ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_hash.h:154:1: note: 'zend_hash_find' declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/main/php_config.h:6:19: note: expanded from macro 'ZEND_API' # define ZEND_API __attribute__ ((visibility("default"))) ^ //xhprof/extension/xhprof.c:1094:30: warning: implicit declaration of function 'Z_LVAL_PP' is invalid in C99 [-Wimplicit-function-declaration] ZVAL_LONG(*(zval**)data, Z_LVAL_PP((zval**)data) + count); ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_types.h:610:19: note: expanded from macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ //xhprof/extension/xhprof.c:1117:34: error: too many arguments to function call, expected 2, have 4 if (zend_hash_find(ht, symbol, strlen(symbol) + 1, &data) == SUCCESS) { ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_hash.h:154:1: note: 'zend_hash_find' declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/main/php_config.h:6:19: note: expanded from macro 'ZEND_API' # define ZEND_API __attribute__ ((visibility("default"))) ^ //xhprof/extension/xhprof.c:1181:20: error: too many arguments provided to function-like macro invocation 1); ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_API.h:406:9: note: macro 'add_assoc_string' defined here #define add_assoc_string(__arg, __key, __str) add_assoc_string_ex(__arg, __key, strlen(__key), __str) ^ //xhprof/extension/xhprof.c:1178:3: error: use of undeclared identifier 'add_assoc_string' add_assoc_string(hp_globals.stats_count, ^ //xhprof/extension/xhprof.c:1256:7: warning: implicit declaration of function 'thread_policy_set' is invalid in C99 [-Wimplicit-function-declaration] if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) { ^ //xhprof/extension/xhprof.c:61:9: note: expanded from macro 'SET_AFFINITY' thread_policy_set(mach_thread_self(), THREAD_AFFINITY_POLICY, mask, \ ^ //xhprof/extension/xhprof.c:1656:38: error: no member named 'op_array' in 'struct _zend_execute_data' zend_op_array *ops = execute_data->op_array; ~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1709:45: error: no member named 'op_array' in 'struct _zend_execute_data' func = hp_get_function_name(current_data->op_array TSRMLS_CC); ~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1722:49: error: no member named 'function_state' in 'struct _zend_execute_data' ((zend_internal_function *) execute_data->function_state.function)->handler( ~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1724:15: error: no member named 'retval_ptr_ptr' in 'struct _zend_fcall_info' *fci->retval_ptr_ptr, ~~~ ^ //xhprof/extension/xhprof.c:1725:14: error: no member named 'retval_ptr_ptr' in 'struct _zend_fcall_info' fci->retval_ptr_ptr, ~~~ ^ //xhprof/extension/xhprof.c:1726:14: error: no member named 'object_ptr' in 'struct _zend_fcall_info' fci->object_ptr, ~~~ ^ //xhprof/extension/xhprof.c:1729:34: warning: implicit declaration of function 'EX_TMP_VAR' is invalid in C99 [-Wimplicit-function-declaration] zval **return_value_ptr = &EX_TMP_VAR(execute_data, execute_data->opline->result.var)->var.ptr; ^ //xhprof/extension/xhprof.c:1729:94: error: member reference type 'int' is not a pointer zval **return_value_ptr = &EX_TMP_VAR(execute_data, execute_data->opline->result.var)->var.ptr; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1730:49: error: no member named 'function_state' in 'struct _zend_execute_data' ((zend_internal_function *) execute_data->function_state.function)->handler( ~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1733:24: error: no member named 'function_state' in 'struct _zend_execute_data' (execute_data->function_state.function->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) ~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1736:23: error: no member named 'object' in 'struct _zend_execute_data' execute_data->object, ~~~~~~~~~~~~ ^ //xhprof/extension/xhprof.c:1864:28: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' from 'void (*)(zend_execute_data *, zval *)' [-Wincompatible-pointer-types] _zend_execute_internal = zend_execute_internal; ^ ~~~~~~~~~~~~~~~~~~~~~ //xhprof/extension/xhprof.c:1869:29: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, zval *)' from 'void (zend_execute_data *, struct _zend_fcall_info *, int)' [-Wincompatible-pointer-types] zend_execute_internal = hp_execute_internal; ^ ~~~~~~~~~~~~~~~~~~~ //xhprof/extension/xhprof.c:1937:25: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, zval *)' from 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' [-Wincompatible-pointer-types] zend_execute_internal = _zend_execute_internal; ^ ~~~~~~~~~~~~~~~~~~~~~~ //xhprof/extension/xhprof.c:1964:15: error: no member named 'type' in 'struct _zval_struct' if (values->type == IS_ARRAY) { ~~~~~~ ^ //xhprof/extension/xhprof.c:1970:33: error: too many arguments to function call, expected 2, have 4 if (zend_hash_find(ht, key, len, (void**)&value) == SUCCESS) { ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/Zend/zend_hash.h:154:1: note: 'zend_hash_find' declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /usr/local/Cellar/php70/7.0.0-rc.6/include/php/main/php_config.h:6:19: note: expanded from macro 'ZEND_API' # define ZEND_API __attribute__ ((visibility("default"))) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. make: *** [xhprof.lo] Error 1