[英]pecl install apc gives me Makefile:195: recipe for target 'apc.lo' failed
On an Ubuntu 16.04.6 LTS box sudo pecl install apc
fails with:在 Ubuntu 16.04.6 LTS 盒子上
sudo pecl install apc
失败:
/usr/include/php/20151012/Zend/zend_variables.h:122:48: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
#define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
^
/tmp/pear/temp/APC/apc.c:711:5: note: in expansion of macro ‘zval_ptr_dtor’
zval_ptr_dtor(&data);
^
/usr/include/php/20151012/Zend/zend_variables.h:112:15: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval ** {aka struct _zval_struct **}’
ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC);
^
Makefile:195: recipe for target 'apc.lo' failed
make: *** [apc.lo] Error 1
ERROR: `make' failed
How to resolve this?如何解决这个问题?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.