Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- creating libtool
- appending configuration tag "CXX" to libtool
- configure: creating ./config.status
- config.status: creating config.h
- /bin/sh /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/libtool --mode=compile cc -I. -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12 -DPHP_ATOM_INC -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/include -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/main -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -c /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c -o ssh2.lo
- mkdir .libs
- cc -I. -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12 -DPHP_ATOM_INC -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/include -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/main -I/tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -c /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c -fPIC -DPIC -o .libs/ssh2.o
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:101:0: warning: "closesocket" redefined
- #define closesocket(s) close(s)
- ^
- In file included from /usr/include/php/ext/standard/file.h:26:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:27:
- /usr/include/php/main/php_network.h:30:0: note: this is the location of the previous definition
- # define closesocket close
- ^
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:197:25: error: unknown type name ‘zend_rsrc_list_entry’
- void php_ssh2_sftp_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_debug_cb’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:109:2: warning: implicit declaration of function ‘MAKE_STD_ZVAL’ [-Wimplicit-function-declaration]
- MAKE_STD_ZVAL(zmessage);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:110:55: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:110:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
- ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:110:2: note: each undeclared identifier is reported only once for each function it appears in
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:114:58: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(zlanguage, (char*)language, language_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:121:81: warning: passing argument 6 of ‘call_user_function_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL TSRMLS_CC)) {
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:472:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
- ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
- ^
- In file included from /usr/include/php/Zend/zend.h:39:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:124:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zdisplay);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:125:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zmessage);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:126:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zlanguage);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_ignore_cb’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:149:55: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:149:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
- ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:152:68: warning: passing argument 4 of ‘call_user_function_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (FAILURE == call_user_function_ex(NULL, NULL, data->ignore_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:472:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:152:81: warning: passing argument 6 of ‘call_user_function_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (FAILURE == call_user_function_ex(NULL, NULL, data->ignore_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:472:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
- ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
- ^
- In file included from /usr/include/php/Zend/zend.h:39:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:155:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zmessage);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:157:3: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zretval);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_macerror_cb’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:183:52: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(zpacket, (char*)packet, packet_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:183:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
- ZVAL_STRINGL(zpacket, (char*)packet, packet_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:186:70: warning: passing argument 4 of ‘call_user_function_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (FAILURE == call_user_function_ex(NULL, NULL, data->macerror_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:472:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:186:83: warning: passing argument 6 of ‘call_user_function_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (FAILURE == call_user_function_ex(NULL, NULL, data->macerror_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:472:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
- ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
- ^
- In file included from /usr/include/php/Zend/zend.h:39:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:191:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zpacket);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:193:3: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zretval);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_disconnect_cb’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:223:55: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:223:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
- ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:227:58: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(zlanguage, (char*)language, language_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:230:81: warning: passing argument 6 of ‘call_user_function_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL TSRMLS_CC)) {
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:472:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
- ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
- ^
- In file included from /usr/include/php/Zend/zend.h:39:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:233:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zreason);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:234:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zmessage);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:235:2: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&zlanguage);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_set_callback’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:253:25: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (zend_hash_find(ht, callback, callback_len + 1, (void**)&handler) == FAILURE) {
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:253:6: error: too many arguments to function ‘zend_hash_find’
- if (zend_hash_find(ht, callback, callback_len + 1, (void**)&handler) == FAILURE) {
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:253:71: warning: comparison between pointer and integer
- if (zend_hash_find(ht, callback, callback_len + 1, (void**)&handler) == FAILURE) {
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:261:2: warning: implicit declaration of function ‘ALLOC_INIT_ZVAL’ [-Wimplicit-function-declaration]
- ALLOC_INIT_ZVAL(copyval);
- ^
- In file included from /usr/include/php/Zend/zend.h:39:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:269:5: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&data->ignore_cb);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:276:5: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&data->debug_cb);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:283:5: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&data->macerror_cb);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:290:5: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(&data->disconnect_cb);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
- #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:295:4: note: in expansion of macro ‘zval_ptr_dtor’
- zval_ptr_dtor(©val);
- ^
- /usr/include/php/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_set_method’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:312:25: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (zend_hash_find(ht, method, method_len + 1, (void**)&value) == FAILURE) {
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:312:6: error: too many arguments to function ‘zend_hash_find’
- if (zend_hash_find(ht, method, method_len + 1, (void**)&value) == FAILURE) {
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:312:65: warning: comparison between pointer and integer
- if (zend_hash_find(ht, method, method_len + 1, (void**)&value) == FAILURE) {
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:316:28: warning: implicit declaration of function ‘Z_TYPE_PP’ [-Wimplicit-function-declaration]
- if (!value || !*value || (Z_TYPE_PP(value) != IS_STRING)) {
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:320:59: warning: implicit declaration of function ‘Z_STRVAL_PP’ [-Wimplicit-function-declaration]
- return libssh2_session_method_pref(session, method_type, Z_STRVAL_PP(value));
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:320:59: warning: passing argument 3 of ‘libssh2_session_method_pref’ makes pointer from integer without a cast [-Wint-conversion]
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:24:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:
- /usr/include/libssh2.h:500:17: note: expected ‘const char *’ but argument is of type ‘int’
- LIBSSH2_API int libssh2_session_method_pref(LIBSSH2_SESSION *session,
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_session_connect’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:338:11: error: too few arguments to function ‘php_network_connect_socket_to_host’
- socket = php_network_connect_socket_to_host(host, port, SOCK_STREAM, 0, &tv, NULL, NULL, NULL, 0 TSRMLS_CC);
- ^
- In file included from /usr/include/php/ext/standard/file.h:26:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:27:
- /usr/include/php/main/php_network.h:238:21: note: declared here
- PHPAPI php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port,
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:374:40: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (zend_hash_find(HASH_OF(methods), "client_to_server", sizeof("client_to_server"), (void**)&container) == SUCCESS &&
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:374:7: error: too many arguments to function ‘zend_hash_find’
- if (zend_hash_find(HASH_OF(methods), "client_to_server", sizeof("client_to_server"), (void**)&container) == SUCCESS &&
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:390:40: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (zend_hash_find(HASH_OF(methods), "server_to_client", sizeof("server_to_client"), (void**)&container) == SUCCESS &&
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:390:7: error: too many arguments to function ‘zend_hash_find’
- if (zend_hash_find(HASH_OF(methods), "server_to_client", sizeof("server_to_client"), (void**)&container) == SUCCESS &&
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_connect’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:465:2: warning: implicit declaration of function ‘ZEND_REGISTER_RESOURCE’ [-Wimplicit-function-declaration]
- ZEND_REGISTER_RESOURCE(return_value, session, le_ssh2_session);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_methods_negotiated’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:482:2: warning: implicit declaration of function ‘ZEND_FETCH_RESOURCE’ [-Wimplicit-function-declaration]
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:482:31: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:496:46: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(return_value, "kex", kex, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:496:2: error: ‘add_assoc_string’ undeclared (first use in this function)
- add_assoc_string(return_value, "kex", kex, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:497:54: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(return_value, "hostkey", hostkey, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:501:49: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "crypt", crypt_cs, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:502:45: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "mac", mac_cs, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:503:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "comp", comp_cs, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:504:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "lang", lang_cs, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:509:49: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "crypt", crypt_sc, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:510:45: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "mac", mac_sc, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:511:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "comp", comp_sc, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:512:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
- add_assoc_string(endpoint, "lang", lang_sc, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_fingerprint’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:534:31: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:551:49: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
- RETURN_STRINGL(fingerprint, fingerprint_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:551:3: error: ‘RETURN_STRINGL’ undeclared (first use in this function)
- RETURN_STRINGL(fingerprint, fingerprint_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:559:50: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
- RETURN_STRINGL(hexchars, 2 * fingerprint_len, 0);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_none’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:579:31: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:590:4: error: too many arguments to function ‘add_next_index_stringl’
- add_next_index_stringl(return_value, s, p - s, 1);
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:433:14: note: declared here
- ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:595:3: error: too many arguments to function ‘add_next_index_string’
- add_next_index_string(return_value, s, 1);
- ^
- In file included from /usr/include/php/main/php.h:39:0,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_API.h:432:14: note: declared here
- ZEND_API int add_next_index_string(zval *arg, const char *str);
- ^
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_password’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:636:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
- SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_pubkey_file’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:679:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
- SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_hostbased_file’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:735:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
- SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_forward_listen’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:152:30: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:770:2: note: in expansion of macro ‘SSH2_FETCH_AUTHENTICATED_SESSION’
- SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:782:2: warning: implicit declaration of function ‘zend_list_addref’ [-Wimplicit-function-declaration]
- zend_list_addref(data->session_rsrcid);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_forward_accept’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:804:28: error: expected expression before ‘php_ssh2_listener_data’
- ZEND_FETCH_RESOURCE(data, php_ssh2_listener_data*, &zlistener, -1, PHP_SSH2_LISTENER_RES_NAME, le_ssh2_listener);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_poll’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:864:66: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
- zend_hash_get_current_data(Z_ARRVAL_P(zdesc), (void**)&subarray) == SUCCESS;
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:864:3: error: ‘zend_hash_get_current_data’ undeclared (first use in this function)
- zend_hash_get_current_data(Z_ARRVAL_P(zdesc), (void**)&subarray) == SUCCESS;
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:22: warning: implicit declaration of function ‘Z_ARRVAL_PP’ [-Wimplicit-function-declaration]
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:22: warning: passing argument 1 of ‘zend_hash_find’ makes pointer from integer without a cast [-Wint-conversion]
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘const HashTable * {aka const struct _zend_array *}’ but argument is of type ‘int’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:45: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:7: error: too many arguments to function ‘zend_hash_find’
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:91: warning: comparison between pointer and integer
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:881:23: warning: implicit declaration of function ‘Z_LVAL_PP’ [-Wimplicit-function-declaration]
- pollfds[i].events = Z_LVAL_PP(tmpzval);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:882:22: warning: passing argument 1 of ‘zend_hash_find’ makes pointer from integer without a cast [-Wint-conversion]
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘const HashTable * {aka const struct _zend_array *}’ but argument is of type ‘int’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:882:45: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:882:7: error: too many arguments to function ‘zend_hash_find’
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:882:95: warning: comparison between pointer and integer
- if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:888:3: warning: implicit declaration of function ‘zend_list_find’ [-Wimplicit-function-declaration]
- zend_list_find(Z_LVAL_PP(tmpzval), &res_type);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:889:29: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [-Wincompatible-pointer-types]
- res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
- ^
- In file included from /usr/include/php/Zend/zend_API.h:28:0,
- from /usr/include/php/main/php.h:39,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_list.h:63:16: note: expected ‘zend_resource * {aka struct _zend_resource *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
- ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:889:48: warning: passing argument 2 of ‘zend_fetch_resource’ makes pointer from integer without a cast [-Wint-conversion]
- res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
- ^
- In file included from /usr/include/php/Zend/zend_API.h:28:0,
- from /usr/include/php/main/php.h:39,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
- ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:889:52: warning: passing argument 3 of ‘zend_fetch_resource’ makes integer from pointer without a cast [-Wint-conversion]
- res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
- ^
- In file included from /usr/include/php/Zend/zend_API.h:28:0,
- from /usr/include/php/main/php.h:39,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
- ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:889:9: error: too many arguments to function ‘zend_fetch_resource’
- res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
- ^
- In file included from /usr/include/php/Zend/zend_API.h:28:0,
- from /usr/include/php/main/php.h:39,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_list.h:63:16: note: declared here
- ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:899:118: warning: passing argument 1 of ‘zend_rsrc_list_get_rsrc_type’ makes pointer from integer without a cast [-Wint-conversion]
- rror_docref(NULL TSRMLS_CC, E_WARNING, "Invalid resource type in subarray: %s", zend_rsrc_list_get_rsrc_type(Z_LVAL_PP(t
- ^
- In file included from /usr/include/php/Zend/zend_API.h:28:0,
- from /usr/include/php/main/php.h:39,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_list.h:68:22: note: expected ‘zend_resource * {aka struct _zend_resource *}’ but argument is of type ‘int’
- ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
- ^
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:140:43: error: ‘zval {aka struct _zval_struct}’ has no member named ‘is_ref’
- #define Z_UNSET_ISREF_P(pz) (pz)->is_ref = 0
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:922:4: note: in expansion of macro ‘Z_UNSET_ISREF_P’
- Z_UNSET_ISREF_P(subarray);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:925:39: warning: passing argument 2 of ‘zend_hash_del’ from incompatible pointer type [-Wincompatible-pointer-types]
- zend_hash_del(Z_ARRVAL_P(subarray), "revents", sizeof("revents"));
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:146:28: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
- ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:925:3: error: too many arguments to function ‘zend_hash_del’
- zend_hash_del(Z_ARRVAL_P(subarray), "revents", sizeof("revents"));
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:146:28: note: declared here
- ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
- ^
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_init’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:152:30: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:953:2: note: in expansion of macro ‘SSH2_FETCH_AUTHENTICATED_SESSION’
- SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_add’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:992:28: error: expected expression before ‘php_ssh2_pkey_subsys_data’
- ZEND_FETCH_RESOURCE(data, php_ssh2_pkey_subsys_data*, &zpkey_data, -1, PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subs
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1003:54: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- zend_hash_get_current_data_ex(Z_ARRVAL_P(zattrs), (void**)&attr_val, &pos) == SUCCESS;
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:171:30: note: expected ‘HashPosition * {aka unsigned int *}’ but argument is of type ‘void **’
- ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1003:4: error: too many arguments to function ‘zend_hash_get_current_data_ex’
- zend_hash_get_current_data_ex(Z_ARRVAL_P(zattrs), (void**)&attr_val, &pos) == SUCCESS;
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:171:30: note: declared here
- ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1010:60: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_string ** {aka struct _zend_string **}’ but argument is of type ‘char **’
- ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1010:66: warning: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_ulong * {aka long unsigned int *}’ but argument is of type ‘int *’
- ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1010:76: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
- type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘HashPosition * {aka unsigned int *}’ but argument is of type ‘long int *’
- ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1010:11: error: too many arguments to function ‘zend_hash_get_current_key_ex’
- type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
- ^
- In file included from /usr/include/php/Zend/zend.h:36:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_hash.h:168:30: note: declared here
- ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1011:16: error: ‘HASH_KEY_NON_EXISTANT’ undeclared (first use in this function)
- if (type == HASH_KEY_NON_EXISTANT) {
- ^
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:140:43: error: ‘zval {aka struct _zval_struct}’ has no member named ‘is_ref’
- #define Z_UNSET_ISREF_P(pz) (pz)->is_ref = 0
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1030:4: note: in expansion of macro ‘Z_UNSET_ISREF_P’
- Z_UNSET_ISREF_P(©val);
- ^
- In file included from /usr/include/php/Zend/zend.h:33:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_alloc.h:163:33: warning: passing argument 1 of ‘_efree’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1063:4: note: in expansion of macro ‘efree’
- efree(attrs[i].value);
- ^
- In file included from /usr/include/php/Zend/zend.h:33:0,
- from /usr/include/php/main/php.h:35,
- from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
- /usr/include/php/Zend/zend_alloc.h:78:31: note: expected ‘void *’ but argument is of type ‘const char *’
- ZEND_API void ZEND_FASTCALL _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_remove’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1083:28: error: expected expression before ‘php_ssh2_pkey_subsys_data’
- ZEND_FETCH_RESOURCE(data, php_ssh2_pkey_subsys_data*, &zpkey_data, -1, PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subs
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_list’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1107:28: error: expected expression before ‘php_ssh2_pkey_subsys_data’
- ZEND_FETCH_RESOURCE(data, php_ssh2_pkey_subsys_data*, &zpkey_data, -1, PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subs
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1122:67: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
- add_assoc_stringl(key, "name", keys[i].name, keys[i].name_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1122:3: error: ‘add_assoc_stringl’ undeclared (first use in this function)
- add_assoc_stringl(key, "name", keys[i].name, keys[i].name_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1123:67: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
- add_assoc_stringl(key, "blob", keys[i].blob, keys[i].blob_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1131:76: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
- ZVAL_STRINGL(attr, keys[i].attrs[j].value, keys[i].attrs[j].value_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1131:4: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
- ZVAL_STRINGL(attr, keys[i].attrs[j].value, keys[i].attrs[j].value_len, 1);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1132:125: error: macro "zend_hash_add" passed 6 arguments, but takes just 3
- d_hash_add(Z_ARRVAL_P(attrs), keys[i].attrs[j].name, keys[i].attrs[j].name_len + 1, (void**)&attr, sizeof(zval*), NULL);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1132:4: error: ‘zend_hash_add’ undeclared (first use in this function)
- zend_hash_add(Z_ARRVAL_P(attrs), keys[i].attrs[j].name, keys[i].attrs[j].name_len + 1, (void**)&attr, sizeof(zval*),
- ^
- In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_agent’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
- ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1162:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
- SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: At top level:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1228:35: error: unknown type name ‘zend_rsrc_list_entry’
- static void php_ssh2_session_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1258:36: error: unknown type name ‘zend_rsrc_list_entry’
- static void php_ssh2_listener_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1268:39: error: unknown type name ‘zend_rsrc_list_entry’
- static void php_ssh2_pkey_subsys_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zm_startup_ssh2’:
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1282:55: error: ‘php_ssh2_session_dtor’ undeclared (first use in this function)
- le_ssh2_session = zend_register_list_destructors_ex(php_ssh2_session_dtor, NULL, PHP_SSH2_SESSION_RES_NAME, module_num
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1283:55: error: ‘php_ssh2_listener_dtor’ undeclared (first use in this function)
- le_ssh2_listener = zend_register_list_destructors_ex(php_ssh2_listener_dtor, NULL, PHP_SSH2_LISTENER_RES_NAME, module_n
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1284:52: error: ‘php_ssh2_sftp_dtor’ undeclared (first use in this function)
- le_ssh2_sftp = zend_register_list_destructors_ex(php_ssh2_sftp_dtor, NULL, PHP_SSH2_SFTP_RES_NAME, module_number);
- ^
- /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1285:58: error: ‘php_ssh2_pkey_subsys_dtor’ undeclared (first use in this function)
- le_ssh2_pkey_subsys = zend_register_list_destructors_ex(php_ssh2_pkey_subsys_dtor, NULL, PHP_SSH2_PKEY_SUBSYS_RES_NAME,
- ^
- Makefile:194: recipe for target 'ssh2.lo' failed
- make: *** [ssh2.lo] Error 1
- ==> ERROR: A failure occurred in build().
- Aborting...
- ==> ERROR: Makepkg was unable to build php-ssh.
- ==> Restart building php-ssh ? [y/N]
- ==> --------------------------------
- ==>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement