Board logo

标题: [求助] ZipArchive编译不上 [打印本页]

作者: coloz    时间: 2013-8-29 01:13     标题: ZipArchive编译不上

求助,大家帮我看看是什么问题呢?

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

现在连wdcp都进不了了
作者: admin    时间: 2013-9-2 14:54

编译这个,怎么会导致wdcp进不了,不知你是怎么编译的
作者: coloz    时间: 2013-9-4 23:49

回复 3# admin


   reboot后可以进wdcp了,但ZipArchive编译不上啊,求管理员帮助
作者: coloz    时间: 2013-9-5 00:23

http://www.wdlinux.cn/bbs/viewth ... hlight=%C0%A9%D5%B9
按照这个帖子编译的,编译不上




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2