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 peolple, I need help :)
I try to compile pinba_extesion on centos7 64bit
...
/usr/include/php/Zend/zend_operators.h:460:29: error: request for member 'type' in something not a structure or union
#define Z_TYPE(zval) (zval).type
^
/usr/include/php/Zend/zend_operators.h:461:26: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*zval_p)
^
/usr/include/php/Zend/zend_API.h:719:63: note: in expansion of macro 'Z_TYPE_P'
#define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p)->get_properties((p) TSRMLS_CC) : NULL)))
^
/TEMP/pinba_extension/pinba.c:2674:28: note: in expansion of macro 'HASH_OF'
tmp = zend_hash_str_find(HASH_OF(&PG(http_globals)[TRACK_VARS_SERVER]), "SERVER_NAME", sizeof("SERVER_NAME")-1);
^
/usr/include/php/Zend/zend_operators.h:421:32: error: request for member 'value' in something not a structure or union
#define Z_OBJVAL(zval) (zval).value.obj
^
/usr/include/php/Zend/zend_operators.h:423:26: note: in expansion of macro 'Z_OBJVAL'
#define Z_OBJ_HT(zval) Z_OBJVAL(zval).handlers
^
/usr/include/php/Zend/zend_operators.h:441:29: note: in expansion of macro 'Z_OBJ_HT'
#define Z_OBJ_HT_P(zval_p) Z_OBJ_HT(*zval_p)
^
/usr/include/php/Zend/zend_API.h:719:88: note: in expansion of macro 'Z_OBJ_HT_P'
#define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p)->get_properties((p) TSRMLS_CC) : NULL)))
^
/TEMP/pinba_extension/pinba.c:2674:28: note: in expansion of macro 'HASH_OF'
tmp = zend_hash_str_find(HASH_OF(&PG(http_globals)[TRACK_VARS_SERVER]), "SERVER_NAME", sizeof("SERVER_NAME")-1);
^
make: *** [pinba.lo] Ошибка 1
What I do wrong?
The text was updated successfully, but these errors were encountered:
HI peolple, I need help :)
I try to compile pinba_extesion on centos7 64bit
...
/usr/include/php/Zend/zend_operators.h:460:29: error: request for member 'type' in something not a structure or union
#define Z_TYPE(zval) (zval).type
^
/usr/include/php/Zend/zend_operators.h:461:26: note: in expansion of macro 'Z_TYPE'
#define Z_TYPE_P(zval_p) Z_TYPE(*zval_p)
^
/usr/include/php/Zend/zend_API.h:719:63: note: in expansion of macro 'Z_TYPE_P'
#define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p)->get_properties((p) TSRMLS_CC) : NULL)))
^
/TEMP/pinba_extension/pinba.c:2674:28: note: in expansion of macro 'HASH_OF'
tmp = zend_hash_str_find(HASH_OF(&PG(http_globals)[TRACK_VARS_SERVER]), "SERVER_NAME", sizeof("SERVER_NAME")-1);
^
/usr/include/php/Zend/zend_operators.h:421:32: error: request for member 'value' in something not a structure or union
#define Z_OBJVAL(zval) (zval).value.obj
^
/usr/include/php/Zend/zend_operators.h:423:26: note: in expansion of macro 'Z_OBJVAL'
#define Z_OBJ_HT(zval) Z_OBJVAL(zval).handlers
^
/usr/include/php/Zend/zend_operators.h:441:29: note: in expansion of macro 'Z_OBJ_HT'
#define Z_OBJ_HT_P(zval_p) Z_OBJ_HT(*zval_p)
^
/usr/include/php/Zend/zend_API.h:719:88: note: in expansion of macro 'Z_OBJ_HT_P'
#define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p)->get_properties((p) TSRMLS_CC) : NULL)))
^
/TEMP/pinba_extension/pinba.c:2674:28: note: in expansion of macro 'HASH_OF'
tmp = zend_hash_str_find(HASH_OF(&PG(http_globals)[TRACK_VARS_SERVER]), "SERVER_NAME", sizeof("SERVER_NAME")-1);
^
make: *** [pinba.lo] Ошибка 1
What I do wrong?
The text was updated successfully, but these errors were encountered: