In file included from /usr/include/php/20151012/main/php.h:40:0, from /tmp/pear/temp/dbx/dbx.c:29: /usr/include/php/20151012/Zend/zend_API.h:250:14: note: expected 'struct zval *' but argument is of type 'struct zval ***' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /tmp/pear/temp/dbx/dbx.c:811:2: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] if (zend_hash_find(Z_OBJPROP_PP(arguments[0]), "data", 5, (void **) &zval_data)==FAILURE ^ In file included from /usr/include/php/20151012/Zend/zend.h:36:0, from /usr/include/php/20151012/main/php.h:36, from /tmp/pear/temp/dbx/dbx.c:29: /usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /tmp/pear/temp/dbx/dbx.c:811:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(Z_OBJPROP_PP(arguments[0]), "data", 5, (void **) &zval_data)==FAILURE ^ In file included from /usr/include/php/20151012/Zend/zend.h:36:0, from /usr/include/php/20151012/main/php.h:36, from /tmp/pear/temp/dbx/dbx.c:29: /usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /tmp/pear/temp/dbx/dbx.c:811:2: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(Z_OBJPROP_PP(arguments[0]), "data", 5, (void **) &zval_data)==FAILURE ^ In file included from /usr/include/php/20151012/Zend/zend.h:36:0, from /usr/include/php/20151012/main/php.h:36, from /tmp/pear/temp/dbx/dbx.c:29: /usr/include/php/20151012/Zend/zend_hash.h:154:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /tmp/pear/temp/dbx/dbx.c:811:81: warning: comparison between pointer and integer [enabled by default] if (zend_hash_find(Z_OBJPROP_PP(arguments[0]), "data", 5, (void **) &zval_data)==FAILURE ^ /tmp/pear/temp/dbx/dbx.c:819:2: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&returned_zval); ^ In file included from /usr/include/php/20151012/Zend/zend.h:39:0, from /usr/include/php/20151012/main/php.h:36, from /tmp/pear/temp/dbx/dbx.c:29: /usr/include/php/20151012/Zend/zend_variables.h:112:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^ make: *** [dbx.lo] Error 1 ERROR: `make' failed