开发者社区> 问答> 正文

centos6.5 安装PHPredis扩张,make出现错误

centos6.5下编译安装phpredis-master 总是make错误

In file included from /lampsrc/extension/redis/phpredis-master/redis.c:33:
/lampsrc/extension/redis/phpredis-master/library.h:36: 错误:expected declaration specifiers or ‘...’ before ‘tsrm_ls’
/lampsrc/extension/redis/phpredis-master/library.h:38: 错误:expected declaration specifiers or ‘...’ before ‘tsrm_ls’
/lampsrc/extension/redis/phpredis-master/library.h:41: 错误:expected declaration specifiers or ‘...’ before ‘tsrm_ls’
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘redis_connect’中:
/lampsrc/extension/redis/phpredis-master/redis.c:462: 错误:提供给函数‘zend_list_insert’的实参太少
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_set’中:
/lampsrc/extension/redis/phpredis-master/redis.c:514: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_setex’中:
/lampsrc/extension/redis/phpredis-master/redis.c:553: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_setnx’中:
/lampsrc/extension/redis/phpredis-master/redis.c:588: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_getSet’中:
/lampsrc/extension/redis/phpredis-master/redis.c:626: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘generic_push_function’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1349: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_lInsert’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1405: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c:1406: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_lRemove’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1577: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_sAdd’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1712: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_sRemove’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1778: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_sMove’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1814: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_sContains’中:
/lampsrc/extension/redis/phpredis-master/redis.c:1869: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘generic_multiple_args_cmd’中:
/lampsrc/extension/redis/phpredis-master/redis.c:2006: 错误:提供给函数‘redis_key_prefix’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c:2034: 错误:提供给函数‘redis_key_prefix’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_lSet’中:
/lampsrc/extension/redis/phpredis-master/redis.c:2659: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘generic_mset’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3012: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_zAdd’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3117: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_zDelete’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3198: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在文件层:
/lampsrc/extension/redis/phpredis-master/redis.c:3328: 错误:形参‘tsrm_ls’重定义
/lampsrc/extension/redis/phpredis-master/redis.c:3328: 附注:‘tsrm_ls’的上一个定义在此
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_zScore’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3525: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘generic_rank_method’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3558: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘generic_incrby_method’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3608: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘generic_hset’中:
/lampsrc/extension/redis/phpredis-master/redis.c:3815: 错误:提供给函数‘redis_serialize’的实参太多
/lampsrc/extension/redis/phpredis-master/redis.c: 在函数‘zim_Redis_hMset’中:
/lampsrc/extension/redis/phpredis-master/redis.c:4284: 错误:提供给函数‘redis_serialize’的实参太多
make: * [redis.lo] 错误 1

展开
收起
蛮大人123 2016-02-05 14:47:36 4426 0
1 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
低代码开发师(初级)实战教程 立即下载