Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.50 KB | None | 0 0
  1. vagrant@php7dev:~/src/mysql$ php -v
  2. PHP 7.0.0-dev (cli) (built: Jan 30 2015 16:53:14)
  3. Copyright (c) 1997-2015 The PHP Group
  4. Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
  5. with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
  6. vagrant@php7dev:~/src/mysql$ make distclean
  7. find . -name \*.gcno -o -name \*.gcda | xargs rm -f
  8. find . -name \*.lo -o -name \*.o | xargs rm -f
  9. find . -name \*.la -o -name \*.a | xargs rm -f
  10. find . -name \*.so | xargs rm -f
  11. find . -name .libs -a -type d|xargs rm -rf
  12. rm -f libphp.la modules/* libs/*
  13. rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c stamp-h sapi/apache/libphp.module sapi/apache_hooks/libphp.module buildmk.stamp Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h TSRM/tsrm_config.h
  14. rm -f php7.spec main/build-defs.h scripts/phpize
  15. rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/oci8/oci8_dtrace_gen.h ext/oci8/oci8_dtrace_gen.h.bak
  16. rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 ext/phar/phar.1 ext/phar/phar.phar.1
  17. rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html
  18. rm -f ext/iconv/php_have_bsd_iconv.h ext/iconv/php_have_glibc_iconv.h ext/iconv/php_have_ibm_iconv.h ext/iconv/php_have_iconv.h ext/iconv/php_have_libiconv.h ext/iconv/php_iconv_aliased_libiconv.h ext/iconv/php_iconv_supports_errno.h ext/iconv/php_php_iconv_h_path.h ext/iconv/php_php_iconv_impl.h
  19. rm -f ext/phar/phar.phar ext/phar/phar.php
  20. if test "/home/vagrant/src/mysql" != "/home/vagrant/src/mysql"; then \
  21. rm -f ext/phar/phar/phar.inc; \
  22. fi
  23. /bin/grep -E define'.*include/php' /home/vagrant/src/mysql/configure | /bin/sed 's/.*>//'|xargs rm -f
  24. vagrant@php7dev:~/src/mysql$ phpize
  25. Configuring for:
  26. PHP Api Version: 20131218
  27. Zend Module Api No: 20141001
  28. Zend Extension Api No: 320140815
  29. vagrant@php7dev:~/src/mysql$ ./configure
  30. checking for grep that handles long lines and -e... /bin/grep
  31. checking for egrep... /bin/grep -E
  32. checking for a sed that does not truncate output... /bin/sed
  33. checking for cc... cc
  34. checking whether the C compiler works... yes
  35. checking for C compiler default output file name... a.out
  36. checking for suffix of executables...
  37. checking whether we are cross compiling... no
  38. checking for suffix of object files... o
  39. checking whether we are using the GNU C compiler... yes
  40. checking whether cc accepts -g... yes
  41. checking for cc option to accept ISO C89... none needed
  42. checking how to run the C preprocessor... cc -E
  43. checking for icc... no
  44. checking for suncc... no
  45. checking whether cc understands -c and -o together... yes
  46. checking for system library directory... lib
  47. checking if compiler supports -R... no
  48. checking if compiler supports -Wl,-rpath,... yes
  49. checking build system type... x86_64-unknown-linux-gnu
  50. checking host system type... x86_64-unknown-linux-gnu
  51. checking target system type... x86_64-unknown-linux-gnu
  52. checking for PHP prefix... /usr/local/php70
  53. checking for PHP includes... -I/usr/local/php70/include/php -I/usr/local/php70/include/php/main -I/usr/local/php70/include/php/TSRM -I/usr/local/php70/include/php/Zend -I/usr/local/php70/include/php/ext -I/usr/local/php70/include/php/ext/date/lib
  54. checking for PHP extension directory... /usr/local/php70/lib/php/extensions/no-debug-non-zts-20141001
  55. checking for PHP installed headers prefix... /usr/local/php70/include/php
  56. checking if debug is enabled... no
  57. checking if zts is enabled... no
  58. checking for re2c... re2c
  59. checking for re2c version... 0.13.5 (ok)
  60. checking for gawk... no
  61. checking for nawk... nawk
  62. checking if nawk is broken... no
  63. checking for MySQL support... yes, shared
  64. checking for specified location of the MySQL UNIX socket... no
  65. checking for the location of libz... no
  66. checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock
  67. checking for ld used by cc... /usr/bin/ld
  68. checking if the linker (/usr/bin/ld) is GNU ld... yes
  69. checking for /usr/bin/ld option to reload object files... -r
  70. checking for BSD-compatible nm... /usr/bin/nm -B
  71. checking whether ln -s works... yes
  72. checking how to recognize dependent libraries... pass_all
  73. checking for ANSI C header files... yes
  74. checking for sys/types.h... yes
  75. checking for sys/stat.h... yes
  76. checking for stdlib.h... yes
  77. checking for string.h... yes
  78. checking for memory.h... yes
  79. checking for strings.h... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for unistd.h... yes
  83. checking dlfcn.h usability... yes
  84. checking dlfcn.h presence... yes
  85. checking for dlfcn.h... yes
  86. checking the maximum length of command line arguments... 1572864
  87. checking command to parse /usr/bin/nm -B output from cc object... ok
  88. checking for objdir... .libs
  89. checking for ar... ar
  90. checking for ranlib... ranlib
  91. checking for strip... strip
  92. checking if cc supports -fno-rtti -fno-exceptions... no
  93. checking for cc option to produce PIC... -fPIC
  94. checking if cc PIC flag -fPIC works... yes
  95. checking if cc static flag -static works... yes
  96. checking if cc supports -c -o file.o... yes
  97. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  98. checking whether -lc should be explicitly linked in... no
  99. checking dynamic linker characteristics... GNU/Linux ld.so
  100. checking how to hardcode library paths into programs... immediate
  101. checking whether stripping libraries is possible... yes
  102. checking if libtool supports shared libraries... yes
  103. checking whether to build shared libraries... yes
  104. checking whether to build static libraries... no
  105.  
  106. creating libtool
  107. appending configuration tag "CXX" to libtool
  108. configure: creating ./config.status
  109. config.status: creating config.h
  110. config.status: config.h is unchanged
  111. vagrant@php7dev:~/src/mysql$ make
  112. /bin/bash /home/vagrant/src/mysql/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/home/vagrant/src/mysql -DPHP_ATOM_INC -I/home/vagrant/src/mysql/include -I/home/vagrant/src/mysql/main -I/home/vagrant/src/mysql -I/usr/local/php70/include/php -I/usr/local/php70/include/php/main -I/usr/local/php70/include/php/TSRM -I/usr/local/php70/include/php/Zend -I/usr/local/php70/include/php/ext -I/usr/local/php70/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/vagrant/src/mysql/php_mysql.c -o php_mysql.lo
  113. mkdir .libs
  114. cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/home/vagrant/src/mysql -DPHP_ATOM_INC -I/home/vagrant/src/mysql/include -I/home/vagrant/src/mysql/main -I/home/vagrant/src/mysql -I/usr/local/php70/include/php -I/usr/local/php70/include/php/main -I/usr/local/php70/include/php/TSRM -I/usr/local/php70/include/php/Zend -I/usr/local/php70/include/php/ext -I/usr/local/php70/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/vagrant/src/mysql/php_mysql.c -fPIC -DPIC -o .libs/php_mysql.o
  115. /home/vagrant/src/mysql/php_mysql.c: In function ‘mysql_convert_zv_to_mysqlnd’:
  116. /home/vagrant/src/mysql/php_mysql.c:546:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  117. /home/vagrant/src/mysql/php_mysql.c: In function ‘php_mysql_do_connect’:
  118. /home/vagrant/src/mysql/php_mysql.c:967:3: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  119. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  120. from /usr/local/php70/include/php/main/php.h:39,
  121. from /home/vagrant/src/mysql/php_mysql.c:32:
  122. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct php_mysql_conn *’
  123. /home/vagrant/src/mysql/php_mysql.c:967:3: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  124. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  125. from /usr/local/php70/include/php/main/php.h:39,
  126. from /home/vagrant/src/mysql/php_mysql.c:32:
  127. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  128. /home/vagrant/src/mysql/php_mysql.c:967:3: error: too few arguments to function ‘zend_register_resource’
  129. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  130. from /usr/local/php70/include/php/main/php.h:39,
  131. from /home/vagrant/src/mysql/php_mysql.c:32:
  132. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  133. /home/vagrant/src/mysql/php_mysql.c:1052:3: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  134. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  135. from /usr/local/php70/include/php/main/php.h:39,
  136. from /home/vagrant/src/mysql/php_mysql.c:32:
  137. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct php_mysql_conn *’
  138. /home/vagrant/src/mysql/php_mysql.c:1052:3: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  139. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  140. from /usr/local/php70/include/php/main/php.h:39,
  141. from /home/vagrant/src/mysql/php_mysql.c:32:
  142. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  143. /home/vagrant/src/mysql/php_mysql.c:1052:3: error: too few arguments to function ‘zend_register_resource’
  144. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  145. from /usr/local/php70/include/php/main/php.h:39,
  146. from /home/vagrant/src/mysql/php_mysql.c:32:
  147. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  148. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_close’:
  149. /home/vagrant/src/mysql/php_mysql.c:1112:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  150. /home/vagrant/src/mysql/php_mysql.c:1120:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  151. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_select_db’:
  152. /home/vagrant/src/mysql/php_mysql.c:1167:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  153. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_get_host_info’:
  154. /home/vagrant/src/mysql/php_mysql.c:1210:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  155. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_get_proto_info’:
  156. /home/vagrant/src/mysql/php_mysql.c:1235:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  157. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_get_server_info’:
  158. /home/vagrant/src/mysql/php_mysql.c:1260:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  159. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_info’:
  160. /home/vagrant/src/mysql/php_mysql.c:1286:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  161. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_thread_id’:
  162. /home/vagrant/src/mysql/php_mysql.c:1315:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  163. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_stat’:
  164. /home/vagrant/src/mysql/php_mysql.c:1346:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  165. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_client_encoding’:
  166. /home/vagrant/src/mysql/php_mysql.c:1381:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  167. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_set_charset’:
  168. /home/vagrant/src/mysql/php_mysql.c:1410:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  169. /home/vagrant/src/mysql/php_mysql.c: In function ‘php_mysql_do_query_general’:
  170. /home/vagrant/src/mysql/php_mysql.c:1573:2: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  171. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  172. from /usr/local/php70/include/php/main/php.h:39,
  173. from /home/vagrant/src/mysql/php_mysql.c:32:
  174. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct MYSQLND_RES *’
  175. /home/vagrant/src/mysql/php_mysql.c:1573:2: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  176. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  177. from /usr/local/php70/include/php/main/php.h:39,
  178. from /home/vagrant/src/mysql/php_mysql.c:32:
  179. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  180. /home/vagrant/src/mysql/php_mysql.c:1573:2: error: too few arguments to function ‘zend_register_resource’
  181. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  182. from /usr/local/php70/include/php/main/php.h:39,
  183. from /home/vagrant/src/mysql/php_mysql.c:32:
  184. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  185. /home/vagrant/src/mysql/php_mysql.c: In function ‘php_mysql_do_query’:
  186. /home/vagrant/src/mysql/php_mysql.c:1600:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_db_query’:
  188. /home/vagrant/src/mysql/php_mysql.c:1643:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  189. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_list_dbs’:
  190. /home/vagrant/src/mysql/php_mysql.c:1671:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  191. /home/vagrant/src/mysql/php_mysql.c:1686:2: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  192. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  193. from /usr/local/php70/include/php/main/php.h:39,
  194. from /home/vagrant/src/mysql/php_mysql.c:32:
  195. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct MYSQLND_RES *’
  196. /home/vagrant/src/mysql/php_mysql.c:1686:2: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  197. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  198. from /usr/local/php70/include/php/main/php.h:39,
  199. from /home/vagrant/src/mysql/php_mysql.c:32:
  200. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  201. /home/vagrant/src/mysql/php_mysql.c:1686:2: error: too few arguments to function ‘zend_register_resource’
  202. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  203. from /usr/local/php70/include/php/main/php.h:39,
  204. from /home/vagrant/src/mysql/php_mysql.c:32:
  205. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  206. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_list_tables’:
  207. /home/vagrant/src/mysql/php_mysql.c:1709:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  208. /home/vagrant/src/mysql/php_mysql.c:1725:2: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  209. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  210. from /usr/local/php70/include/php/main/php.h:39,
  211. from /home/vagrant/src/mysql/php_mysql.c:32:
  212. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct MYSQLND_RES *’
  213. /home/vagrant/src/mysql/php_mysql.c:1725:2: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  214. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  215. from /usr/local/php70/include/php/main/php.h:39,
  216. from /home/vagrant/src/mysql/php_mysql.c:32:
  217. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  218. /home/vagrant/src/mysql/php_mysql.c:1725:2: error: too few arguments to function ‘zend_register_resource’
  219. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  220. from /usr/local/php70/include/php/main/php.h:39,
  221. from /home/vagrant/src/mysql/php_mysql.c:32:
  222. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  223. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_list_fields’:
  224. /home/vagrant/src/mysql/php_mysql.c:1748:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  225. /home/vagrant/src/mysql/php_mysql.c:1764:2: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  226. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  227. from /usr/local/php70/include/php/main/php.h:39,
  228. from /home/vagrant/src/mysql/php_mysql.c:32:
  229. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct MYSQLND_RES *’
  230. /home/vagrant/src/mysql/php_mysql.c:1764:2: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  231. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  232. from /usr/local/php70/include/php/main/php.h:39,
  233. from /home/vagrant/src/mysql/php_mysql.c:32:
  234. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  235. /home/vagrant/src/mysql/php_mysql.c:1764:2: error: too few arguments to function ‘zend_register_resource’
  236. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  237. from /usr/local/php70/include/php/main/php.h:39,
  238. from /home/vagrant/src/mysql/php_mysql.c:32:
  239. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  240. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_list_processes’:
  241. /home/vagrant/src/mysql/php_mysql.c:1785:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  242. /home/vagrant/src/mysql/php_mysql.c:1799:2: warning: passing argument 1 of ‘zend_register_resource’ from incompatible pointer type [enabled by default]
  243. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  244. from /usr/local/php70/include/php/main/php.h:39,
  245. from /home/vagrant/src/mysql/php_mysql.c:32:
  246. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘struct zval *’ but argument is of type ‘struct MYSQLND_RES *’
  247. /home/vagrant/src/mysql/php_mysql.c:1799:2: warning: passing argument 2 of ‘zend_register_resource’ makes pointer from integer without a cast [enabled by default]
  248. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  249. from /usr/local/php70/include/php/main/php.h:39,
  250. from /home/vagrant/src/mysql/php_mysql.c:32:
  251. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: expected ‘void *’ but argument is of type ‘int’
  252. /home/vagrant/src/mysql/php_mysql.c:1799:2: error: too few arguments to function ‘zend_register_resource’
  253. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  254. from /usr/local/php70/include/php/main/php.h:39,
  255. from /home/vagrant/src/mysql/php_mysql.c:32:
  256. /usr/local/php70/include/php/Zend/zend_list.h:62:25: note: declared here
  257. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_error’:
  258. /home/vagrant/src/mysql/php_mysql.c:1824:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  259. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_errno’:
  260. /home/vagrant/src/mysql/php_mysql.c:1855:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  261. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_affected_rows’:
  262. /home/vagrant/src/mysql/php_mysql.c:1881:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  263. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_real_escape_string’:
  264. /home/vagrant/src/mysql/php_mysql.c:1934:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  265. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_insert_id’:
  266. /home/vagrant/src/mysql/php_mysql.c:1966:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  267. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_result’:
  268. /home/vagrant/src/mysql/php_mysql.c:1998:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  269. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  270. from /usr/local/php70/include/php/main/php.h:39,
  271. from /home/vagrant/src/mysql/php_mysql.c:32:
  272. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  273. /home/vagrant/src/mysql/php_mysql.c:1998:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  274. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  275. from /usr/local/php70/include/php/main/php.h:39,
  276. from /home/vagrant/src/mysql/php_mysql.c:32:
  277. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  278. /home/vagrant/src/mysql/php_mysql.c:1998:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  279. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  280. from /usr/local/php70/include/php/main/php.h:39,
  281. from /home/vagrant/src/mysql/php_mysql.c:32:
  282. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  283. /home/vagrant/src/mysql/php_mysql.c:1998:2: error: too few arguments to function ‘zend_fetch_resource’
  284. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  285. from /usr/local/php70/include/php/main/php.h:39,
  286. from /home/vagrant/src/mysql/php_mysql.c:32:
  287. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  288. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_num_rows’:
  289. /home/vagrant/src/mysql/php_mysql.c:2085:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  290. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  291. from /usr/local/php70/include/php/main/php.h:39,
  292. from /home/vagrant/src/mysql/php_mysql.c:32:
  293. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  294. /home/vagrant/src/mysql/php_mysql.c:2085:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  295. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  296. from /usr/local/php70/include/php/main/php.h:39,
  297. from /home/vagrant/src/mysql/php_mysql.c:32:
  298. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  299. /home/vagrant/src/mysql/php_mysql.c:2085:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  300. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  301. from /usr/local/php70/include/php/main/php.h:39,
  302. from /home/vagrant/src/mysql/php_mysql.c:32:
  303. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  304. /home/vagrant/src/mysql/php_mysql.c:2085:2: error: too few arguments to function ‘zend_fetch_resource’
  305. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  306. from /usr/local/php70/include/php/main/php.h:39,
  307. from /home/vagrant/src/mysql/php_mysql.c:32:
  308. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  309. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_num_fields’:
  310. /home/vagrant/src/mysql/php_mysql.c:2105:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  311. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  312. from /usr/local/php70/include/php/main/php.h:39,
  313. from /home/vagrant/src/mysql/php_mysql.c:32:
  314. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  315. /home/vagrant/src/mysql/php_mysql.c:2105:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  316. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  317. from /usr/local/php70/include/php/main/php.h:39,
  318. from /home/vagrant/src/mysql/php_mysql.c:32:
  319. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  320. /home/vagrant/src/mysql/php_mysql.c:2105:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  321. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  322. from /usr/local/php70/include/php/main/php.h:39,
  323. from /home/vagrant/src/mysql/php_mysql.c:32:
  324. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  325. /home/vagrant/src/mysql/php_mysql.c:2105:2: error: too few arguments to function ‘zend_fetch_resource’
  326. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  327. from /usr/local/php70/include/php/main/php.h:39,
  328. from /home/vagrant/src/mysql/php_mysql.c:32:
  329. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  330. /home/vagrant/src/mysql/php_mysql.c: In function ‘php_mysql_fetch_hash’:
  331. /home/vagrant/src/mysql/php_mysql.c:2176:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  332. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_data_seek’:
  333. /home/vagrant/src/mysql/php_mysql.c:2336:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  334. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  335. from /usr/local/php70/include/php/main/php.h:39,
  336. from /home/vagrant/src/mysql/php_mysql.c:32:
  337. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  338. /home/vagrant/src/mysql/php_mysql.c:2336:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  339. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  340. from /usr/local/php70/include/php/main/php.h:39,
  341. from /home/vagrant/src/mysql/php_mysql.c:32:
  342. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  343. /home/vagrant/src/mysql/php_mysql.c:2336:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  344. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  345. from /usr/local/php70/include/php/main/php.h:39,
  346. from /home/vagrant/src/mysql/php_mysql.c:32:
  347. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  348. /home/vagrant/src/mysql/php_mysql.c:2336:2: error: too few arguments to function ‘zend_fetch_resource’
  349. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  350. from /usr/local/php70/include/php/main/php.h:39,
  351. from /home/vagrant/src/mysql/php_mysql.c:32:
  352. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  353. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_fetch_lengths’:
  354. /home/vagrant/src/mysql/php_mysql.c:2363:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  355. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  356. from /usr/local/php70/include/php/main/php.h:39,
  357. from /home/vagrant/src/mysql/php_mysql.c:32:
  358. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  359. /home/vagrant/src/mysql/php_mysql.c:2363:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  360. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  361. from /usr/local/php70/include/php/main/php.h:39,
  362. from /home/vagrant/src/mysql/php_mysql.c:32:
  363. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  364. /home/vagrant/src/mysql/php_mysql.c:2363:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  365. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  366. from /usr/local/php70/include/php/main/php.h:39,
  367. from /home/vagrant/src/mysql/php_mysql.c:32:
  368. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  369. /home/vagrant/src/mysql/php_mysql.c:2363:2: error: too few arguments to function ‘zend_fetch_resource’
  370. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  371. from /usr/local/php70/include/php/main/php.h:39,
  372. from /home/vagrant/src/mysql/php_mysql.c:32:
  373. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  374. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_fetch_field’:
  375. /home/vagrant/src/mysql/php_mysql.c:2468:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  376. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  377. from /usr/local/php70/include/php/main/php.h:39,
  378. from /home/vagrant/src/mysql/php_mysql.c:32:
  379. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  380. /home/vagrant/src/mysql/php_mysql.c:2468:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  381. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  382. from /usr/local/php70/include/php/main/php.h:39,
  383. from /home/vagrant/src/mysql/php_mysql.c:32:
  384. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  385. /home/vagrant/src/mysql/php_mysql.c:2468:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  386. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  387. from /usr/local/php70/include/php/main/php.h:39,
  388. from /home/vagrant/src/mysql/php_mysql.c:32:
  389. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  390. /home/vagrant/src/mysql/php_mysql.c:2468:2: error: too few arguments to function ‘zend_fetch_resource’
  391. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  392. from /usr/local/php70/include/php/main/php.h:39,
  393. from /home/vagrant/src/mysql/php_mysql.c:32:
  394. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  395. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_field_seek’:
  396. /home/vagrant/src/mysql/php_mysql.c:2516:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  397. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  398. from /usr/local/php70/include/php/main/php.h:39,
  399. from /home/vagrant/src/mysql/php_mysql.c:32:
  400. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  401. /home/vagrant/src/mysql/php_mysql.c:2516:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  402. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  403. from /usr/local/php70/include/php/main/php.h:39,
  404. from /home/vagrant/src/mysql/php_mysql.c:32:
  405. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  406. /home/vagrant/src/mysql/php_mysql.c:2516:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  407. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  408. from /usr/local/php70/include/php/main/php.h:39,
  409. from /home/vagrant/src/mysql/php_mysql.c:32:
  410. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  411. /home/vagrant/src/mysql/php_mysql.c:2516:2: error: too few arguments to function ‘zend_fetch_resource’
  412. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  413. from /usr/local/php70/include/php/main/php.h:39,
  414. from /home/vagrant/src/mysql/php_mysql.c:32:
  415. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  416. /home/vagrant/src/mysql/php_mysql.c: In function ‘php_mysql_field_info’:
  417. /home/vagrant/src/mysql/php_mysql.c:2550:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  418. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  419. from /usr/local/php70/include/php/main/php.h:39,
  420. from /home/vagrant/src/mysql/php_mysql.c:32:
  421. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  422. /home/vagrant/src/mysql/php_mysql.c:2550:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  423. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  424. from /usr/local/php70/include/php/main/php.h:39,
  425. from /home/vagrant/src/mysql/php_mysql.c:32:
  426. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  427. /home/vagrant/src/mysql/php_mysql.c:2550:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  428. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  429. from /usr/local/php70/include/php/main/php.h:39,
  430. from /home/vagrant/src/mysql/php_mysql.c:32:
  431. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  432. /home/vagrant/src/mysql/php_mysql.c:2550:2: error: too few arguments to function ‘zend_fetch_resource’
  433. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  434. from /usr/local/php70/include/php/main/php.h:39,
  435. from /home/vagrant/src/mysql/php_mysql.c:32:
  436. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  437. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_free_result’:
  438. /home/vagrant/src/mysql/php_mysql.c:2709:2: warning: passing argument 1 of ‘zend_fetch_resource’ from incompatible pointer type [enabled by default]
  439. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  440. from /usr/local/php70/include/php/main/php.h:39,
  441. from /home/vagrant/src/mysql/php_mysql.c:32:
  442. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘struct zval *’ but argument is of type ‘struct zend_resource *’
  443. /home/vagrant/src/mysql/php_mysql.c:2709:2: warning: passing argument 2 of ‘zend_fetch_resource’ makes integer from pointer without a cast [enabled by default]
  444. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  445. from /usr/local/php70/include/php/main/php.h:39,
  446. from /home/vagrant/src/mysql/php_mysql.c:32:
  447. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘int’ but argument is of type ‘char *’
  448. /home/vagrant/src/mysql/php_mysql.c:2709:2: warning: passing argument 3 of ‘zend_fetch_resource’ makes pointer from integer without a cast [enabled by default]
  449. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  450. from /usr/local/php70/include/php/main/php.h:39,
  451. from /home/vagrant/src/mysql/php_mysql.c:32:
  452. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: expected ‘const char *’ but argument is of type ‘int’
  453. /home/vagrant/src/mysql/php_mysql.c:2709:2: error: too few arguments to function ‘zend_fetch_resource’
  454. In file included from /usr/local/php70/include/php/Zend/zend_API.h:27:0,
  455. from /usr/local/php70/include/php/main/php.h:39,
  456. from /home/vagrant/src/mysql/php_mysql.c:32:
  457. /usr/local/php70/include/php/Zend/zend_list.h:63:16: note: declared here
  458. /home/vagrant/src/mysql/php_mysql.c: In function ‘zif_mysql_ping’:
  459. /home/vagrant/src/mysql/php_mysql.c:2734:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  460. make: *** [php_mysql.lo] Error 1
  461. vagrant@php7dev:~/src/mysql$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement