Advertisement
Guest User

Untitled

a guest
Jan 15th, 2016
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 61.99 KB | None | 0 0
  1. creating libtool
  2. appending configuration tag "CXX" to libtool
  3. configure: creating ./config.status
  4. config.status: creating config.h
  5. /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
  6. mkdir .libs
  7.  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
  8. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  9. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:101:0: warning: "closesocket" redefined
  10.  #define closesocket(s) close(s)
  11.  ^
  12. In file included from /usr/include/php/ext/standard/file.h:26:0,
  13.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:27:
  14. /usr/include/php/main/php_network.h:30:0: note: this is the location of the previous definition
  15.  # define closesocket close
  16.  ^
  17. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  18. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:197:25: error: unknown type name ‘zend_rsrc_list_entry’
  19.  void php_ssh2_sftp_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC);
  20.                          ^
  21. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_debug_cb’:
  22. /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]
  23.   MAKE_STD_ZVAL(zmessage);
  24.   ^
  25. /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
  26.   ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
  27.                                                        ^
  28. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:110:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
  29.   ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
  30.   ^
  31. /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
  32. /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
  33.   ZVAL_STRINGL(zlanguage, (char*)language, language_len, 1);
  34.                                                           ^
  35. /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]
  36.   if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL TSRMLS_CC)) {
  37.                                                                                  ^
  38. In file included from /usr/include/php/main/php.h:39:0,
  39.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  40. /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 ***}
  41.  ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
  42.               ^
  43. In file included from /usr/include/php/Zend/zend.h:39:0,
  44.                  from /usr/include/php/main/php.h:35,
  45.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  46. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  47.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  48.                                                 ^
  49. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:124:2: note: in expansion of macro ‘zval_ptr_dtor’
  50.   zval_ptr_dtor(&zdisplay);
  51.   ^
  52. /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 **}
  53.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  54.                ^
  55. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  56.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  57.                                                 ^
  58. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:125:2: note: in expansion of macro ‘zval_ptr_dtor’
  59.   zval_ptr_dtor(&zmessage);
  60.   ^
  61. /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 **}
  62.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  63.                ^
  64. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  65.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  66.                                                 ^
  67. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:126:2: note: in expansion of macro ‘zval_ptr_dtor’
  68.   zval_ptr_dtor(&zlanguage);
  69.   ^
  70. /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 **}
  71.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  72.                ^
  73. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_ignore_cb’:
  74. /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
  75.   ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
  76.                                                        ^
  77. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:149:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
  78.   ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
  79.   ^
  80. /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]
  81.   if (FAILURE == call_user_function_ex(NULL, NULL, data->ignore_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
  82.                                                                     ^
  83. In file included from /usr/include/php/main/php.h:39:0,
  84.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  85. /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 **}
  86.  ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
  87.               ^
  88. /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]
  89.   if (FAILURE == call_user_function_ex(NULL, NULL, data->ignore_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
  90.                                                                                  ^
  91. In file included from /usr/include/php/main/php.h:39:0,
  92.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  93. /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 ***}
  94.  ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
  95.               ^
  96. In file included from /usr/include/php/Zend/zend.h:39:0,
  97.                  from /usr/include/php/main/php.h:35,
  98.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  99. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  100.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  101.                                                 ^
  102. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:155:2: note: in expansion of macro ‘zval_ptr_dtor’
  103.   zval_ptr_dtor(&zmessage);
  104.   ^
  105. /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 **}
  106.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  107.                ^
  108. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  109.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  110.                                                 ^
  111. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:157:3: note: in expansion of macro ‘zval_ptr_dtor’
  112.    zval_ptr_dtor(&zretval);
  113.    ^
  114. /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 **}
  115.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  116.                ^
  117. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_macerror_cb’:
  118. /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
  119.   ZVAL_STRINGL(zpacket, (char*)packet, packet_len, 1);
  120.                                                     ^
  121. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:183:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
  122.   ZVAL_STRINGL(zpacket, (char*)packet, packet_len, 1);
  123.   ^
  124. /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]
  125.   if (FAILURE == call_user_function_ex(NULL, NULL, data->macerror_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
  126.                                                                       ^
  127. In file included from /usr/include/php/main/php.h:39:0,
  128.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  129. /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 **}
  130.  ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
  131.               ^
  132. /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]
  133.   if (FAILURE == call_user_function_ex(NULL, NULL, data->macerror_cb, &zretval, 1, args, 0, NULL TSRMLS_CC)) {
  134.                                                                                    ^
  135. In file included from /usr/include/php/main/php.h:39:0,
  136.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  137. /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 ***}
  138.  ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
  139.               ^
  140. In file included from /usr/include/php/Zend/zend.h:39:0,
  141.                  from /usr/include/php/main/php.h:35,
  142.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  143. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  144.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  145.                                                 ^
  146. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:191:2: note: in expansion of macro ‘zval_ptr_dtor’
  147.   zval_ptr_dtor(&zpacket);
  148.   ^
  149. /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 **}
  150.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  151.                ^
  152. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  153.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  154.                                                 ^
  155. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:193:3: note: in expansion of macro ‘zval_ptr_dtor’
  156.    zval_ptr_dtor(&zretval);
  157.    ^
  158. /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 **}
  159.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  160.                ^
  161. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_disconnect_cb’:
  162. /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
  163.   ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
  164.                                                        ^
  165. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:223:2: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
  166.   ZVAL_STRINGL(zmessage, (char*)message, message_len, 1);
  167.   ^
  168. /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
  169.   ZVAL_STRINGL(zlanguage, (char*)language, language_len, 1);
  170.                                                           ^
  171. /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]
  172.   if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL TSRMLS_CC)) {
  173.                                                                                  ^
  174. In file included from /usr/include/php/main/php.h:39:0,
  175.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  176. /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 ***}
  177.  ZEND_API int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint3
  178.               ^
  179. In file included from /usr/include/php/Zend/zend.h:39:0,
  180.                  from /usr/include/php/main/php.h:35,
  181.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  182. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  183.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  184.                                                 ^
  185. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:233:2: note: in expansion of macro ‘zval_ptr_dtor’
  186.   zval_ptr_dtor(&zreason);
  187.   ^
  188. /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 **}
  189.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  190.                ^
  191. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  192.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  193.                                                 ^
  194. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:234:2: note: in expansion of macro ‘zval_ptr_dtor’
  195.   zval_ptr_dtor(&zmessage);
  196.   ^
  197. /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 **}
  198.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  199.                ^
  200. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  201.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  202.                                                 ^
  203. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:235:2: note: in expansion of macro ‘zval_ptr_dtor’
  204.   zval_ptr_dtor(&zlanguage);
  205.   ^
  206. /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 **}
  207.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  208.                ^
  209. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_set_callback’:
  210. /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]
  211.   if (zend_hash_find(ht, callback, callback_len + 1, (void**)&handler) == FAILURE) {
  212.                          ^
  213. In file included from /usr/include/php/Zend/zend.h:36:0,
  214.                  from /usr/include/php/main/php.h:35,
  215.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  216. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  217.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  218.                               ^
  219. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:253:6: error: too many arguments to function ‘zend_hash_find’
  220.   if (zend_hash_find(ht, callback, callback_len + 1, (void**)&handler) == FAILURE) {
  221.       ^
  222. In file included from /usr/include/php/Zend/zend.h:36:0,
  223.                  from /usr/include/php/main/php.h:35,
  224.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  225. /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
  226.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  227.                               ^
  228. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:253:71: warning: comparison between pointer and integer
  229.   if (zend_hash_find(ht, callback, callback_len + 1, (void**)&handler) == FAILURE) {
  230.                                                                        ^
  231. /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]
  232.   ALLOC_INIT_ZVAL(copyval);
  233.   ^
  234. In file included from /usr/include/php/Zend/zend.h:39:0,
  235.                  from /usr/include/php/main/php.h:35,
  236.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  237. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  238.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  239.                                                 ^
  240. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:269:5: note: in expansion of macro ‘zval_ptr_dtor’
  241.      zval_ptr_dtor(&data->ignore_cb);
  242.      ^
  243. /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 **}
  244.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  245.                ^
  246. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  247.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  248.                                                 ^
  249. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:276:5: note: in expansion of macro ‘zval_ptr_dtor’
  250.      zval_ptr_dtor(&data->debug_cb);
  251.      ^
  252. /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 **}
  253.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  254.                ^
  255. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  256.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  257.                                                 ^
  258. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:283:5: note: in expansion of macro ‘zval_ptr_dtor’
  259.      zval_ptr_dtor(&data->macerror_cb);
  260.      ^
  261. /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 **}
  262.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  263.                ^
  264. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  265.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  266.                                                 ^
  267. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:290:5: note: in expansion of macro ‘zval_ptr_dtor’
  268.      zval_ptr_dtor(&data->disconnect_cb);
  269.      ^
  270. /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 **}
  271.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  272.                ^
  273. /usr/include/php/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  274.  #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
  275.                                                 ^
  276. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:295:4: note: in expansion of macro ‘zval_ptr_dtor’
  277.     zval_ptr_dtor(&copyval);
  278.     ^
  279. /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 **}
  280.  ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
  281.                ^
  282. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_set_method’:
  283. /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]
  284.   if (zend_hash_find(ht, method, method_len + 1, (void**)&value) == FAILURE) {
  285.                          ^
  286. In file included from /usr/include/php/Zend/zend.h:36:0,
  287.                  from /usr/include/php/main/php.h:35,
  288.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  289. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  290.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  291.                               ^
  292. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:312:6: error: too many arguments to function ‘zend_hash_find’
  293.   if (zend_hash_find(ht, method, method_len + 1, (void**)&value) == FAILURE) {
  294.       ^
  295. In file included from /usr/include/php/Zend/zend.h:36:0,
  296.                  from /usr/include/php/main/php.h:35,
  297.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  298. /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
  299.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  300.                               ^
  301. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:312:65: warning: comparison between pointer and integer
  302.   if (zend_hash_find(ht, method, method_len + 1, (void**)&value) == FAILURE) {
  303.                                                                  ^
  304. /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]
  305.   if (!value || !*value || (Z_TYPE_PP(value) != IS_STRING)) {
  306.                             ^
  307. /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]
  308.   return libssh2_session_method_pref(session, method_type, Z_STRVAL_PP(value));
  309.                                                            ^
  310. /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]
  311. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:24:0,
  312.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:
  313. /usr/include/libssh2.h:500:17: note: expected ‘const char *’ but argument is of type ‘int’
  314.  LIBSSH2_API int libssh2_session_method_pref(LIBSSH2_SESSION *session,
  315.                  ^
  316. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘php_ssh2_session_connect’:
  317. /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’
  318.   socket = php_network_connect_socket_to_host(host, port, SOCK_STREAM, 0, &tv, NULL, NULL, NULL, 0 TSRMLS_CC);
  319.            ^
  320. In file included from /usr/include/php/ext/standard/file.h:26:0,
  321.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:27:
  322. /usr/include/php/main/php_network.h:238:21: note: declared here
  323.  PHPAPI php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port,
  324.                      ^
  325. /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]
  326.    if (zend_hash_find(HASH_OF(methods), "client_to_server", sizeof("client_to_server"), (void**)&container) == SUCCESS &&
  327.                                         ^
  328. In file included from /usr/include/php/Zend/zend.h:36:0,
  329.                  from /usr/include/php/main/php.h:35,
  330.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  331. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  332.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  333.                               ^
  334. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:374:7: error: too many arguments to function ‘zend_hash_find’
  335.    if (zend_hash_find(HASH_OF(methods), "client_to_server", sizeof("client_to_server"), (void**)&container) == SUCCESS &&
  336.        ^
  337. In file included from /usr/include/php/Zend/zend.h:36:0,
  338.                  from /usr/include/php/main/php.h:35,
  339.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  340. /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
  341.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  342.                               ^
  343. /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]
  344.    if (zend_hash_find(HASH_OF(methods), "server_to_client", sizeof("server_to_client"), (void**)&container) == SUCCESS &&
  345.                                         ^
  346. In file included from /usr/include/php/Zend/zend.h:36:0,
  347.                  from /usr/include/php/main/php.h:35,
  348.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  349. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  350.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  351.                               ^
  352. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:390:7: error: too many arguments to function ‘zend_hash_find’
  353.    if (zend_hash_find(HASH_OF(methods), "server_to_client", sizeof("server_to_client"), (void**)&container) == SUCCESS &&
  354.        ^
  355. In file included from /usr/include/php/Zend/zend.h:36:0,
  356.                  from /usr/include/php/main/php.h:35,
  357.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  358. /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
  359.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  360.                               ^
  361. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_connect’:
  362. /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]
  363.   ZEND_REGISTER_RESOURCE(return_value, session, le_ssh2_session);
  364.   ^
  365. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_methods_negotiated’:
  366. /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]
  367.   ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
  368.   ^
  369. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:482:31: error: expected expression before ‘LIBSSH2_SESSION’
  370.   ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
  371.                                ^
  372. /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
  373.   add_assoc_string(return_value, "kex", kex, 1);
  374.                                               ^
  375. /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)
  376.   add_assoc_string(return_value, "kex", kex, 1);
  377.   ^
  378. /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
  379.   add_assoc_string(return_value, "hostkey", hostkey, 1);
  380.                                                       ^
  381. /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
  382.   add_assoc_string(endpoint, "crypt", crypt_cs, 1);
  383.                                                  ^
  384. /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
  385.   add_assoc_string(endpoint, "mac", mac_cs, 1);
  386.                                              ^
  387. /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
  388.   add_assoc_string(endpoint, "comp", comp_cs, 1);
  389.                                                ^
  390. /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
  391.   add_assoc_string(endpoint, "lang", lang_cs, 1);
  392.                                                ^
  393. /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
  394.   add_assoc_string(endpoint, "crypt", crypt_sc, 1);
  395.                                                  ^
  396. /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
  397.   add_assoc_string(endpoint, "mac", mac_sc, 1);
  398.                                              ^
  399. /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
  400.   add_assoc_string(endpoint, "comp", comp_sc, 1);
  401.                                                ^
  402. /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
  403.   add_assoc_string(endpoint, "lang", lang_sc, 1);
  404.                                                ^
  405. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_fingerprint’:
  406. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:534:31: error: expected expression before ‘LIBSSH2_SESSION’
  407.   ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
  408.                                ^
  409. /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
  410.    RETURN_STRINGL(fingerprint, fingerprint_len, 1);
  411.                                                  ^
  412. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:551:3: error: ‘RETURN_STRINGL’ undeclared (first use in this function)
  413.    RETURN_STRINGL(fingerprint, fingerprint_len, 1);
  414.    ^
  415. /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
  416.    RETURN_STRINGL(hexchars, 2 * fingerprint_len, 0);
  417.                                                   ^
  418. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_none’:
  419. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:579:31: error: expected expression before ‘LIBSSH2_SESSION’
  420.   ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session);
  421.                                ^
  422. /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’
  423.     add_next_index_stringl(return_value, s, p - s, 1);
  424.     ^
  425. In file included from /usr/include/php/main/php.h:39:0,
  426.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  427. /usr/include/php/Zend/zend_API.h:433:14: note: declared here
  428.  ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length);
  429.               ^
  430. /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’
  431.    add_next_index_string(return_value, s, 1);
  432.    ^
  433. In file included from /usr/include/php/main/php.h:39:0,
  434.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  435. /usr/include/php/Zend/zend_API.h:432:14: note: declared here
  436.  ZEND_API int add_next_index_string(zval *arg, const char *str);
  437.               ^
  438. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  439. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_password’:
  440. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
  441.  ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
  442.                               ^
  443. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:636:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
  444.   SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
  445.   ^
  446. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_pubkey_file’:
  447. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
  448.  ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
  449.                               ^
  450. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:679:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
  451.   SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
  452.   ^
  453. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_hostbased_file’:
  454. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
  455.  ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
  456.                               ^
  457. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:735:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
  458.   SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
  459.   ^
  460. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_forward_listen’:
  461. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:152:30: error: expected expression before ‘LIBSSH2_SESSION’
  462.  ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
  463.                               ^
  464. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:770:2: note: in expansion of macro ‘SSH2_FETCH_AUTHENTICATED_SESSION’
  465.   SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession);
  466.   ^
  467. /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]
  468.   zend_list_addref(data->session_rsrcid);
  469.   ^
  470. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_forward_accept’:
  471. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:804:28: error: expected expression before ‘php_ssh2_listener_data’
  472.   ZEND_FETCH_RESOURCE(data, php_ssh2_listener_data*, &zlistener, -1, PHP_SSH2_LISTENER_RES_NAME, le_ssh2_listener);
  473.                             ^
  474. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_poll’:
  475. /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
  476.    zend_hash_get_current_data(Z_ARRVAL_P(zdesc), (void**)&subarray) == SUCCESS;
  477.                                                                   ^
  478. /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)
  479.    zend_hash_get_current_data(Z_ARRVAL_P(zdesc), (void**)&subarray) == SUCCESS;
  480.    ^
  481. /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]
  482.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
  483.                       ^
  484. /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]
  485. In file included from /usr/include/php/Zend/zend.h:36:0,
  486.                  from /usr/include/php/main/php.h:35,
  487.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  488. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘const HashTable * {aka const struct _zend_array *}’ but argument is of type ‘int’
  489.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  490.                               ^
  491. /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]
  492.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
  493.                                              ^
  494. In file included from /usr/include/php/Zend/zend.h:36:0,
  495.                  from /usr/include/php/main/php.h:35,
  496.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  497. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  498.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  499.                               ^
  500. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:7: error: too many arguments to function ‘zend_hash_find’
  501.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
  502.        ^
  503. In file included from /usr/include/php/Zend/zend.h:36:0,
  504.                  from /usr/include/php/main/php.h:35,
  505.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  506. /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
  507.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  508.                               ^
  509. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:875:91: warning: comparison between pointer and integer
  510.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "events", sizeof("events"), (void**)&tmpzval) == FAILURE ||
  511.                                                                                            ^
  512. /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]
  513.    pollfds[i].events = Z_LVAL_PP(tmpzval);
  514.                        ^
  515. /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]
  516.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
  517.                       ^
  518. In file included from /usr/include/php/Zend/zend.h:36:0,
  519.                  from /usr/include/php/main/php.h:35,
  520.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  521. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘const HashTable * {aka const struct _zend_array *}’ but argument is of type ‘int’
  522.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  523.                               ^
  524. /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]
  525.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
  526.                                              ^
  527. In file included from /usr/include/php/Zend/zend.h:36:0,
  528.                  from /usr/include/php/main/php.h:35,
  529.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  530. /usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  531.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  532.                               ^
  533. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:882:7: error: too many arguments to function ‘zend_hash_find’
  534.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
  535.        ^
  536. In file included from /usr/include/php/Zend/zend.h:36:0,
  537.                  from /usr/include/php/main/php.h:35,
  538.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  539. /usr/include/php/Zend/zend_hash.h:154:30: note: declared here
  540.  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
  541.                               ^
  542. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:882:95: warning: comparison between pointer and integer
  543.    if (zend_hash_find(Z_ARRVAL_PP(subarray), "resource", sizeof("resource"), (void**)&tmpzval) == FAILURE ||
  544.                                                                                                ^
  545. /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]
  546.    zend_list_find(Z_LVAL_PP(tmpzval), &res_type);
  547.    ^
  548. /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]
  549.    res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
  550.                              ^
  551. In file included from /usr/include/php/Zend/zend_API.h:28:0,
  552.                  from /usr/include/php/main/php.h:39,
  553.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  554. /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 **}
  555.  ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
  556.                 ^
  557. /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]
  558.    res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
  559.                                                 ^
  560. In file included from /usr/include/php/Zend/zend_API.h:28:0,
  561.                  from /usr/include/php/main/php.h:39,
  562.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  563. /usr/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  564.  ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
  565.                 ^
  566. /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]
  567.    res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
  568.                                                     ^
  569. In file included from /usr/include/php/Zend/zend_API.h:28:0,
  570.                  from /usr/include/php/main/php.h:39,
  571.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  572. /usr/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *
  573.  ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
  574.                 ^
  575. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:889:9: error: too many arguments to function ‘zend_fetch_resource’
  576.    res = zend_fetch_resource(tmpzval TSRMLS_CC, -1, "Poll Resource", NULL, 1, res_type);
  577.          ^
  578. In file included from /usr/include/php/Zend/zend_API.h:28:0,
  579.                  from /usr/include/php/main/php.h:39,
  580.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  581. /usr/include/php/Zend/zend_list.h:63:16: note: declared here
  582.  ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
  583.                 ^
  584. /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]
  585.  rror_docref(NULL TSRMLS_CC, E_WARNING, "Invalid resource type in subarray: %s", zend_rsrc_list_get_rsrc_type(Z_LVAL_PP(t
  586.                                                                                                               ^
  587. In file included from /usr/include/php/Zend/zend_API.h:28:0,
  588.                  from /usr/include/php/main/php.h:39,
  589.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  590. /usr/include/php/Zend/zend_list.h:68:22: note: expected ‘zend_resource * {aka struct _zend_resource *}’ but argument is of type ‘int’
  591.  ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
  592.                       ^
  593. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  594. /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’
  595.  #define Z_UNSET_ISREF_P(pz)           (pz)->is_ref = 0
  596.                                            ^
  597. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:922:4: note: in expansion of macro ‘Z_UNSET_ISREF_P’
  598.     Z_UNSET_ISREF_P(subarray);
  599.     ^
  600. /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]
  601.    zend_hash_del(Z_ARRVAL_P(subarray), "revents", sizeof("revents"));
  602.                                        ^
  603. In file included from /usr/include/php/Zend/zend.h:36:0,
  604.                  from /usr/include/php/main/php.h:35,
  605.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  606. /usr/include/php/Zend/zend_hash.h:146:28: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *
  607.  ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
  608.                             ^
  609. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:925:3: error: too many arguments to function ‘zend_hash_del’
  610.    zend_hash_del(Z_ARRVAL_P(subarray), "revents", sizeof("revents"));
  611.    ^
  612. In file included from /usr/include/php/Zend/zend.h:36:0,
  613.                  from /usr/include/php/main/php.h:35,
  614.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  615. /usr/include/php/Zend/zend_hash.h:146:28: note: declared here
  616.  ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
  617.                             ^
  618. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  619. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_init’:
  620. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:152:30: error: expected expression before ‘LIBSSH2_SESSION’
  621.  ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
  622.                               ^
  623. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:953:2: note: in expansion of macro ‘SSH2_FETCH_AUTHENTICATED_SESSION’
  624.   SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession);
  625.   ^
  626. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_add’:
  627. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:992:28: error: expected expression before ‘php_ssh2_pkey_subsys_data’
  628.   ZEND_FETCH_RESOURCE(data, php_ssh2_pkey_subsys_data*, &zpkey_data, -1, PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subs
  629.                             ^
  630. /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]
  631.     zend_hash_get_current_data_ex(Z_ARRVAL_P(zattrs), (void**)&attr_val, &pos) == SUCCESS;
  632.                                                       ^
  633. In file included from /usr/include/php/Zend/zend.h:36:0,
  634.                  from /usr/include/php/main/php.h:35,
  635.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  636. /usr/include/php/Zend/zend_hash.h:171:30: note: expected ‘HashPosition * {aka unsigned int *}’ but argument is of type ‘void **
  637.  ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
  638.                               ^
  639. /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’
  640.     zend_hash_get_current_data_ex(Z_ARRVAL_P(zattrs), (void**)&attr_val, &pos) == SUCCESS;
  641.     ^
  642. In file included from /usr/include/php/Zend/zend.h:36:0,
  643.                  from /usr/include/php/main/php.h:35,
  644.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  645. /usr/include/php/Zend/zend_hash.h:171:30: note: declared here
  646.  ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
  647.                               ^
  648. /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]
  649.     type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
  650.                                                             ^
  651. In file included from /usr/include/php/Zend/zend.h:36:0,
  652.                  from /usr/include/php/main/php.h:35,
  653.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  654. /usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_string ** {aka struct _zend_string **}’ but argument is of type ‘char **
  655.  ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
  656.                               ^
  657. /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]
  658.     type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
  659.                                                                   ^
  660. In file included from /usr/include/php/Zend/zend.h:36:0,
  661.                  from /usr/include/php/main/php.h:35,
  662.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  663. /usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_ulong * {aka long unsigned int *}’ but argument is of type ‘int *
  664.  ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
  665.                               ^
  666. /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]
  667.     type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
  668.                                                                             ^
  669. In file included from /usr/include/php/Zend/zend.h:36:0,
  670.                  from /usr/include/php/main/php.h:35,
  671.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  672. /usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘HashPosition * {aka unsigned int *}’ but argument is of type ‘long int *
  673.  ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
  674.                               ^
  675. /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’
  676.     type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
  677.            ^
  678. In file included from /usr/include/php/Zend/zend.h:36:0,
  679.                  from /usr/include/php/main/php.h:35,
  680.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  681. /usr/include/php/Zend/zend_hash.h:168:30: note: declared here
  682.  ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_
  683.                               ^
  684. /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)
  685.     if (type == HASH_KEY_NON_EXISTANT) {
  686.                 ^
  687. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  688. /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’
  689.  #define Z_UNSET_ISREF_P(pz)           (pz)->is_ref = 0
  690.                                            ^
  691. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1030:4: note: in expansion of macro ‘Z_UNSET_ISREF_P’
  692.     Z_UNSET_ISREF_P(&copyval);
  693.     ^
  694. In file included from /usr/include/php/Zend/zend.h:33:0,
  695.                  from /usr/include/php/main/php.h:35,
  696.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  697. /usr/include/php/Zend/zend_alloc.h:163:33: warning: passing argument 1 of ‘_efree’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  698.  #define efree(ptr)       _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
  699.                                  ^
  700. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1063:4: note: in expansion of macro ‘efree’
  701.     efree(attrs[i].value);
  702.     ^
  703. In file included from /usr/include/php/Zend/zend.h:33:0,
  704.                  from /usr/include/php/main/php.h:35,
  705.                  from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:25:
  706. /usr/include/php/Zend/zend_alloc.h:78:31: note: expected ‘void *’ but argument is of type ‘const char *
  707.  ZEND_API void   ZEND_FASTCALL _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
  708.                                ^
  709. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_remove’:
  710. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1083:28: error: expected expression before ‘php_ssh2_pkey_subsys_data’
  711.   ZEND_FETCH_RESOURCE(data, php_ssh2_pkey_subsys_data*, &zpkey_data, -1, PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subs
  712.                             ^
  713. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_publickey_list’:
  714. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1107:28: error: expected expression before ‘php_ssh2_pkey_subsys_data’
  715.   ZEND_FETCH_RESOURCE(data, php_ssh2_pkey_subsys_data*, &zpkey_data, -1, PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subs
  716.                             ^
  717. /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
  718.    add_assoc_stringl(key, "name", keys[i].name, keys[i].name_len, 1);
  719.                                                                    ^
  720. /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)
  721.    add_assoc_stringl(key, "name", keys[i].name, keys[i].name_len, 1);
  722.    ^
  723. /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
  724.    add_assoc_stringl(key, "blob", keys[i].blob, keys[i].blob_len, 1);
  725.                                                                    ^
  726. /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
  727.     ZVAL_STRINGL(attr, keys[i].attrs[j].value, keys[i].attrs[j].value_len, 1);
  728.                                                                             ^
  729. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1131:4: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
  730.     ZVAL_STRINGL(attr, keys[i].attrs[j].value, keys[i].attrs[j].value_len, 1);
  731.     ^
  732. /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
  733.  d_hash_add(Z_ARRVAL_P(attrs), keys[i].attrs[j].name, keys[i].attrs[j].name_len + 1, (void**)&attr, sizeof(zval*), NULL);
  734.                                                                                                                        ^
  735. /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)
  736.     zend_hash_add(Z_ARRVAL_P(attrs), keys[i].attrs[j].name, keys[i].attrs[j].name_len + 1, (void**)&attr, sizeof(zval*),
  737.     ^
  738. In file included from /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:28:0:
  739. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zif_ssh2_auth_agent’:
  740. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/php_ssh2.h:145:30: error: expected expression before ‘LIBSSH2_SESSION’
  741.  ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); \
  742.                               ^
  743. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1162:2: note: in expansion of macro ‘SSH2_FETCH_NONAUTHENTICATED_SESSION’
  744.   SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession);
  745.   ^
  746. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: At top level:
  747. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1228:35: error: unknown type name ‘zend_rsrc_list_entry’
  748.  static void php_ssh2_session_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
  749.                                    ^
  750. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1258:36: error: unknown type name ‘zend_rsrc_list_entry’
  751.  static void php_ssh2_listener_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
  752.                                     ^
  753. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c:1268:39: error: unknown type name ‘zend_rsrc_list_entry’
  754.  static void php_ssh2_pkey_subsys_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
  755.                                        ^
  756. /tmp/yaourt-tmp-michi/aur-php-ssh/src/ssh2-0.12/ssh2.c: In function ‘zm_startup_ssh2’:
  757. /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)
  758.   le_ssh2_session  = zend_register_list_destructors_ex(php_ssh2_session_dtor, NULL, PHP_SSH2_SESSION_RES_NAME, module_num
  759.                                                        ^
  760. /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)
  761.   le_ssh2_listener = zend_register_list_destructors_ex(php_ssh2_listener_dtor, NULL, PHP_SSH2_LISTENER_RES_NAME, module_n
  762.                                                        ^
  763. /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)
  764.   le_ssh2_sftp  = zend_register_list_destructors_ex(php_ssh2_sftp_dtor, NULL, PHP_SSH2_SFTP_RES_NAME, module_number);
  765.                                                     ^
  766. /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)
  767.   le_ssh2_pkey_subsys = zend_register_list_destructors_ex(php_ssh2_pkey_subsys_dtor, NULL, PHP_SSH2_PKEY_SUBSYS_RES_NAME,
  768.                                                           ^
  769. Makefile:194: recipe for target 'ssh2.lo' failed
  770. make: *** [ssh2.lo] Error 1
  771. ==> ERROR: A failure occurred in build().
  772.     Aborting...
  773. ==> ERROR: Makepkg was unable to build php-ssh.
  774. ==> Restart building php-ssh ? [y/N]
  775. ==> --------------------------------
  776. ==>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement