yum install gperf
yum install libevent-devel
yum install libuuid-devel
wget https://launchpad.net/gearmand/1.2/1.1.11/+download/gearmand-1.1.11.tar.gz
tar -xzvf gearmand-1.1.12.tar.gz
cd gearmand-1.1.12
./configure --prefix=/software/installed/gearmand --with-boost=/software/boost_1_61_0/sdk/ --with-boost-libdir=/software/boost_1_61_0/sdk/lib
make
make install
加入service
进入源码的的script目录
cp gearmand-init /etc/init.d/gearmand
vi /etc/init.d/gearmand
加入
# chkconfig: - 85 15
同时修改start处为
$GEARMAND -d -P $PIDFILE -L 0.0.0.0
保存退出
cd /etc/init.d/
添加执行权限
chmod +x gearmand
添加注册服务
chkconfig --add gearmand
关于boost版本太低
卸载
rpm -e boost-devel-1.41.0-28.el6.x86_64
rpm -e boost-1.41.0-28.el6.x86_64
编译安装boost
wget http://ncu.dl.sourceforge.net/project/boost/boost/1.61.0/boost_1_61_0.tar.gz
./bootstrap.sh --prefix=/software/boost_1_61_0/sdk/
./bjam install
关于./gearmand: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory 错误
先查找mysql安装目录是否存在 libmysqlclient.so.18
find /software/installed/mysql/ -name libmysqlclient.so.18
存在
/software/installed/mysql/lib/libmysqlclient.so.18
修改ld.so.conf文件
添加
/software/installed/mysql/lib
执行 ldconfig 使其生效
安装gearman php扩展,在configure的时候
./configure --with-php-config=/software/installed/php/bin/php-config --with-gearman=/software/installed/gearmand/
记得加上 --with-gearman
否则报错
configure: error: Please install libgearman
另外如果在php7上安装gearman扩展,需要在github上:https://github.com/wcgallego/pecl-gearman/tree/master下载最新的版本进行安装,否则会报错
/software/download/gearman-1.1.2/php_gearman.c:1011: error: expected specifier-qualifier-list before ‘zend_object_value’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_free’: /software/download/gearman-1.1.2/php_gearman.c:1117: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1118: warning: implicit declaration of function ‘FREE_ZVAL’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1118: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1119: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:1123: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1133:44: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_version’: /software/download/gearman-1.1.2/php_gearman.c:1133: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:1133: error: (Each undeclared identifier is reported only once /software/download/gearman-1.1.2/php_gearman.c:1133: error: for each function it appears in.) /software/download/gearman-1.1.2/php_gearman.c:1140:46: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_bugreport’: /software/download/gearman-1.1.2/php_gearman.c:1140: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:1154:56: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_verbose_name’: /software/download/gearman-1.1.2/php_gearman.c:1154: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_return_code’: /software/download/gearman-1.1.2/php_gearman.c:1262: warning: implicit declaration of function ‘zend_object_store_get_object’ /software/download/gearman-1.1.2/php_gearman.c:1262: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_function_name’: /software/download/gearman-1.1.2/php_gearman.c:1287: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1288: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1289:65: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1289: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_unique’: /software/download/gearman-1.1.2/php_gearman.c:1300: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1301: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1302:58: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1302: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_job_handle’: /software/download/gearman-1.1.2/php_gearman.c:1313: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1314: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1315:62: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1315: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_is_known’: /software/download/gearman-1.1.2/php_gearman.c:1326: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1327: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1328: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_is_running’: /software/download/gearman-1.1.2/php_gearman.c:1340: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1341: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1342: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_numerator’: /software/download/gearman-1.1.2/php_gearman.c:1354: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1355: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1356: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_denominator’: /software/download/gearman-1.1.2/php_gearman.c:1368: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1369: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1370: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_data’: /software/download/gearman-1.1.2/php_gearman.c:1385: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1387: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1388: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:1389: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:1391:50: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 /software/download/gearman-1.1.2/php_gearman.c:1391: error: ‘RETURN_STRINGL’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_data_size’: /software/download/gearman-1.1.2/php_gearman.c:1403: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1404: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1405: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_send_workload’: /software/download/gearman-1.1.2/php_gearman.c:1420: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1423: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1428: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:1432: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_task_recv_data’: /software/download/gearman-1.1.2/php_gearman.c:1450: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1452: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c:1458: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:1462: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:1469: error: too many arguments to function ‘add_next_index_stringl’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_return_code’: /software/download/gearman-1.1.2/php_gearman.c:1483: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_send_data’: /software/download/gearman-1.1.2/php_gearman.c:1496: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_send_warning’: /software/download/gearman-1.1.2/php_gearman.c:1522: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_send_status’: /software/download/gearman-1.1.2/php_gearman.c:1550: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_send_complete’: /software/download/gearman-1.1.2/php_gearman.c:1573: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_send_exception’: /software/download/gearman-1.1.2/php_gearman.c:1595: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_send_fail’: /software/download/gearman-1.1.2/php_gearman.c:1615: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_handle’: /software/download/gearman-1.1.2/php_gearman.c:1634: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1636:55: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1636: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:1637: error: expected ‘;’ before ‘}’ token /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_unique’: /software/download/gearman-1.1.2/php_gearman.c:1646: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1648:55: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1648: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:1649: error: expected ‘;’ before ‘}’ token /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_function_name’: /software/download/gearman-1.1.2/php_gearman.c:1658: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1660:62: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1660: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:1661: error: expected ‘;’ before ‘}’ token /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_workload’: /software/download/gearman-1.1.2/php_gearman.c:1672: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1677:57: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 /software/download/gearman-1.1.2/php_gearman.c:1677: error: ‘RETURN_STRINGL’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_workload_size’: /software/download/gearman-1.1.2/php_gearman.c:1688: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_job_set_return’: /software/download/gearman-1.1.2/php_gearman.c:1704: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_return_code’: /software/download/gearman-1.1.2/php_gearman.c:1729: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_create’: /software/download/gearman-1.1.2/php_gearman.c:1739: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:1741: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_clone’: /software/download/gearman-1.1.2/php_gearman.c:1767: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1769: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:1771: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_error’: /software/download/gearman-1.1.2/php_gearman.c:1791: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:1794:28: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:1794: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:1795: error: expected ‘;’ before ‘}’ token /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_errno’: /software/download/gearman-1.1.2/php_gearman.c:1806: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_options’: /software/download/gearman-1.1.2/php_gearman.c:1818: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_options’: /software/download/gearman-1.1.2/php_gearman.c:1831: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_options’: /software/download/gearman-1.1.2/php_gearman.c:1845: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_remove_options’: /software/download/gearman-1.1.2/php_gearman.c:1859: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_timeout’: /software/download/gearman-1.1.2/php_gearman.c:1872: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_timeout’: /software/download/gearman-1.1.2/php_gearman.c:1885: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_server’: /software/download/gearman-1.1.2/php_gearman.c:1901: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_servers’: /software/download/gearman-1.1.2/php_gearman.c:1927: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_wait’: /software/download/gearman-1.1.2/php_gearman.c:1951: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_normal’: /software/download/gearman-1.1.2/php_gearman.c:1985: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2003:54: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 /software/download/gearman-1.1.2/php_gearman.c:2003: error: ‘RETURN_STRINGL’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_high’: /software/download/gearman-1.1.2/php_gearman.c:2030: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2049:54: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 /software/download/gearman-1.1.2/php_gearman.c:2049: error: ‘RETURN_STRINGL’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_low’: /software/download/gearman-1.1.2/php_gearman.c:2067: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2086:54: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 /software/download/gearman-1.1.2/php_gearman.c:2086: error: ‘RETURN_STRINGL’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_job_handle’: /software/download/gearman-1.1.2/php_gearman.c:2097: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2099:71: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:2099: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c:2100: error: expected ‘;’ before ‘}’ token /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_status’: /software/download/gearman-1.1.2/php_gearman.c:2111: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_background’: /software/download/gearman-1.1.2/php_gearman.c:2134: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2156:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:2156: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_high_background’: /software/download/gearman-1.1.2/php_gearman.c:2173: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2195:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:2195: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_do_low_background’: /software/download/gearman-1.1.2/php_gearman.c:2212: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2233:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:2233: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_job_status’: /software/download/gearman-1.1.2/php_gearman.c:2249: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_job_status_by_unique_key’: /software/download/gearman-1.1.2/php_gearman.c:2276: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_ping’: /software/download/gearman-1.1.2/php_gearman.c:2303: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task’: /software/download/gearman-1.1.2/php_gearman.c:2342: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2347: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2349: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2354: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2359: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:2363: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2365: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2368: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2368: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2378: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task_high’: /software/download/gearman-1.1.2/php_gearman.c:2396: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2401: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2403: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2408: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2413: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:2416: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2418: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2421: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2421: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2431: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task_low’: /software/download/gearman-1.1.2/php_gearman.c:2449: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2454: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2456: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2461: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2466: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:2469: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2471: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2474: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2474: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2484: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task_background’: /software/download/gearman-1.1.2/php_gearman.c:2502: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2507: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2509: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2514: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2519: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:2522: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2524: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2527: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2527: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2537: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task_high_background’: /software/download/gearman-1.1.2/php_gearman.c:2555: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2560: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2562: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2567: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2572: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:2575: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2577: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2580: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2581: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2591: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task_low_background’: /software/download/gearman-1.1.2/php_gearman.c:2609: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2614: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2616: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2621: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2626: error: ‘gearman_task_obj’ has no member named ‘zworkload’ /software/download/gearman-1.1.2/php_gearman.c:2629: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2631: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2635: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2636: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2646: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_add_task_status’: /software/download/gearman-1.1.2/php_gearman.c:2664: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2668: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2670: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2675: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2679: error: ‘gearman_task_obj’ has no member named ‘zclient’ /software/download/gearman-1.1.2/php_gearman.c:2681: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c:2684: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2684: error: ‘gearman_task_obj’ has no member named ‘task’ /software/download/gearman-1.1.2/php_gearman.c:2691: error: ‘gearman_task_obj’ has no member named ‘flags’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_cb_fn’: /software/download/gearman-1.1.2/php_gearman.c:2710: warning: implicit declaration of function ‘MAKE_STD_ZVAL’ /software/download/gearman-1.1.2/php_gearman.c:2711: error: expected ‘;’ before ‘if’ /software/download/gearman-1.1.2/php_gearman.c:2733: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2736: error: ‘gearman_task_obj’ has no member named ‘zdata’ /software/download/gearman-1.1.2/php_gearman.c:2742: error: incompatible types when assigning to type ‘zval’ from type ‘struct zval *’ /software/download/gearman-1.1.2/php_gearman.c:2744: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’ /software/download/gearman-1.1.2/php_gearman.c:2745: warning: assignment from incompatible pointer type /software/download/gearman-1.1.2/php_gearman.c:2752: error: ‘zend_fcall_info’ has no member named ‘object_ptr’ /software/download/gearman-1.1.2/php_gearman.c:2764: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:2766: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:2766: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:2777: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:2777: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:2705: warning: unused variable ‘new_obj’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_workload_fn’: /software/download/gearman-1.1.2/php_gearman.c:2788: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_created_fn’: /software/download/gearman-1.1.2/php_gearman.c:2796: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_data_fn’: /software/download/gearman-1.1.2/php_gearman.c:2804: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_warning_fn’: /software/download/gearman-1.1.2/php_gearman.c:2812: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_status_fn’: /software/download/gearman-1.1.2/php_gearman.c:2820: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_complete_fn’: /software/download/gearman-1.1.2/php_gearman.c:2828: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_exception_fn’: /software/download/gearman-1.1.2/php_gearman.c:2836: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_task_fail_fn’: /software/download/gearman-1.1.2/php_gearman.c:2844: error: ‘gearman_task_obj’ has no member named ‘client’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_workload_fn’: /software/download/gearman-1.1.2/php_gearman.c:2856: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2860: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_created_fn’: /software/download/gearman-1.1.2/php_gearman.c:2887: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2891: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_data_fn’: /software/download/gearman-1.1.2/php_gearman.c:2918: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2922: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_warning_fn’: /software/download/gearman-1.1.2/php_gearman.c:2949: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2953: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_status_fn’: /software/download/gearman-1.1.2/php_gearman.c:2980: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:2984: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_complete_fn’: /software/download/gearman-1.1.2/php_gearman.c:3011: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3015: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_exception_fn’: /software/download/gearman-1.1.2/php_gearman.c:3042: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3046: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_fail_fn’: /software/download/gearman-1.1.2/php_gearman.c:3073: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3077: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_clear_fn’: /software/download/gearman-1.1.2/php_gearman.c:3102: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3106: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3106: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3108: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3108: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3110: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3110: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3112: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3112: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3114: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3114: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3116: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3116: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3118: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3118: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3120: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3120: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_context’: /software/download/gearman-1.1.2/php_gearman.c:3134: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3138:53: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 /software/download/gearman-1.1.2/php_gearman.c:3138: error: ‘RETURN_STRINGL’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_set_context’: /software/download/gearman-1.1.2/php_gearman.c:3151: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_client_run_tasks’: /software/download/gearman-1.1.2/php_gearman.c:3165: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_return_code’: /software/download/gearman-1.1.2/php_gearman.c:3190: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_create’: /software/download/gearman-1.1.2/php_gearman.c:3200: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:3202: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_clone’: /software/download/gearman-1.1.2/php_gearman.c:3224: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3226: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:3228: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_error’: /software/download/gearman-1.1.2/php_gearman.c:3248: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3252:35: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /software/download/gearman-1.1.2/php_gearman.c:3252: error: ‘RETURN_STRING’ undeclared (first use in this function) /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_errno’: /software/download/gearman-1.1.2/php_gearman.c:3265: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_options’: /software/download/gearman-1.1.2/php_gearman.c:3277: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_set_options’: /software/download/gearman-1.1.2/php_gearman.c:3290: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_add_options’: /software/download/gearman-1.1.2/php_gearman.c:3304: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_remove_options’: /software/download/gearman-1.1.2/php_gearman.c:3318: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_timeout’: /software/download/gearman-1.1.2/php_gearman.c:3331: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_set_timeout’: /software/download/gearman-1.1.2/php_gearman.c:3344: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_set_id’: /software/download/gearman-1.1.2/php_gearman.c:3359: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_add_server’: /software/download/gearman-1.1.2/php_gearman.c:3378: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_add_servers’: /software/download/gearman-1.1.2/php_gearman.c:3404: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_wait’: /software/download/gearman-1.1.2/php_gearman.c:3428: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_register’: /software/download/gearman-1.1.2/php_gearman.c:3454: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_unregister’: /software/download/gearman-1.1.2/php_gearman.c:3476: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_unregister_all’: /software/download/gearman-1.1.2/php_gearman.c:3496: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_grab_job’: /software/download/gearman-1.1.2/php_gearman.c:3516: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3518: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:3520: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘_php_worker_function_callback’: /software/download/gearman-1.1.2/php_gearman.c:3554: error: lvalue required as left operand of assignment /software/download/gearman-1.1.2/php_gearman.c:3556: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3569: error: incompatible types when assigning to type ‘zval’ from type ‘struct zval *’ /software/download/gearman-1.1.2/php_gearman.c:3571: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’ /software/download/gearman-1.1.2/php_gearman.c:3572: warning: assignment from incompatible pointer type /software/download/gearman-1.1.2/php_gearman.c:3577: error: ‘zend_fcall_info’ has no member named ‘object_ptr’ /software/download/gearman-1.1.2/php_gearman.c:3585: error: request for member ‘val’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3586: error: request for member ‘val’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3594: error: ‘zend_object’ has no member named ‘value’ /software/download/gearman-1.1.2/php_gearman.c:3594: warning: passing argument 2 of ‘zend_read_property’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:355: note: expected ‘struct zval *’ but argument is of type ‘struct zend_object *’ /software/download/gearman-1.1.2/php_gearman.c:3594: error: too few arguments to function ‘zend_read_property’ /software/download/gearman-1.1.2/php_gearman.c:3614: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3614: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3617: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3617: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_add_function’: /software/download/gearman-1.1.2/php_gearman.c:3637: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c:3648: warning: passing argument 3 of ‘zend_is_callable’ from incompatible pointer type /software/installed/php/include/php/Zend/zend_API.h:314: note: expected ‘struct zend_string **’ but argument is of type ‘char **’ /software/download/gearman-1.1.2/php_gearman.c:3675: error: request for member ‘val’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_work’: /software/download/gearman-1.1.2/php_gearman.c:3695: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zif_gearman_worker_echo’: /software/download/gearman-1.1.2/php_gearman.c:3722: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘zim_gearman_client___construct’: /software/download/gearman-1.1.2/php_gearman.c:3744: warning: assignment makes pointer from integer without a cast /software/download/gearman-1.1.2/php_gearman.c: In function ‘gearman_client_obj_free’: /software/download/gearman-1.1.2/php_gearman.c:3765: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3765: error: request for member ‘bucket’ in something not a structure or union /software/download/gearman-1.1.2/php_gearman.c:3766: error: ‘zval’ has no member named ‘refcount’ /software/download/gearman-1.1.2/php_gearman.c:3766: error: request for member ‘bucket’ in something not a structure or union