- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2016-5-25 17:52:55
|
显示全部楼层
In file included from /usr/include/png.h:317:0,
from /home/lijie/下载/lnmp1.2-full/src/php-5.6.9/ext/gd/libgd/gd_png.c:10:
/usr/include/zlib.h:1349:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’
ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...));
^
/usr/include/zlib.h:1673:5: error: unknown type name ‘z_off64_t’
z_off64_t pos;
^
/usr/include/zlib.h:1748:15: error: unknown type name ‘z_crc_t’
ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void));
^
/usr/include/zlib.h:1758:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’
ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file,
^
Makefile:836: recipe for target 'ext/gd/libgd/gd_png.lo' failed
make: *** [ext/gd/libgd/gd_png.lo] Error 1
错误原因未知,deepin2015上只测试过1.3,没有问题 |
|