1.yaf 版本 2.3.3
2.php 版本 5.4.45
3.error :
/bin/sh /usr/local/lib64/yaf-yaf-2.3.3/libtool --mode=compile cc -I. -I/usr/local/lib64/yaf-yaf-2.3.3 -DPHP_ATOM_INC -I/usr/local/lib64/yaf-yaf-2.3.3/include -I/usr/local/lib64/yaf-yaf-2.3.3/main -I/usr/local/lib64/yaf-yaf-2.3.3 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/lib64/yaf-yaf-2.3.3/yaf.c -o yaf.lo
libtool: compile: cc -I. -I/usr/local/lib64/yaf-yaf-2.3.3 -DPHP_ATOM_INC -I/usr/local/lib64/yaf-yaf-2.3.3/include -I/usr/local/lib64/yaf-yaf-2.3.3/main -I/usr/local/lib64/yaf-yaf-2.3.3 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/lib64/yaf-yaf-2.3.3/yaf.c -fPIC -DPIC -o .libs/yaf.o
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c: In function ‘ OnUpdateSeparator ’:
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c:60: warning: assignment from incompatible pointer type
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c:61: error: ‘ new_value_length ’ undeclared (first use in this function)
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c:61: error: (Each undeclared identifier is reported only once
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c:61: error: for each function it appears in.)
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c: In function ‘ zm_deactivate_yaf ’:
/usr/local/lib64/yaf-yaf-2.3.3/yaf.c:231: warning: passing argument 1 of ‘_zval_ptr_dtor ’ from incompatible pointer type
/usr/local/php/include/php/Zend/zend_variables.h:112: note: expected ‘ struct zval ’ but argument is of type ‘ struct zval **’
make: ** [yaf.lo] Error 1
1
onion83 2016-03-15 09:10:33 +08:00
php 版本太旧了,建议先升级到 5.5 以上吧。
|
2
ershisi 2016-03-15 09:14:10 +08:00
/usr/local/php/include/php/Zend/zend_variables.h zend 的头文件问题。估计是版本不对应吧?
|
4
ohahaha 2016-03-15 14:47:48 +08:00
直接用 7 吧 我已经都搭完
|
5
lbp0200 2016-03-15 16:04:42 +08:00
|