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
You used old version phpredis.
Download new version from https://github.com/owlient/phpredis
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。