Compiling a pthreads-capable PHP 5


Resolving pthreads build error

Table of Contents

When attempting to compile a pthreads-capable version of PHP (PHP 5.6.30, CentOS 6), I hit a boatload of errors while making pthreads (see "Failed build using pthreads master branch," below). The first of these was:

"error: Zend/zend_inheritance.h: No such file or directory"

This was interesting, as I haven't encountered any problems building PHP 7 with pthreads. Missing header files means something's wrong with the build environment, but what? Naturally, a Google search for that error brought up only 5 results, all of them in Chinese, and none with an answer. I'm putting this page here so Google has a result in English.

The solution is that when compiling pthreads for PHP 5, you have to explicitly clone the PHP5 branch of pthreads, as the master branch targets PHP 7:

cd php-5.6.30/ext/
mkdir pthreads && cd pthreads
git clone -b PHP5 https://github.com/krakjoe/pthreads.git .
phpize && ./configure && make install
cd ../..
rm configure && ./buildconf --force


Failed build using pthreads master branch


This build fails because cloning the (default) master branch of pthreads creates an environment targeted at PHP 7.

[root@atl019 /home/files/php-5.6.30/ext]# mkdir pthreads && cd pthreads
[root@atl019 /home/files/php-5.6.30/ext/pthreads]# git clone https://github.com/krakjoe/pthreads.git .
Initialized empty Git repository in /home/files/php-5.6.30/ext/pthreads/.git/
remote: Counting objects: 6403, done.
remote: Total 6403 (delta 0), reused 0 (delta 0), pack-reused 6403
Receiving objects: 100% (6403/6403), 2.00 MiB | 1.18 MiB/s, done.
Resolving deltas: 100% (4209/4209), done.
[root@atl019 /home/files/php-5.6.30/ext/pthreads]# locate pthreads
[root@atl019 /home/files/php-5.6.30/ext/pthreads]# phpize && ./configure && make install
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
checking for ...
...[snip many lines]...

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/php_pthreads.c -o php_pthreads.lo
mkdir .libs
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/php_pthreads.c  -fPIC -DPIC -o .libs/php_pthreads.o
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/pthreads.h:74:35: error: Zend/zend_inheritance.h: No such file or directory
./src/pthreads.h:77:33: error: Zend/zend_smart_str.h: No such file or directory
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/pthreads.h:144: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/pthreads.h: In function ‘pthreads_check_opline’:
./src/pthreads.h:145: error: ‘zend_execute_data’ has no member named ‘func’
./src/pthreads.h:145: error: ‘zend_execute_data’ has no member named ‘func’
./src/pthreads.h:146: error: ‘zend_execute_data’ has no member named ‘func’
./src/pthreads.h:149: error: ‘offset’ undeclared (first use in this function)
./src/pthreads.h:149: error: (Each undeclared identifier is reported only once
./src/pthreads.h:149: error: for each function it appears in.)
./src/pthreads.h: At top level:
./src/pthreads.h:160: error: expected declaration specifiers or ‘...’ before ‘zend_long’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/pthreads.h: In function ‘pthreads_check_opline_ex’:
./src/pthreads.h:161: error: ‘offset’ undeclared (first use in this function)
./src/pthreads.h:161: error: too many arguments to function ‘pthreads_check_opline’
In file included from ./src/pthreads.h:180,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/stack.h: At top level:
./src/stack.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pthreads_stack_size’
./src/stack.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pthreads_stack_add’
./src/stack.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pthreads_stack_del’
./src/stack.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pthreads_stack_collect’
In file included from ./src/pthreads.h:184,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/store.h:41: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/store.h:43: error: expected declaration specifiers or ‘...’ before ‘zend_long’
In file included from ./src/thread.h:26,
				 from ./src/pthreads.h:188,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/resources.h:26: error: expected specifier-qualifier-list before ‘zend_resource’
./src/resources.h:31: error: expected ‘)’ before ‘*’ token
In file included from ./src/thread.h:30,
				 from ./src/pthreads.h:188,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:22:
./src/socket.h:27: error: expected specifier-qualifier-list before ‘zend_long’
./src/socket.h:34: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:34: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:34: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:35: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:35: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:35: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:36: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:36: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:37: error: expected declaration specifiers or ‘...’ before ‘zend_string’
./src/socket.h:37: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:38: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:40: error: expected declaration specifiers or ‘...’ before ‘zend_string’
./src/socket.h:40: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:41: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:41: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:42: error: expected declaration specifiers or ‘...’ before ‘zend_string’
./src/socket.h:42: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:43: error: expected declaration specifiers or ‘...’ before ‘zend_string’
./src/socket.h:43: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/socket.h:43: error: expected declaration specifiers or ‘...’ before ‘zend_long’
In file included from ./php_pthreads.h:31,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:26:
./classes/threaded.h:92: error: expected ‘)’ before numeric constant
In file included from ./php_pthreads.h:35,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:26:
./classes/thread.h:62: error: ‘_IS_BOOL’ undeclared here (not in a function)
In file included from ./php_pthreads.h:39,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:26:
./classes/collectable.h:23: error: expected ‘)’ before numeric constant
In file included from ./php_pthreads.h:51,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:26:
./classes/socket.h:50: error: expected ‘)’ before numeric constant
./classes/socket.h:52: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:53: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:54: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:60: error: expected ‘)’ before numeric constant
./classes/socket.h:62: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:63: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:69: error: expected ‘)’ before numeric constant
./classes/socket.h:71: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:72: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:78: error: expected ‘)’ before numeric constant
./classes/socket.h:80: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:86: error: expected ‘)’ before numeric constant
./classes/socket.h:88: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:89: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:95: error: expected ‘)’ before numeric constant
./classes/socket.h:97: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:98: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:104: error: expected ‘)’ before numeric constant
./classes/socket.h:106: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:107: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:113: error: expected ‘)’ before numeric constant
./classes/socket.h:115: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:116: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:117: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:123: error: expected ‘)’ before numeric constant
./classes/socket.h:125: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:131: error: expected ‘)’ before numeric constant
./classes/socket.h:133: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:139: error: expected ‘)’ before numeric constant
./classes/socket.h:141: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:142: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:143: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:144: error: expected identifier or ‘(’ before ‘,’ token
./classes/socket.h:145: error: expected identifier or ‘(’ before ‘,’ token
In file included from ./src/object.h:57,
				 from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:30:
./src/handlers.h:105: error: expected declaration specifiers or ‘...’ before ‘zend_long’
./src/handlers.h:108: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:38: warning: data definition has no type or storage class
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:43:
./src/globals.h:56: error: expected specifier-qualifier-list before ‘zend_string’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:47:
./src/copy.h: In function ‘pthreads_copy_statics’:
./src/copy.h:26: error: ‘zend_string’ undeclared (first use in this function)
./src/copy.h:26: error: ‘key’ undeclared (first use in this function)
./src/copy.h:26: error: invalid operands to binary * (have ‘const struct zend_arg_info *’ and ‘const struct zend_arg_info *’)
./src/copy.h:34: error: expected ‘;’ before ‘{’ token
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:47:
./src/copy.h:47:41: error: macro "zend_hash_add" requires 6 arguments, but only 3 given
./src/copy.h:54:42: error: macro "zend_hash_add" requires 6 arguments, but only 3 given
./src/copy.h:60:41: error: macro "zend_hash_add" requires 6 arguments, but only 3 given
./src/copy.h:66:44: error: macro "zend_hash_add" requires 6 arguments, but only 3 given
./src/copy.h: At top level:
./src/copy.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./src/copy.h: In function ‘pthreads_copy_arginfo’:
./src/copy.h:209: error: ‘ZEND_ACC_HAS_RETURN_TYPE’ undeclared (first use in this function)
./src/copy.h:209: error: invalid operands to binary & (have ‘zend_uint’ and ‘const struct zend_arg_info *’)
./src/copy.h:224: error: ‘IS_STR_PERSISTENT’ undeclared (first use in this function)
./src/copy.h:224: error: invalid operands to binary & (have ‘int’ and ‘const struct zend_arg_info *’)
./src/copy.h:224: warning: assignment makes pointer from integer without a cast
./src/copy.h:234: error: invalid operands to binary & (have ‘int’ and ‘const struct zend_arg_info *’)
./src/copy.h:234: warning: assignment makes pointer from integer without a cast
./src/copy.h:239: error: invalid operands to binary & (have ‘zend_uint’ and ‘const struct zend_arg_info *’)
./src/copy.h: In function ‘pthreads_copy_user_function’:
./src/copy.h:250: error: ‘zend_string’ undeclared (first use in this function)
./src/copy.h:250: error: ‘variables’ undeclared (first use in this function)
./src/copy.h:250: error: invalid operands to binary * (have ‘const struct zend_arg_info *’ and ‘zend_arg_info’)
./src/copy.h:255: error: ‘tsrm_ls’ undeclared (first use in this function)
./src/copy.h:255: error: ‘zend_compiler_globals’ has no member named ‘arena’
./src/copy.h:255: warning: cast to pointer from integer of different size
./src/copy.h:260: warning: assignment from incompatible pointer type
./src/copy.h:263: error: ‘IS_STR_PERSISTENT’ undeclared (first use in this function)
./src/copy.h:263: error: invalid operands to binary & (have ‘int’ and ‘const struct zend_arg_info *’)
./src/copy.h:263: warning: assignment makes pointer from integer without a cast
./src/copy.h:274: error: invalid operands to binary & (have ‘int’ and ‘const struct zend_arg_info *’)
./src/copy.h:274: warning: assignment makes pointer from integer without a cast
./src/copy.h:277: warning: assignment from incompatible pointer type
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:47:
./src/copy.h:288: warning: assignment makes pointer from integer without a cast
./src/copy.h: In function ‘pthreads_copy_internal_function’:
./src/copy.h:299: error: ‘IS_STR_PERSISTENT’ undeclared (first use in this function)
./src/copy.h:299: error: invalid operands to binary & (have ‘int’ and ‘const struct zend_arg_info *’)
./src/copy.h:299: warning: assignment makes pointer from integer without a cast
./src/copy.h: In function ‘pthreads_copy_function’:
./src/copy.h:305: error: ‘tsrm_ls’ undeclared (first use in this function)
./src/copy.h:305: warning: initialization makes pointer from integer without a cast
./src/copy.h:318: warning: return makes pointer from integer without a cast
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘zif_pthreads_no_sleeping’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:57: error: ‘execute_data’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:57: error: request for member ‘func’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:57: error: ‘zend_arg_info’ has no member named ‘common’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:57: error: request for member ‘function_name’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:57: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:57: warning: passing argument 4 of ‘zend_throw_exception_ex’ makes pointer from integer without a cast
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘int’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘pthreads_is_supported_sapi’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:119: error: ‘zend_long’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:119: error: expected ‘;’ before ‘nlen’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:122: error: ‘nlen’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:122: warning: comparison between pointer and integer
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:123: warning: passing argument 3 of ‘memcmp’ makes integer from pointer without a cast
/usr/include/string.h:68: note: expected ‘size_t’ but argument is of type ‘const struct zend_arg_info *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘pthreads_execute_ex’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:147: error: too few arguments to function ‘execute_ex’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:149: error: ‘tsrm_ls’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:149: error: ‘IS_UNDEF’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:149: warning: comparison between pointer and integer
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘pthreads_verify_type’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:168: error: ‘tsrm_ls’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:168: warning: passing argument 2 of ‘zend_get_class_entry’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:347: note: expected ‘void ***’ but argument is of type ‘const struct zend_arg_info *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:168: error: too few arguments to function ‘instanceof_function’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:172: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:173: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:173: warning: comparison of distinct pointer types lacks a cast
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:175: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:175: error: ‘zend_arg_info’ has no member named ‘op2’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:175: error: request for member ‘num’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:175: warning: cast to pointer from integer of different size
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:184: error: too few arguments to function ‘zend_lookup_class’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:184: warning: pointer type mismatch in conditional expression
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:193: error: too few arguments to function ‘zend_lookup_class’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:193: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:195: error: too few arguments to function ‘instanceof_function’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘php_pthreads_recv’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:205: error: ‘IS_UNDEF’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:205: warning: comparison between pointer and integer
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:207: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:207: error: ‘zend_arg_info’ has no member named ‘op1’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:207: error: request for member ‘num’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:207: warning: initialization makes integer from pointer without a cast
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:219: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:219: error: ‘zend_arg_info’ has no member named ‘result’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:219: error: request for member ‘num’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:219: warning: assignment makes pointer from integer without a cast
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:222: error: request for member ‘func’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:222: error: ‘zend_arg_info’ has no member named ‘op_array’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:222: error: request for member ‘fn_flags’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:222: error: invalid operands to binary & (have ‘const struct zend_arg_info *’ and ‘int’)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:225: error: request for member ‘func’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:225: error: ‘zend_arg_info’ has no member named ‘common’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:225: error: request for member ‘arg_info’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:225: warning: passing argument 3 of ‘pthreads_verify_type’ discards qualifiers from pointer target type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:157: note: expected ‘struct zend_arg_info *’ but argument is of type ‘const struct zend_arg_info *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:226: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:226: error: lvalue required as increment operand
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘php_pthreads_verify_return_type’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:236: error: ‘IS_UNDEF’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:236: warning: comparison between pointer and integer
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:240: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:240: error: ‘zend_arg_info’ has no member named ‘op1_type’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:240: warning: comparison between pointer and integer
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:249: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:249: error: ‘zend_arg_info’ has no member named ‘op1’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:249: error: request for member ‘num’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:249: warning: assignment makes pointer from integer without a cast
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:254: error: request for member ‘func’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:254: error: ‘zend_arg_info’ has no member named ‘common’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:254: error: request for member ‘arg_info’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:254: warning: passing argument 3 of ‘pthreads_verify_type’ discards qualifiers from pointer target type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:157: note: expected ‘struct zend_arg_info *’ but argument is of type ‘const struct zend_arg_info *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:255: error: request for member ‘opline’ in something not a structure or union
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:255: error: lvalue required as increment operand
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘zm_startup_pthreads’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:273: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:274: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:288: error: too few arguments to function ‘zend_register_internal_interface’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:288: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:291: error: too few arguments to function ‘zend_register_internal_class’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:291: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:292: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:293: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:294: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:295: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:296: warning: passing argument 2 of ‘zend_class_implements’ makes pointer from integer without a cast
/usr/local/include/php/Zend/zend_API.h:282: note: expected ‘void ***’ but argument is of type ‘int’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:296: warning: passing argument 3 of ‘zend_class_implements’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_API.h:282: note: expected ‘int’ but argument is of type ‘struct zend_class_entry *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:299: error: too few arguments to function ‘zend_register_internal_class_ex’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:299: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:302: error: too few arguments to function ‘zend_register_internal_class_ex’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:302: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:303: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:306: error: too few arguments to function ‘zend_register_internal_class_ex’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:306: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:307: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:310: error: too few arguments to function ‘zend_register_internal_class’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:310: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:311: error: too few arguments to function ‘zend_declare_property_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:312: error: too few arguments to function ‘zend_declare_property_null’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:313: error: too few arguments to function ‘zend_declare_property_null’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:314: error: too few arguments to function ‘zend_declare_property_null’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:315: error: too few arguments to function ‘zend_declare_property_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:318: error: too few arguments to function ‘zend_register_internal_class_ex’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:318: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:319: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:321: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:322: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:324: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:326: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:327: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:328: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:329: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:330: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:332: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:333: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:335: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:337: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:338: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:339: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:340: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:341: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:342: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:343: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:344: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:345: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:346: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:347: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:348: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:352: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:354: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:356: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:361: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:362: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:363: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:365: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:366: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:367: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:368: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:369: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:370: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:372: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:378: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:381: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:384: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:387: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:390: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:393: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:398: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:401: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:404: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:407: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:410: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:413: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:416: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:419: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:422: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:425: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:428: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:431: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:434: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:437: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:440: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:443: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:446: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:449: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:452: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:455: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:458: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:461: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:464: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:467: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:470: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:473: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:476: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:479: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:482: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:485: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:488: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:491: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:494: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:497: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:500: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:503: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:506: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:509: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:512: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:515: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:518: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:521: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:524: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:527: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:530: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:533: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:536: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:539: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:542: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:545: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:548: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:551: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:554: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:557: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:560: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:563: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:566: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:569: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:572: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:575: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:578: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:581: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:584: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:587: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:590: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:593: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:596: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:599: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:602: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:605: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:608: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:611: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:614: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:617: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:620: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:623: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:626: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:629: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:632: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:635: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:638: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:641: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:644: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:647: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:650: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:653: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:656: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:659: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:662: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:665: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:668: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:671: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:674: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:677: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:680: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:683: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:686: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:689: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:692: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:695: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:698: error: too few arguments to function ‘zend_declare_class_constant_long’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:762: error: ‘zend_object_handlers’ has no member named ‘offset’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:764: error: ‘zend_object_handlers’ has no member named ‘free_obj’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:765: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:766: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:768: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:769: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:771: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:772: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:773: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:774: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:776: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:777: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:778: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:779: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:784: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:786: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:787: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:791: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:794: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:795: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:796: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:797: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:798: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:799: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:800: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:801: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:802: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:812: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:812: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:822: error: ‘ZEND_VERIFY_RETURN_TYPE’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:822: warning: passing argument 1 of ‘zend_set_user_opcode_handler’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_execute.h:387: note: expected ‘zend_uchar’ but argument is of type ‘const struct zend_arg_info *’
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘sapi_cli_deactivate’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:830: error: ‘tsrm_ls’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘zm_shutdown_pthreads’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:839: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:839: warning: comparison of distinct pointer types lacks a cast
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:843: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:847: warning: assignment from incompatible pointer type
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘zm_post_zend_deactivate_pthreads’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:854: error: ‘tsrm_ls’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c: In function ‘zm_activate_pthreads’:
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:868: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
/home/files/php-5.6.30/ext/pthreads/php_pthreads.c:868: warning: comparison of distinct pointer types lacks a cast
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:891:
./classes/threaded.h: At top level:
./classes/threaded.h:113: error: ‘Threaded_isGarbage’ undeclared here (not in a function)
./classes/threaded.h:113: error: initializer element is not constant
./classes/threaded.h:113: error: (near initialization for ‘pthreads_threaded_methods[12].arg_info’)
./classes/threaded.h:113: error: invalid operands to binary / (have ‘const struct zend_arg_info *’ and ‘long unsigned int’)
./classes/threaded.h:113: warning: cast from pointer to integer of different size
./classes/threaded.h:113: error: initializer element is not constant
./classes/threaded.h:113: error: (near initialization for ‘pthreads_threaded_methods[12].num_args’)
./classes/threaded.h: In function ‘zim_Threaded_delRef’:
./classes/threaded.h:126: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/local/include/php/Zend/zend_variables.h:51: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/threaded.h: In function ‘zim_Threaded_wait’:
./classes/threaded.h:135: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:135: error: request for member ‘This’ in something not a structure or union
./classes/threaded.h:135: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/threaded.h:136: error: ‘zend_long’ undeclared (first use in this function)
./classes/threaded.h:136: error: expected ‘;’ before ‘timeout’
./classes/threaded.h:138: error: ‘timeout’ undeclared (first use in this function)
./classes/threaded.h:138: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:138: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/threaded.h:139: warning: passing argument 2 of ‘pthreads_monitor_wait’ makes integer from pointer without a cast
./src/monitor.h:36: note: expected ‘long int’ but argument is of type ‘struct zend_function_entry *’
./classes/threaded.h: In function ‘zim_Threaded_notify’:
./classes/threaded.h:148: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:148: error: request for member ‘This’ in something not a structure or union
./classes/threaded.h:148: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/threaded.h: In function ‘zim_Threaded_notifyOne’:
./classes/threaded.h:158: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:158: error: request for member ‘This’ in something not a structure or union
./classes/threaded.h:158: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/threaded.h: In function ‘zim_Threaded_isRunning’:
./classes/threaded.h:167: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:167: error: request for member ‘This’ in something not a structure or union
./classes/threaded.h:167: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/threaded.h: In function ‘zim_Threaded_isTerminated’:
./classes/threaded.h:176: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:176: error: request for member ‘This’ in something not a structure or union
./classes/threaded.h:176: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/threaded.h: In function ‘zim_Threaded_synchronized’:
./classes/threaded.h:189: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:189: error: request for member ‘This’ in something not a structure or union
./classes/threaded.h:189: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/threaded.h:191: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:191: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_fcall_info *’
./classes/threaded.h:195: warning: passing argument 2 of ‘zend_fcall_info_argp’ makes pointer from integer without a cast
/usr/local/include/php/Zend/zend_API.h:495: note: expected ‘void ***’ but argument is of type ‘uint’
./classes/threaded.h:195: warning: passing argument 3 of ‘zend_fcall_info_argp’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_API.h:495: note: expected ‘int’ but argument is of type ‘struct zval *’
./classes/threaded.h:195: error: too few arguments to function ‘zend_fcall_info_argp’
./classes/threaded.h:197: error: ‘zend_fcall_info’ has no member named ‘retval’
./classes/threaded.h:206: error: too few arguments to function ‘zend_call_function’
./classes/threaded.h: In function ‘zim_Threaded_merge’:
./classes/threaded.h:224: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:224: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zval **’
./classes/threaded.h: In function ‘zim_Threaded_chunk’:
./classes/threaded.h:246: error: ‘zend_long’ undeclared (first use in this function)
./classes/threaded.h:246: error: expected ‘;’ before ‘size’
./classes/threaded.h:249: error: ‘size’ undeclared (first use in this function)
./classes/threaded.h:249: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:249: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/threaded.h:253: warning: passing argument 2 of ‘pthreads_store_chunk’ makes integer from pointer without a cast
./src/store.h:41: note: expected ‘zend_bool’ but argument is of type ‘struct zend_function_entry *’
./classes/threaded.h:253: warning: passing argument 3 of ‘pthreads_store_chunk’ makes pointer from integer without a cast
./src/store.h:41: note: expected ‘struct zval *’ but argument is of type ‘zend_bool’
./classes/threaded.h:253: error: too many arguments to function ‘pthreads_store_chunk’
./classes/threaded.h: In function ‘zim_Threaded_count’:
./classes/threaded.h:278: error: too many arguments to function ‘pthreads_store_count’
./classes/threaded.h: In function ‘zim_Threaded_extend’:
./classes/threaded.h:295: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:295: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_class_entry **’
./classes/threaded.h:302: error: request for member ‘val’ in something not a structure or union
./classes/threaded.h:302: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:302: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/threaded.h:310: error: request for member ‘val’ in something not a structure or union
./classes/threaded.h:310: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:310: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/threaded.h:317: error: request for member ‘val’ in something not a structure or union
./classes/threaded.h:318: error: request for member ‘val’ in something not a structure or union
./classes/threaded.h:318: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/threaded.h:318: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/threaded.h:330: error: ‘execute_data’ undeclared (first use in this function)
./classes/threaded.h:330: error: request for member ‘called_scope’ in something not a structure or union
./classes/threaded.h:330: warning: assignment from incompatible pointer type
./classes/threaded.h:333: error: too few arguments to function ‘zend_do_inheritance’
./classes/threaded.h:338: error: too few arguments to function ‘instanceof_function’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:895:
./classes/thread.h: In function ‘zim_Thread_start’:
./classes/thread.h:86: error: ‘execute_data’ undeclared (first use in this function)
./classes/thread.h:86: error: request for member ‘This’ in something not a structure or union
./classes/thread.h:86: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/thread.h:87: error: ‘zend_long’ undeclared (first use in this function)
./classes/thread.h:87: error: expected ‘;’ before ‘options’
./classes/thread.h:90: error: ‘options’ undeclared (first use in this function)
./classes/thread.h:90: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/thread.h:90: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/thread.h:94: warning: assignment makes integer from pointer without a cast
./classes/thread.h: In function ‘zim_Thread_isStarted’:
./classes/thread.h:104: error: ‘execute_data’ undeclared (first use in this function)
./classes/thread.h:104: error: request for member ‘This’ in something not a structure or union
./classes/thread.h:104: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/thread.h: In function ‘zim_Thread_isJoined’:
./classes/thread.h:113: error: ‘execute_data’ undeclared (first use in this function)
./classes/thread.h:113: error: request for member ‘This’ in something not a structure or union
./classes/thread.h:113: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/thread.h: In function ‘zim_Thread_join’:
./classes/thread.h:122: error: ‘execute_data’ undeclared (first use in this function)
./classes/thread.h:122: error: request for member ‘This’ in something not a structure or union
./classes/thread.h:122: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/thread.h: In function ‘zim_Thread_getThreadId’:
./classes/thread.h:131: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/thread.h: In function ‘zim_Thread_getCreatorId’:
./classes/thread.h:152: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:899:
./classes/collectable.h: At top level:
./classes/collectable.h:32: error: ‘Collectable_isGarbage’ undeclared here (not in a function)
./classes/collectable.h:32: error: initializer element is not constant
./classes/collectable.h:32: error: (near initialization for ‘pthreads_collectable_methods[0].arg_info’)
./classes/collectable.h:32: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/collectable.h:32: warning: cast from pointer to integer of different size
./classes/collectable.h:32: error: initializer element is not constant
./classes/collectable.h:32: error: (near initialization for ‘pthreads_collectable_methods[0].num_args’)
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:903:
./classes/worker.h: In function ‘zim_Worker_stack’:
./classes/worker.h:81: error: ‘execute_data’ undeclared (first use in this function)
./classes/worker.h:81: error: request for member ‘This’ in something not a structure or union
./classes/worker.h:81: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h:84: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
./classes/worker.h:84: warning: comparison of distinct pointer types lacks a cast
./classes/worker.h:87: error: request for member ‘val’ in something not a structure or union
./classes/worker.h:87: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/worker.h:87: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/worker.h:91: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/worker.h:91: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zval **’
./classes/worker.h: In function ‘zim_Worker_unstack’:
./classes/worker.h:102: error: ‘execute_data’ undeclared (first use in this function)
./classes/worker.h:102: error: request for member ‘This’ in something not a structure or union
./classes/worker.h:102: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h:108: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
./classes/worker.h:108: warning: comparison of distinct pointer types lacks a cast
./classes/worker.h:111: error: request for member ‘val’ in something not a structure or union
./classes/worker.h:111: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/worker.h:111: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/worker.h: In function ‘zim_Worker_getStacked’:
./classes/worker.h:122: error: ‘execute_data’ undeclared (first use in this function)
./classes/worker.h:122: error: request for member ‘This’ in something not a structure or union
./classes/worker.h:122: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h: In function ‘zim_Worker_isShutdown’:
./classes/worker.h:131: error: ‘execute_data’ undeclared (first use in this function)
./classes/worker.h:131: error: request for member ‘This’ in something not a structure or union
./classes/worker.h:131: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h: In function ‘zim_Worker_shutdown’:
./classes/worker.h:140: error: ‘execute_data’ undeclared (first use in this function)
./classes/worker.h:140: error: request for member ‘This’ in something not a structure or union
./classes/worker.h:140: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h: In function ‘zim_Worker_getThreadId’:
./classes/worker.h:149: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h: In function ‘zim_Worker_getCreatorId’:
./classes/worker.h:156: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h: In function ‘pthreads_worker_running_function’:
./classes/worker.h:169: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h: In function ‘pthreads_worker_collect_function’:
./classes/worker.h:187: error: ‘zend_fcall_info’ has no member named ‘retval’
./classes/worker.h:190: warning: passing argument 2 of ‘zend_fcall_info_argn’ makes pointer from integer without a cast
/usr/local/include/php/Zend/zend_API.h:507: note: expected ‘void ***’ but argument is of type ‘int’
./classes/worker.h:190: warning: passing argument 3 of ‘zend_fcall_info_argn’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_API.h:507: note: expected ‘int’ but argument is of type ‘struct zval *’
./classes/worker.h:192: error: too few arguments to function ‘zend_call_function’
./classes/worker.h:198: error: ‘IS_UNDEF’ undeclared (first use in this function)
./classes/worker.h:198: warning: comparison between pointer and integer
./classes/worker.h:202: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/local/include/php/Zend/zend_variables.h:51: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/worker.h: In function ‘zim_Worker_collector’:
./classes/worker.h:212: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/worker.h:212: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zval **’
./classes/worker.h:216: warning: passing argument 1 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/worker.h:216: warning: passing argument 6 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/worker.h: In function ‘zim_Worker_collect’:
./classes/worker.h:222: error: ‘execute_data’ undeclared (first use in this function)
./classes/worker.h:222: error: request for member ‘This’ in something not a structure or union
./classes/worker.h:222: warning: passing argument 1 of ‘_pthreads_fetch_object’ makes pointer from integer without a cast
./src/thread.h:68: note: expected ‘struct zend_object *’ but argument is of type ‘int’
./classes/worker.h:226: error: invalid type argument of ‘->’ (have ‘int’)
./classes/worker.h:226: error: request for member ‘ce’ in something not a structure or union
./classes/worker.h:226: error: ‘zend_function_entry’ has no member named ‘function_table’
./classes/worker.h:226: warning: assignment makes pointer from integer without a cast
./classes/worker.h:226: error: ‘zend_fcall_info’ has no member named ‘object’
./classes/worker.h:226: error: invalid type argument of ‘->’ (have ‘int’)
./classes/worker.h:226: error: request for member ‘ce’ in something not a structure or union
./classes/worker.h:226: warning: assignment from incompatible pointer type
./classes/worker.h:226: error: invalid type argument of ‘->’ (have ‘int’)
./classes/worker.h:226: error: request for member ‘ce’ in something not a structure or union
./classes/worker.h:226: warning: assignment from incompatible pointer type
./classes/worker.h:226: error: ‘zend_fcall_info_cache’ has no member named ‘object’
./classes/worker.h:227: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/worker.h:227: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_fcall_info *’
./classes/worker.h:231: error: ‘TSRMLS_CACHE’ undeclared (first use in this function)
./classes/worker.h:231: warning: comparison of distinct pointer types lacks a cast
./classes/worker.h:234: error: request for member ‘val’ in something not a structure or union
./classes/worker.h:234: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/worker.h:234: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:907:
./classes/pool.h: In function ‘zim_Pool___construct’:
./classes/pool.h:72: error: ‘zend_long’ undeclared (first use in this function)
./classes/pool.h:72: error: expected ‘;’ before ‘size’
./classes/pool.h:76: error: ‘size’ undeclared (first use in this function)
./classes/pool.h:76: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:76: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/pool.h:82: error: too few arguments to function ‘instanceof_function’
./classes/pool.h:84: error: request for member ‘val’ in something not a structure or union
./classes/pool.h:84: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:84: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:87: warning: passing argument 5 of ‘zend_update_property_long’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_API.h:329: note: expected ‘long int’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:87: error: too few arguments to function ‘zend_update_property_long’
./classes/pool.h:89: error: request for member ‘val’ in something not a structure or union
./classes/pool.h:89: error: request for member ‘len’ in something not a structure or union
./classes/pool.h:89: warning: passing argument 5 of ‘zend_update_property_stringl’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:332: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:89: warning: passing argument 6 of ‘zend_update_property_stringl’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_API.h:332: note: expected ‘int’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:89: error: too few arguments to function ‘zend_update_property_stringl’
./classes/pool.h:91: error: too few arguments to function ‘zend_update_property’
./classes/pool.h: In function ‘zim_Pool_resize’:
./classes/pool.h:99: error: ‘zend_long’ undeclared (first use in this function)
./classes/pool.h:99: error: expected ‘;’ before ‘newsize’
./classes/pool.h:103: error: ‘newsize’ undeclared (first use in this function)
./classes/pool.h:103: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:103: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/pool.h:107: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:108: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:111: warning: comparison between pointer and integer
./classes/pool.h:114: error: expected ‘;’ before ‘top’
./classes/pool.h:117: error: ‘top’ undeclared (first use in this function)
./classes/pool.h:117: warning: passing argument 2 of ‘zend_hash_index_find’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_hash.h:166: note: expected ‘ulong’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:117: error: too few arguments to function ‘zend_hash_index_find’
./classes/pool.h:117: warning: assignment from incompatible pointer type
./classes/pool.h:119: warning: passing argument 1 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h:119: error: too few arguments to function ‘zend_call_method’
./classes/pool.h:123: warning: passing argument 4 of ‘zend_hash_del_key_or_index’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_hash.h:153: note: expected ‘ulong’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:124: warning: comparison between pointer and integer
./classes/pool.h:127: warning: assignment makes integer from pointer without a cast
./classes/pool.h: In function ‘zim_Pool_submit’:
./classes/pool.h:145: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:145: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zval **’
./classes/pool.h:149: error: too few arguments to function ‘instanceof_function’
./classes/pool.h:152: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:152: warning: passing argument 4 of ‘zend_throw_exception_ex’ makes pointer from integer without a cast
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘int’
./classes/pool.h:156: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:157: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:158: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:166: error: too few arguments to function ‘zend_hash_index_find’
./classes/pool.h:166: warning: assignment from incompatible pointer type
./classes/pool.h:167: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:171: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:171: error: too few arguments to function ‘zend_throw_exception_ex’
./classes/pool.h:176: warning: passing argument 1 of ‘zend_lookup_class’ makes pointer from integer without a cast
/usr/local/include/php/Zend/zend_execute.h:64: note: expected ‘const char *’ but argument is of type ‘int’
./classes/pool.h:176: error: too few arguments to function ‘zend_lookup_class’
./classes/pool.h:176: warning: assignment from incompatible pointer type
./classes/pool.h:179: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:183: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:203: warning: passing argument 1 of ‘worker.value.obj.handlers->get_constructor’ makes pointer from integer without a cast
./classes/pool.h:203: note: expected ‘struct zval *’ but argument is of type ‘int’
./classes/pool.h:203: error: too few arguments to function ‘worker.value.obj.handlers->get_constructor’
./classes/pool.h:203: warning: assignment from incompatible pointer type
./classes/pool.h:215: error: ‘zend_fcall_info’ has no member named ‘object’
./classes/pool.h:216: error: ‘zend_fcall_info’ has no member named ‘retval’
./classes/pool.h:227: error: ‘zend_fcall_info_cache’ has no member named ‘object’
./classes/pool.h:230: error: too few arguments to function ‘zend_fcall_info_args’
./classes/pool.h:232: error: too few arguments to function ‘zend_call_function’
./classes/pool.h:237: error: ‘IS_UNDEF’ undeclared (first use in this function)
./classes/pool.h:237: warning: comparison between pointer and integer
./classes/pool.h:241: warning: passing argument 1 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h:241: error: too few arguments to function ‘zend_call_method’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:907:
./classes/pool.h:245:48: error: macro "zend_hash_index_update" requires 5 arguments, but only 3 given
./classes/pool.h:244: error: ‘zend_hash_index_update’ undeclared (first use in this function)
./classes/pool.h:244: warning: assignment from incompatible pointer type
./classes/pool.h:249: warning: passing argument 1 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h:249: error: too few arguments to function ‘zend_call_method’
./classes/pool.h: In function ‘zim_Pool_submitTo’:
./classes/pool.h:260: error: ‘zend_long’ undeclared (first use in this function)
./classes/pool.h:260: error: expected ‘;’ before ‘worker’
./classes/pool.h:263: error: ‘worker’ undeclared (first use in this function)
./classes/pool.h:263: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:263: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/pool.h:267: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:272: warning: passing argument 2 of ‘zend_hash_index_find’ makes integer from pointer without a cast
/usr/local/include/php/Zend/zend_hash.h:166: note: expected ‘ulong’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:272: error: too few arguments to function ‘zend_hash_index_find’
./classes/pool.h:272: warning: assignment from incompatible pointer type
./classes/pool.h:275: warning: passing argument 1 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h:275: error: too few arguments to function ‘zend_call_method’
./classes/pool.h:276: warning: assignment makes integer from pointer without a cast
./classes/pool.h:279: warning: passing argument 3 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:279: warning: passing argument 4 of ‘zend_throw_exception_ex’ from incompatible pointer type
/usr/local/include/php/Zend/zend_exceptions.h:44: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h: In function ‘zim_Pool_collect’:
./classes/pool.h:292: error: ‘zend_long’ undeclared (first use in this function)
./classes/pool.h:292: error: expected ‘;’ before ‘collectable’
./classes/pool.h:294: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/pool.h:294: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_fcall_info *’
./classes/pool.h:298: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:303: error: expected ‘;’ before ‘{’ token
./classes/pool.h:318: error: ‘collectable’ undeclared (first use in this function)
./classes/pool.h:318: warning: assignment makes integer from pointer without a cast
./classes/pool.h: In function ‘pthreads_pool_shutdown_worker’:
./classes/pool.h:324: error: ‘tsrm_ls’ undeclared (first use in this function)
./classes/pool.h:327: warning: passing argument 2 of ‘zend_get_class_entry’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:347: note: expected ‘void ***’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:327: warning: passing argument 1 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h:327: warning: passing argument 6 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h:327: warning: passing argument 10 of ‘zend_call_method’ from incompatible pointer type
/usr/local/include/php/Zend/zend_interfaces.h:41: note: expected ‘void ***’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:329: error: ‘IS_UNDEF’ undeclared (first use in this function)
./classes/pool.h:329: warning: comparison between pointer and integer
./classes/pool.h:330: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/local/include/php/Zend/zend_variables.h:51: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
./classes/pool.h: In function ‘pthreads_pool_shutdown’:
./classes/pool.h:340: error: ‘tsrm_ls’ undeclared (first use in this function)
./classes/pool.h:340: warning: passing argument 2 of ‘zend_get_class_entry’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:347: note: expected ‘void ***’ but argument is of type ‘struct zend_function_entry *’
./classes/pool.h:340: warning: passing argument 6 of ‘zend_read_property’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:343: note: expected ‘void ***’ but argument is of type ‘struct zval *’
./classes/pool.h:344: warning: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type
/usr/local/include/php/Zend/zend_hash.h:139: note: expected ‘apply_func_t’ but argument is of type ‘int (*)(struct zval *)’
./classes/pool.h:344: error: too few arguments to function ‘zend_hash_apply’
In file included from /home/files/php-5.6.30/ext/pthreads/php_pthreads.c:911:
./classes/socket.h: At top level:
./classes/socket.h:161: error: ‘Socket_setOption’ undeclared here (not in a function)
./classes/socket.h:161: error: initializer element is not constant
./classes/socket.h:161: error: (near initialization for ‘pthreads_socket_methods[1].arg_info’)
./classes/socket.h:161: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:161: warning: cast from pointer to integer of different size
./classes/socket.h:161: error: initializer element is not constant
./classes/socket.h:161: error: (near initialization for ‘pthreads_socket_methods[1].num_args’)
./classes/socket.h:162: error: ‘Socket_getOption’ undeclared here (not in a function)
./classes/socket.h:162: error: initializer element is not constant
./classes/socket.h:162: error: (near initialization for ‘pthreads_socket_methods[2].arg_info’)
./classes/socket.h:162: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:162: warning: cast from pointer to integer of different size
./classes/socket.h:162: error: initializer element is not constant
./classes/socket.h:162: error: (near initialization for ‘pthreads_socket_methods[2].num_args’)
./classes/socket.h:163: error: ‘Socket_bind’ undeclared here (not in a function)
./classes/socket.h:163: error: initializer element is not constant
./classes/socket.h:163: error: (near initialization for ‘pthreads_socket_methods[3].arg_info’)
./classes/socket.h:163: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:163: warning: cast from pointer to integer of different size
./classes/socket.h:163: error: initializer element is not constant
./classes/socket.h:163: error: (near initialization for ‘pthreads_socket_methods[3].num_args’)
./classes/socket.h:164: error: ‘Socket_listen’ undeclared here (not in a function)
./classes/socket.h:164: error: initializer element is not constant
./classes/socket.h:164: error: (near initialization for ‘pthreads_socket_methods[4].arg_info’)
./classes/socket.h:164: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:164: warning: cast from pointer to integer of different size
./classes/socket.h:164: error: initializer element is not constant
./classes/socket.h:164: error: (near initialization for ‘pthreads_socket_methods[4].num_args’)
./classes/socket.h:166: error: ‘Socket_connect’ undeclared here (not in a function)
./classes/socket.h:166: error: initializer element is not constant
./classes/socket.h:166: error: (near initialization for ‘pthreads_socket_methods[6].arg_info’)
./classes/socket.h:166: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:166: warning: cast from pointer to integer of different size
./classes/socket.h:166: error: initializer element is not constant
./classes/socket.h:166: error: (near initialization for ‘pthreads_socket_methods[6].num_args’)
./classes/socket.h:167: error: ‘Socket_select’ undeclared here (not in a function)
./classes/socket.h:167: error: initializer element is not constant
./classes/socket.h:167: error: (near initialization for ‘pthreads_socket_methods[7].arg_info’)
./classes/socket.h:167: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:167: warning: cast from pointer to integer of different size
./classes/socket.h:167: error: initializer element is not constant
./classes/socket.h:167: error: (near initialization for ‘pthreads_socket_methods[7].num_args’)
./classes/socket.h:168: error: ‘Socket_read’ undeclared here (not in a function)
./classes/socket.h:168: error: initializer element is not constant
./classes/socket.h:168: error: (near initialization for ‘pthreads_socket_methods[8].arg_info’)
./classes/socket.h:168: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:168: warning: cast from pointer to integer of different size
./classes/socket.h:168: error: initializer element is not constant
./classes/socket.h:168: error: (near initialization for ‘pthreads_socket_methods[8].num_args’)
./classes/socket.h:169: error: ‘Socket_write’ undeclared here (not in a function)
./classes/socket.h:169: error: initializer element is not constant
./classes/socket.h:169: error: (near initialization for ‘pthreads_socket_methods[9].arg_info’)
./classes/socket.h:169: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:169: warning: cast from pointer to integer of different size
./classes/socket.h:169: error: initializer element is not constant
./classes/socket.h:169: error: (near initialization for ‘pthreads_socket_methods[9].num_args’)
./classes/socket.h:170: error: ‘Socket_send’ undeclared here (not in a function)
./classes/socket.h:170: error: initializer element is not constant
./classes/socket.h:170: error: (near initialization for ‘pthreads_socket_methods[10].arg_info’)
./classes/socket.h:170: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:170: warning: cast from pointer to integer of different size
./classes/socket.h:170: error: initializer element is not constant
./classes/socket.h:170: error: (near initialization for ‘pthreads_socket_methods[10].num_args’)
./classes/socket.h:171: error: ‘Socket_setBlocking’ undeclared here (not in a function)
./classes/socket.h:171: error: initializer element is not constant
./classes/socket.h:171: error: (near initialization for ‘pthreads_socket_methods[11].arg_info’)
./classes/socket.h:171: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:171: warning: cast from pointer to integer of different size
./classes/socket.h:171: error: initializer element is not constant
./classes/socket.h:171: error: (near initialization for ‘pthreads_socket_methods[11].num_args’)
./classes/socket.h:172: error: ‘Socket_getHost’ undeclared here (not in a function)
./classes/socket.h:172: error: initializer element is not constant
./classes/socket.h:172: error: (near initialization for ‘pthreads_socket_methods[12].arg_info’)
./classes/socket.h:172: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:172: warning: cast from pointer to integer of different size
./classes/socket.h:172: error: initializer element is not constant
./classes/socket.h:172: error: (near initialization for ‘pthreads_socket_methods[12].num_args’)
./classes/socket.h:173: error: initializer element is not constant
./classes/socket.h:173: error: (near initialization for ‘pthreads_socket_methods[13].arg_info’)
./classes/socket.h:173: error: invalid operands to binary / (have ‘struct zend_function_entry *’ and ‘long unsigned int’)
./classes/socket.h:173: warning: cast from pointer to integer of different size
./classes/socket.h:173: error: initializer element is not constant
./classes/socket.h:173: error: (near initialization for ‘pthreads_socket_methods[13].num_args’)
./classes/socket.h: In function ‘zim_Socket___construct’:
./classes/socket.h:181: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:181: error: expected ‘;’ before ‘domain’
./classes/socket.h:182: error: expected ‘;’ before ‘type’
./classes/socket.h:183: error: expected ‘;’ before ‘protocol’
./classes/socket.h:185: error: ‘domain’ undeclared (first use in this function)
./classes/socket.h:185: error: ‘type’ undeclared (first use in this function)
./classes/socket.h:185: error: ‘protocol’ undeclared (first use in this function)
./classes/socket.h:185: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:185: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:189: error: too many arguments to function ‘pthreads_socket_construct’
./classes/socket.h: In function ‘zim_Socket_setOption’:
./classes/socket.h:195: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:195: error: expected ‘;’ before ‘level’
./classes/socket.h:196: error: expected ‘;’ before ‘name’
./classes/socket.h:197: error: expected ‘;’ before ‘value’
./classes/socket.h:199: error: ‘level’ undeclared (first use in this function)
./classes/socket.h:199: error: ‘name’ undeclared (first use in this function)
./classes/socket.h:199: error: ‘value’ undeclared (first use in this function)
./classes/socket.h:199: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:199: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:203: warning: passing argument 2 of ‘pthreads_socket_set_option’ from incompatible pointer type
./src/socket.h:35: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:203: error: too many arguments to function ‘pthreads_socket_set_option’
./classes/socket.h: In function ‘zim_Socket_getOption’:
./classes/socket.h:209: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:209: error: expected ‘;’ before ‘level’
./classes/socket.h:210: error: expected ‘;’ before ‘name’
./classes/socket.h:212: error: ‘level’ undeclared (first use in this function)
./classes/socket.h:212: error: ‘name’ undeclared (first use in this function)
./classes/socket.h:212: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:212: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:216: warning: passing argument 2 of ‘pthreads_socket_get_option’ from incompatible pointer type
./src/socket.h:36: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:216: error: too many arguments to function ‘pthreads_socket_get_option’
./classes/socket.h: In function ‘zim_Socket_bind’:
./classes/socket.h:221: error: ‘zend_string’ undeclared (first use in this function)
./classes/socket.h:221: error: ‘host’ undeclared (first use in this function)
./classes/socket.h:221: error: invalid operands to binary * (have ‘struct zend_function_entry *’ and ‘struct zend_function_entry *’)
./classes/socket.h:222: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:222: error: expected ‘;’ before ‘port’
./classes/socket.h:224: error: ‘port’ undeclared (first use in this function)
./classes/socket.h:224: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:224: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:228: warning: passing argument 2 of ‘pthreads_socket_bind’ from incompatible pointer type
./src/socket.h:37: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:228: error: too many arguments to function ‘pthreads_socket_bind’
./classes/socket.h: In function ‘zim_Socket_listen’:
./classes/socket.h:233: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:233: error: expected ‘;’ before ‘backlog’
./classes/socket.h:235: error: ‘backlog’ undeclared (first use in this function)
./classes/socket.h:235: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:235: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:239: warning: passing argument 2 of ‘pthreads_socket_listen’ from incompatible pointer type
./src/socket.h:38: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:239: error: too many arguments to function ‘pthreads_socket_listen’
./classes/socket.h: In function ‘zim_Socket_accept’:
./classes/socket.h:244: error: ‘execute_data’ undeclared (first use in this function)
./classes/socket.h:244: warning: initialization makes pointer from integer without a cast
./classes/socket.h:246: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:246: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_class_entry **’
./classes/socket.h: In function ‘zim_Socket_connect’:
./classes/socket.h:255: error: ‘zend_string’ undeclared (first use in this function)
./classes/socket.h:255: error: ‘host’ undeclared (first use in this function)
./classes/socket.h:255: error: invalid operands to binary * (have ‘struct zend_function_entry *’ and ‘struct zend_function_entry *’)
./classes/socket.h:256: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:256: error: expected ‘;’ before ‘port’
./classes/socket.h:258: error: ‘port’ undeclared (first use in this function)
./classes/socket.h:258: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:258: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:262: warning: passing argument 2 of ‘pthreads_socket_connect’ from incompatible pointer type
./src/socket.h:40: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:262: error: too many arguments to function ‘pthreads_socket_connect’
./classes/socket.h: In function ‘zim_Socket_select’:
./classes/socket.h:270: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:270: error: expected ‘;’ before ‘sec’
./classes/socket.h:271: error: expected ‘;’ before ‘usec’
./classes/socket.h:273: error: ‘sec’ undeclared (first use in this function)
./classes/socket.h:273: error: ‘usec’ undeclared (first use in this function)
./classes/socket.h:273: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:273: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zval **’
./classes/socket.h:277: warning: passing argument 4 of ‘pthreads_socket_select’ makes integer from pointer without a cast
./src/socket.h:48: note: expected ‘uint32_t’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:277: warning: passing argument 5 of ‘pthreads_socket_select’ makes integer from pointer without a cast
./src/socket.h:48: note: expected ‘uint32_t’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h: In function ‘zim_Socket_read’:
./classes/socket.h:282: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:282: error: expected ‘;’ before ‘length’
./classes/socket.h:283: error: expected ‘;’ before ‘flags’
./classes/socket.h:285: error: ‘length’ undeclared (first use in this function)
./classes/socket.h:285: error: ‘flags’ undeclared (first use in this function)
./classes/socket.h:285: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:285: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:289: warning: passing argument 2 of ‘pthreads_socket_read’ from incompatible pointer type
./src/socket.h:41: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:289: error: too many arguments to function ‘pthreads_socket_read’
./classes/socket.h: In function ‘zim_Socket_write’:
./classes/socket.h:294: error: ‘zend_string’ undeclared (first use in this function)
./classes/socket.h:294: error: ‘buffer’ undeclared (first use in this function)
./classes/socket.h:294: error: invalid operands to binary * (have ‘struct zend_function_entry *’ and ‘struct zend_function_entry *’)
./classes/socket.h:295: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:295: error: expected ‘;’ before ‘length’
./classes/socket.h:297: error: ‘length’ undeclared (first use in this function)
./classes/socket.h:297: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:297: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:301: warning: passing argument 2 of ‘pthreads_socket_write’ from incompatible pointer type
./src/socket.h:42: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:301: error: too many arguments to function ‘pthreads_socket_write’
./classes/socket.h: In function ‘zim_Socket_send’:
./classes/socket.h:306: error: ‘zend_string’ undeclared (first use in this function)
./classes/socket.h:306: error: ‘buffer’ undeclared (first use in this function)
./classes/socket.h:306: error: invalid operands to binary * (have ‘struct zend_function_entry *’ and ‘struct zend_function_entry *’)
./classes/socket.h:307: error: ‘zend_long’ undeclared (first use in this function)
./classes/socket.h:307: error: expected ‘;’ before ‘length’
./classes/socket.h:308: error: expected ‘;’ before ‘flags’
./classes/socket.h:310: error: ‘length’ undeclared (first use in this function)
./classes/socket.h:310: error: ‘flags’ undeclared (first use in this function)
./classes/socket.h:310: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h:310: warning: passing argument 3 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘const char *’ but argument is of type ‘struct zend_function_entry (*)[1]’
./classes/socket.h:314: warning: passing argument 2 of ‘pthreads_socket_send’ from incompatible pointer type
./src/socket.h:43: note: expected ‘struct zval *’ but argument is of type ‘struct zend_function_entry *’
./classes/socket.h:314: error: too many arguments to function ‘pthreads_socket_send’
./classes/socket.h: In function ‘zim_Socket_setBlocking’:
./classes/socket.h:321: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h: In function ‘zim_Socket_getPeerName’:
./classes/socket.h:332: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
./classes/socket.h: In function ‘zim_Socket_getSockName’:
./classes/socket.h:343: warning: passing argument 2 of ‘zend_parse_parameters’ from incompatible pointer type
/usr/local/include/php/Zend/zend_API.h:257: note: expected ‘void ***’ but argument is of type ‘char *’
make: *** [php_pthreads.lo] Error 1


Successful build using pthreads PHP5 branch


This build succeeds because the PHP5 branch of pthreads is cloned (using the -b PHP5 argument to git clone).

[root@atl019 /home/files/php-5.6.30/ext]# mkdir pthreads && cd pthreads
[root@atl019 /home/files/php-5.6.30/ext/pthreads]# git clone -b PHP5 https://github.com/krakjoe/pthreads.git .
Initialized empty Git repository in /home/files/php-5.6.30/ext/pthreads/.git/
remote: Counting objects: 6403, done.
remote: Total 6403 (delta 0), reused 0 (delta 0), pack-reused 6403
Receiving objects: 100% (6403/6403), 2.00 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (4209/4209), done.
[root@atl019 /home/files/php-5.6.30/ext/pthreads]# phpize && ./configure && make install
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
checking for ...
...[snip many lines]...

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/php_pthreads.c -o php_pthreads.lo
mkdir .libs
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/php_pthreads.c  -fPIC -DPIC -o .libs/php_pthreads.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/lock.c -o src/lock.lo
mkdir src/.libs
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/lock.c  -fPIC -DPIC -o src/.libs/lock.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/globals.c -o src/globals.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/globals.c  -fPIC -DPIC -o src/.libs/globals.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/prepare.c -o src/prepare.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/prepare.c  -fPIC -DPIC -o src/.libs/prepare.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/synchro.c -o src/synchro.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/synchro.c  -fPIC -DPIC -o src/.libs/synchro.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/state.c -o src/state.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/state.c  -fPIC -DPIC -o src/.libs/state.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/store.c -o src/store.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/store.c  -fPIC -DPIC -o src/.libs/store.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/resources.c -o src/resources.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/resources.c  -fPIC -DPIC -o src/.libs/resources.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/modifiers.c -o src/modifiers.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/modifiers.c  -fPIC -DPIC -o src/.libs/modifiers.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/handlers.c -o src/handlers.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/handlers.c  -fPIC -DPIC -o src/.libs/handlers.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=compile cc  -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -c /home/files/php-5.6.30/ext/pthreads/src/object.c -o src/object.lo
 cc -I. -I/home/files/php-5.6.30/ext/pthreads -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/. -DHAVE_CONFIG_H -g -O2 -c /home/files/php-5.6.30/ext/pthreads/src/object.c  -fPIC -DPIC -o src/.libs/object.o
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=link cc -DPHP_ATOM_INC -I/home/files/php-5.6.30/ext/pthreads/include -I/home/files/php-5.6.30/ext/pthreads/main -I/home/files/php-5.6.30/ext/pthreads -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/home/files/php-5.6.30/ext/pthreads/.  -DHAVE_CONFIG_H  -g -O2   -o pthreads.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/files/php-5.6.30/ext/pthreads/modules  php_pthreads.lo src/lock.lo src/globals.lo src/prepare.lo src/synchro.lo src/state.lo src/store.lo src/resources.lo src/modifiers.lo src/handlers.lo src/object.lo
cc -shared  .libs/php_pthreads.o src/.libs/lock.o src/.libs/globals.o src/.libs/prepare.o src/.libs/synchro.o src/.libs/state.o src/.libs/store.o src/.libs/resources.o src/.libs/modifiers.o src/.libs/handlers.o src/.libs/object.o   -Wl,-soname -Wl,pthreads.so -o .libs/pthreads.so
creating pthreads.la
(cd .libs && rm -f pthreads.la && ln -s ../pthreads.la pthreads.la)
/bin/sh /home/files/php-5.6.30/ext/pthreads/libtool --mode=install cp ./pthreads.la /home/files/php-5.6.30/ext/pthreads/modules
cp ./.libs/pthreads.so /home/files/php-5.6.30/ext/pthreads/modules/pthreads.so
cp ./.libs/pthreads.lai /home/files/php-5.6.30/ext/pthreads/modules/pthreads.la
PATH="$PATH:/sbin" ldconfig -n /home/files/php-5.6.30/ext/pthreads/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /home/files/php-5.6.30/ext/pthreads/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
	 during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
	 during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-zts-20131226/


CategoryPHP
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki