- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2016-12-7 16:27:16
|
显示全部楼层
In file included from /usr/include/png.h:536:0,
from /home/zdata/lnmp1.4/src/php-5.2.17/ext/gd/libgd/gd_png.c:10:
/usr/include/zlib.h:1349:32: error: expected 鈥?鈥? 鈥?鈥? 鈥?鈥? 鈥榓sm鈥?or 鈥榑_attribute__鈥?before 鈥榋_ARG鈥? ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...));
^
/usr/include/zlib.h:1673:5: error: unknown type name 鈥榸_off64_t鈥? z_off64_t pos;
^
/usr/include/zlib.h:1748:1: error: unknown type name 鈥榸_crc_t鈥? ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void));
^
/usr/include/zlib.h:1758:44: error: expected 鈥?鈥? 鈥?鈥? 鈥?鈥? 鈥榓sm鈥?or 鈥榑_attribute__鈥?before 鈥榋_ARG鈥? ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file,
^
make: *** [ext/gd/libgd/gd_png.lo] Error 1
不清楚原因,php 5.2算是非常老的php版本了,建议选择较老的linux发行版 |
|