creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
root@ubuntu:/usr/src/zip-1.12.1# make
/bin/bash /usr/src/zip-1.12.1/libtool --mode=compile cc -I. -I/usr/src/zip-1.12.1 -DPHP_ATOM_INC -I/usr/src/zip-1.12.1/include -I/usr/src/zip-1.12.1/main -I/usr/src/zip-1.12.1 -I/www/wdlinux/wdphp/include/php -I/www/wdlinux/wdphp/include/php/main -I/www/wdlinux/wdphp/include/php/TSRM -I/www/wdlinux/wdphp/include/php/Zend -I/www/wdlinux/wdphp/include/php/ext -I/www/wdlinux/wdphp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/src/zip-1.12.1/php_zip.c -o php_zip.lo
mkdir .libs
cc -I. -I/usr/src/zip-1.12.1 -DPHP_ATOM_INC -I/usr/src/zip-1.12.1/include -I/usr/src/zip-1.12.1/main -I/usr/src/zip-1.12.1 -I/www/wdlinux/wdphp/include/php -I/www/wdlinux/wdphp/include/php/main -I/www/wdlinux/wdphp/include/php/TSRM -I/www/wdlinux/wdphp/include/php/Zend -I/www/wdlinux/wdphp/include/php/ext -I/www/wdlinux/wdphp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/src/zip-1.12.1/php_zip.c -fPIC -DPIC -o .libs/php_zip.o
/usr/src/zip-1.12.1/php_zip.c:760:2: error: 釶HP_FE_END?undeclared here (not in a function)
/usr/src/zip-1.12.1/php_zip.c:849:1: error: unknown type name 鈠end_literal?
/usr/src/zip-1.12.1/php_zip.c: In function 鈖hp_zip_get_property_ptr_ptr?
/usr/src/zip-1.12.1/php_zip.c:872:95: error: request for member 鈎ash_value?in something not a structure or union
/usr/src/zip-1.12.1/php_zip.c:872:4: warning: passing argument 4 of 鈠end_hash_quick_find?makes integer from pointer without a cast [enabled by default]
/www/wdlinux/wdphp/include/php/Zend/zend_hash.h:157:14: note: expected 鈛long?but argument is of type 鈉onst struct zend_function_entry *?
/usr/src/zip-1.12.1/php_zip.c:881:3: error: too many arguments to function 鈙td_hnd->get_property_ptr_ptr?
/usr/src/zip-1.12.1/php_zip.c: At top level:
/usr/src/zip-1.12.1/php_zip.c:891:1: error: unknown type name 鈠end_literal?
/usr/src/zip-1.12.1/php_zip.c: In function 鈖hp_zip_read_property?
/usr/src/zip-1.12.1/php_zip.c:913:95: error: request for member 鈎ash_value?in something not a structure or union
/usr/src/zip-1.12.1/php_zip.c:913:4: warning: passing argument 4 of 鈠end_hash_quick_find?makes integer from pointer without a cast [enabled by default]
/www/wdlinux/wdphp/include/php/Zend/zend_hash.h:157:14: note: expected 鈛long?but argument is of type 鈉onst struct zend_function_entry *?
/usr/src/zip-1.12.1/php_zip.c:929:3: error: too many arguments to function 鈙td_hnd->read_property?
/usr/src/zip-1.12.1/php_zip.c: At top level:
/usr/src/zip-1.12.1/php_zip.c:939:1: error: unknown type name 鈠end_literal?
/usr/src/zip-1.12.1/php_zip.c: In function 鈖hp_zip_has_property?
/usr/src/zip-1.12.1/php_zip.c:960:95: error: request for member 鈎ash_value?in something not a structure or union
/usr/src/zip-1.12.1/php_zip.c:960:4: warning: passing argument 4 of 鈠end_hash_quick_find?makes integer from pointer without a cast [enabled by default]
/www/wdlinux/wdphp/include/php/Zend/zend_hash.h:157:14: note: expected 鈛long?but argument is of type 鈉onst struct zend_function_entry *?
/usr/src/zip-1.12.1/php_zip.c:985:3: error: too many arguments to function 鈙td_hnd->has_property?
/usr/src/zip-1.12.1/php_zip.c: In function 鈖hp_zip_get_properties?
/usr/src/zip-1.12.1/php_zip.c:1008:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/usr/src/zip-1.12.1/php_zip.c: At top level:
/usr/src/zip-1.12.1/php_zip.c:1170:2: warning: initialization discards 鈉onst?qualifier from pointer target type [enabled by default]
/usr/src/zip-1.12.1/php_zip.c: In function 鈖hp_zip_add_from_pattern?
/usr/src/zip-1.12.1/php_zip.c:1746:7: warning: format ?ld?expects argument of type 鈒ong int? but argument 5 has type 鈙ize_t?[-Wformat]
/usr/src/zip-1.12.1/php_zip.c: In function 鈠m_startup_zip?
/usr/src/zip-1.12.1/php_zip.c:2801:43: warning: assignment from incompatible pointer type [enabled by default]
/usr/src/zip-1.12.1/php_zip.c:2804:36: warning: assignment from incompatible pointer type [enabled by default]
/usr/src/zip-1.12.1/php_zip.c:2805:35: warning: assignment from incompatible pointer type [enabled by default]
/usr/src/zip-1.12.1/php_zip.c:2807:2: warning: assignment discards 鈉onst?qualifier from pointer target type [enabled by default]
make: *** [php_zip.lo] Error 1作者: coloz 时间: 2013-9-1 21:33