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