centos6.5 安装PHPredis扩张,make出现错误-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

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

蛮大人123 2016-02-05 14:47:36 2978

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

NoSQL Redis
分享到
取消 提交回答
全部回答(1)
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

推荐文章
相似问题
推荐课程