FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2018 PLD Team
$Revision: 1.37 $
Powered by Real Programmer.
Your IP: 3.80.177.176

php-redis 11426d00-fd21-497f-8d4b-b052e0c501bd

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/i686/FAIL/php-redis,11426d00-fd21-497f-8d4b-b052e0c501bd.bz2
text/plain URL:View!
rpm -qa of builder:View!
Date:2018/10/05 07:51:46
Runtime:0:00:05.994477

Toc:

  • error 1
  • rpm: error: Failed build dependencies:
  • error 2
  • rpm: error: Failed build dependencies:
  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423
  • build
  • Executing(%build): /bin/sh -e /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423
  • error 3
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 4
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 5
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 6
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 7
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 8
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 9
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 10
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 11
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 12
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 13
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 14
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 15
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 16
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 17
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 18
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 19
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 20
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 21
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 22
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 23
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 24
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 25
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 26
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 27
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 28
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 29
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 30
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 31
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 32
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 33
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 34
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 35
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 36
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 37
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 38
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 39
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 40
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 41
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 42
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 43
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 44
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 45
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 46
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 47
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 48
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 49
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 50
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 51
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 52
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 53
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 54
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 55
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 56
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 57
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 58
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 59
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 60
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 61
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 62
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 63
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 64
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 65
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 66
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 67
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 68
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 69
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 70
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 71
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 72
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 73
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 74
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 75
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 76
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 77
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 78
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 79
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 80
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 81
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 82
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 83
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 84
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 85
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 86
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 87
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 88
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 89
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 90
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 91
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 92
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 93
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 94
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 95
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 96
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 97
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 98
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 99
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 100
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 101
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 102
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 103
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 104
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 105
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 106
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 107
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 108
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 109
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 110
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 111
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 112
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 113
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 114
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 115
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 116
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 117
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 118
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 119
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 120
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 121
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 122
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 123
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 124
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 125
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 126
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 127
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 128
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 129
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 130
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 131
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 132
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 133
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 134
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 135
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 136
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 137
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 138
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 139
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 140
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 141
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 142
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 143
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 144
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 145
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 146
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 147
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 148
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 149
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 150
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 151
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 152
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 153
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 154
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 155
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 156
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 157
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 158
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 159
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 160
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 161
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 162
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 163
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 164
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 165
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 166
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 167
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 168
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 169
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 170
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 171
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline'
  • error 172
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 173
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline'
  • error 174
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 175
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void'
  • error 176
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void'
  • error 177
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void'
  • error 178
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline'
  • error 179
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 180
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void'
  • error 181
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline'
  • error 182
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 183
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void'
  • error 184
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline'
  • error 185
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 186
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline'
  • error 187
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 188
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int'
  • error 189
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int'
  • error 190
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline'
  • error 191
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long'
  • error 192
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double'
  • error 193
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline'
  • error 194
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 195
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:571:8: error: unknown type name 'zend_always_inline'
  • error 196
  • /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:571:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  • error 197
  • error: Bad exit status from /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423 (%build)
  • error 198
  • RPM build errors:
  • error 199
  • error: No files produced.

Content:

request from: adamg
checking if we should skip the build
started at: Fri Oct  5 07:51:12 2018
killing old processes on a builder
sending signal 9 to pid -1
Killed
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/11426d00-fd21-497f-8d4b-b052e0c501bd/php52-redis-3.1.6-1.src.rpm
fetched 269636 bytes, 398.6 K/s
installing srpm: php52-redis-3.1.6-1.src.rpm
+ install -d /tmp/B.f04gz2/BUILD /tmp/B.f04gz2/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog php52-redis-3.1.6-1.src.rpm
* Fri Oct 05 2018 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/php-redis.git;a=log;h=master
* Tue Oct 02 2018 Adam Gołębiowski <adamg@pld-linux.org> f2c23d8
- updated to 3.1.6 * Sat Nov 04 2017 Arkadiusz Miśkiewicz <arekm@maven.pl> c61b27e
- rel 2; just BR cli * Sat Nov 04 2017 Arkadiusz Miśkiewicz <arekm@maven.pl> bc808e4
- up to 3.1.4 + rpm -Uhv --nodeps --define '_topdir /tmp/B.f04gz2' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --define 'php_suffix 52' php52-redis-3.1.6-1.src.rpm Preparing... ################################################## php52-redis ################################################## + rm -f php52-redis-3.1.6-1.src.rpm + install -m 700 -d /tmp/B.f04gz2/BUILD/tmp + TMPDIR=/tmp/B.f04gz2/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.f04gz2' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 52' --define 'prep exit 0' /tmp/B.f04gz2/php-redis.spec sh: php-config: not found Building target platforms: i686-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: sh: php-config: not found rpm: error: Failed build dependencies: rpm: php52-devel >= 4:5.0.4 is needed by php52-redis-3.1.6-1.src rpm: php52-pcre is needed by php52-redis-3.1.6-1.src rpm: php52-session is needed by php52-redis-3.1.6-1.src rpm: php52-simplexml is needed by php52-redis-3.1.6-1.src rpm: php52-cli is needed by php52-redis-3.1.6-1.src rpm: Building target platforms: i686-pld-linux updating poldek cache... ready is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... ..............................done Retrieving diff::packages.ndir.2018.10.05-01.47.03.gz... ..............................done Retrieving diff::packages.ndir.dscr.2018.10.05-01.47.03.gz... Loading [pndir]th-test... Applying packages.ndir.2018.10.05-01.47.03.gz... Writing /root/tmp/poldek-cache-root/[...]/packages.ndir.gz... Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... ..............................done Retrieving diff::packages.ndir.2018.10.05-03.42.01.gz... Retrieving diff::packages.ndir.dscr.2018.10.05-03.42.01.gz... Loading [pndir]th-test... Applying packages.ndir.2018.10.05-03.42.01.gz... Retrieving diff::packages.ndir.2018.10.05-03.53.01.gz... ..............................done Retrieving diff::packages.ndir.dscr.2018.10.05-03.53.01.gz... Applying packages.ndir.2018.10.05-03.53.01.gz... Writing /root/tmp/poldek-cache-root/[...]/packages.ndir.gz... checking conflicting packages in BRed packages poldek: Loading [pndir]ready... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th... poldek: Loading [pndir]th... poldek: 32694 packages read poldek: Removed 5610 duplicate packages from available set poldek: Processing dependencies... poldek: php52-pcre-5.2.17-20130717.31.i686 marks php52-common-5.2.17-20130717.31.i686 (cap /etc/php52/conf.d) poldek: php52-simplexml-5.2.17-20130717.31.i686 marks php52-spl-5.2.17-20130717.31.i686 (cap php52-spl = 4:5.2.17-20130717.31) poldek: There are 7 packages to install (2 marked by dependencies): poldek: I php52-cli-5.2.17-20130717.31.i686 php52-devel-5.2.17-20130717.31.i686 poldek: I php52-pcre-5.2.17-20130717.31.i686 poldek: I php52-session-5.2.17-20130717.31.i686 poldek: I php52-simplexml-5.2.17-20130717.31.i686 poldek: D php52-common-5.2.17-20130717.31.i686 php52-spl-5.2.17-20130717.31.i686 poldek: This operation will use 5.4MB of disk space. poldek: Need to get 1.3MB of archives. poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: sh: php-config: not found rpm: error: Failed build dependencies: rpm: php52-devel >= 4:5.0.4 is needed by php52-redis-3.1.6-1.src rpm: php52-pcre is needed by php52-redis-3.1.6-1.src rpm: php52-session is needed by php52-redis-3.1.6-1.src rpm: php52-simplexml is needed by php52-redis-3.1.6-1.src rpm: php52-cli is needed by php52-redis-3.1.6-1.src rpm: Building target platforms: i686-pld-linux installing BR: php52\-simplexml php52\-cli php52\-session php52\-pcre php52\-devel + poldek --noask --caplookup -Q -v '--ignore=hhvm-*' '--ignore=php4-*' '--ignore=php53-*' '--ignore=php54-*' '--ignore=php55-*' '--ignore=php56-*' '--ignore=php70-*' '--ignore=php71-*' '--ignore=php72-*' '--ignore=php73-*' --upgrade php52-simplexml php52-cli php52-session php52-pcre php52-devel Loading [pndir]ready... Loading [pndir]th-test... Loading [pndir]th-test... Loading [pndir]th-ready... Loading [pndir]th-ready... Loading [pndir]th... Loading [pndir]th... 32694 packages read Removed 5610 duplicate packages from available set Processing dependencies... php52-pcre-5.2.17-20130717.31.i686 marks php52-common-5.2.17-20130717.31.i686 (cap /etc/php52/conf.d) php52-simplexml-5.2.17-20130717.31.i686 marks php52-spl-5.2.17-20130717.31.i686 (cap php52-spl = 4:5.2.17-20130717.31) There are 7 packages to install (2 marked by dependencies): I php52-cli-5.2.17-20130717.31.i686 php52-devel-5.2.17-20130717.31.i686 I php52-pcre-5.2.17-20130717.31.i686 I php52-session-5.2.17-20130717.31.i686 I php52-simplexml-5.2.17-20130717.31.i686 D php52-common-5.2.17-20130717.31.i686 php52-spl-5.2.17-20130717.31.i686 This operation will use 5.4MB of disk space. Need to get 1.3MB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## php52-common ################################################## php52-pcre ################################################## php52-cli ################################################## php52-session ################################################## php52-devel ################################################## php52-spl ################################################## php52-simplexml ################################################## building RPM using: set -ex; : build-id: 11426d00-fd21-497f-8d4b-b052e0c501bd; TMPDIR=/tmp/B.f04gz2/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.f04gz2' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 52' /tmp/B.f04gz2/php-redis.spec + : build-id: 11426d00-fd21-497f-8d4b-b052e0c501bd + TMPDIR=/tmp/B.f04gz2/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.f04gz2' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 52' /tmp/B.f04gz2/php-redis.spec Building target platforms: i686-pld-linux Executing(%prep): /bin/sh -e /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423 + umask 022 + cd /tmp/B.f04gz2/BUILD + cd /tmp/B.f04gz2/BUILD + rm -rf php52-redis-3.1.6 + /bin/mkdir -p php52-redis-3.1.6 + cd php52-redis-3.1.6 + /usr/bin/gzip -dc /tmp/B.f04gz2/redis-3.1.6.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /tmp/B.f04gz2/redis-phpdoc.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv phpredis-phpredis-17d30d8/COPYING phpredis-phpredis-17d30d8/CREDITS phpredis-phpredis-17d30d8/ISSUE_TEMPLATE.md phpredis-phpredis-17d30d8/README.markdown phpredis-phpredis-17d30d8/arrays.markdown phpredis-phpredis-17d30d8/cluster.markdown phpredis-phpredis-17d30d8/cluster_library.c phpredis-phpredis-17d30d8/cluster_library.h phpredis-phpredis-17d30d8/common.h phpredis-phpredis-17d30d8/config.m4 phpredis-phpredis-17d30d8/config.w32 phpredis-phpredis-17d30d8/crc16.h phpredis-phpredis-17d30d8/debian phpredis-phpredis-17d30d8/debian.control phpredis-phpredis-17d30d8/library.c phpredis-phpredis-17d30d8/library.h phpredis-phpredis-17d30d8/mkdeb-apache2.sh phpredis-phpredis-17d30d8/mkdeb.sh phpredis-phpredis-17d30d8/package.xml phpredis-phpredis-17d30d8/php_redis.h phpredis-phpredis-17d30d8/redis.c phpredis-phpredis-17d30d8/redis_array.c phpredis-phpredis-17d30d8/redis_array.h phpredis-phpredis-17d30d8/redis_array_impl.c phpredis-phpredis-17d30d8/redis_array_impl.h phpredis-phpredis-17d30d8/redis_cluster.c phpredis-phpredis-17d30d8/redis_cluster.h phpredis-phpredis-17d30d8/redis_commands.c phpredis-phpredis-17d30d8/redis_commands.h phpredis-phpredis-17d30d8/redis_session.c phpredis-phpredis-17d30d8/redis_session.h phpredis-phpredis-17d30d8/rpm phpredis-phpredis-17d30d8/serialize.list phpredis-phpredis-17d30d8/tests . + mv ukko-phpredis-phpdoc-57c7a9f phpdoc + exit 0 Executing(%build): /bin/sh -e /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin TMPDIR=/tmp/B.f04gz2/BUILD/tmp + umask 022 + cd /tmp/B.f04gz2/BUILD + cd php52-redis-3.1.6 + phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 configure.in:3: warning: prefer named diversions configure.in:3: warning: prefer named diversions + ./configure 'LDFLAGS=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'CXXFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'FFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'FCFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'CPPFLAGS=' 'CC=i686-pld-linux-gcc' 'CXX=i686-pld-linux-g++' '--host=i686-pld-linux' '--build=i686-pld-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-libraries=/usr/lib' checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for i686-pld-linux-cc... i686-pld-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pld-linux-gcc accepts -g... yes checking for i686-pld-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i686-pld-linux-gcc -E checking for icc... no checking for suncc... no checking whether i686-pld-linux-gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pld-linux-gnu checking host system type... i686-pld-linux-gnu checking target system type... i686-pld-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php52 checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking whether to enable redis support... yes, shared checking whether to enable sessions... yes checking whether to enable igbinary serializer support... no checking for redis igbinary support... disabled checking how to print strings... print -r checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i686-pld-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-pld-linux-gnu file names to i686-pld-linux-gnu format... func_convert_file_noop checking how to convert i686-pld-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-pld-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pld-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for i686-pld-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-pld-linux-strip... no checking for strip... strip checking for i686-pld-linux-ranlib... no checking for ranlib... ranlib checking for mawk... (cached) gawk checking command to parse /usr/bin/nm -B output from i686-pld-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i686-pld-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pld-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pld-linux-gcc option to produce PIC... -fPIC -DPIC checking if i686-pld-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pld-linux-gcc static flag -static works... yes checking if i686-pld-linux-gcc supports -c -o file.o... yes checking if i686-pld-linux-gcc supports -c -o file.o... (cached) yes checking whether the i686-pld-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands + /usr/bin/make -Otarget -j9 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c -o redis_array_impl.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c -fPIC -DPIC -o .libs/redis_array_impl.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_load_hosts': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: warning: implicit declaration of function 'inline_zend_hash_get_current_data_ex'; did you mean '_zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: note: in definition of macro 'zend_hash_get_current_data_ex' #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:45:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(hosts, zpData) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:45:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(hosts, zpData) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_load_array': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:195:16: warning: implicit declaration of function 'zend_hash_str_find'; did you mean 'zend_hash_str_find_ptr'? [-Wimplicit-function-declaration] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_hosts), name, name_len)) != NULL) { ^~~~~~~~~~~~~~~~~~ zend_hash_str_find_ptr /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:195:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_hosts), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:204:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_prev), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:214:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_funs), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:224:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_dist), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:233:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_index), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:244:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_autorehash), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:255:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_retry_interval), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:268:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_pconnect), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:279:14: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_lazy_connect), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:290:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_connect_timeout), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:305:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_data = zend_hash_str_find(Z_ARRVAL(z_params_read_timeout), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_call_extractor': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:393:42: warning: passing argument 2 of 'zend_is_callable_ex' makes integer from pointer without a cast [-Wint-conversion] if (!zend_is_callable_ex(&ra->z_fun, NULL, 0, NULL, NULL, NULL, NULL TSRMLS_CC)) { ^~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /usr/include/php/Zend/zend_API.h:222:61: note: expected 'uint' {aka 'unsigned int'} but argument is of type 'void *' ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char **callable_name, int *callable_name_len, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zval ***zobj_ptr_ptr TSRMLS_DC); ~~~~~^~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_call_distributor': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:441:43: warning: passing argument 2 of 'zend_is_callable_ex' makes integer from pointer without a cast [-Wint-conversion] if (!zend_is_callable_ex(&ra->z_dist, NULL, 0, NULL, NULL, NULL, NULL TSRMLS_CC)) { ^~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /usr/include/php/Zend/zend_API.h:222:61: note: expected 'uint' {aka 'unsigned int'} but argument is of type 'void *' ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char **callable_name, int *callable_name_len, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zval ***zobj_ptr_ptr TSRMLS_DC); ~~~~~^~~~~~~~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_index_change_keys': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:543:20: note: in expansion of macro 'zend_hash_index_find' zval *zv = zend_hash_index_find(Z_ARRVAL_P(z_keys), i); ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: initialization of 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:543:20: note: in expansion of macro 'zend_hash_index_find' zval *zv = zend_hash_index_find(Z_ARRVAL_P(z_keys), i); ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_index_keys': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:579:5: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(z_pairs), idx, zkey, z_val) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:198:5: warning: implicit declaration of function '_zend_hash_next_index_insert'; did you mean 'zend_hash_next_index_insert'? [-Wimplicit-function-declaration] _zend_hash_next_index_insert(ht, pData ZEND_FILE_LINE_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:591:9: note: in expansion of macro 'zend_hash_next_index_insert' zend_hash_next_index_insert(Z_ARRVAL(z_keys), z_new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_index_exec': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:636:24: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] } else if ((zp_tmp = zend_hash_index_find(Z_ARRVAL(z_ret), 0)) != NULL) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.h:9, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.h:10, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:19: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_get_key_type': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:721:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(Z_ARRVAL(z_ret), z_data) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_move_zset': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:840:5: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(h_zset_vals, idx, zkey, z_score_p) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_move_collection': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:993:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(h_set_vals, z_data_p) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c: In function 'ra_rehash_server': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array_impl.c:1165:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(h_keys, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:193: redis_array_impl.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c -o redis_session.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c -fPIC -DPIC -o .libs/redis_session.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:23: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c: In function 'ps_open_redis': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:246:30: warning: implicit declaration of function 'zend_hash_str_find'; did you mean 'zend_hash_str_find_ptr'? [-Wimplicit-function-declaration] if ((param = zend_hash_str_find(Z_ARRVAL(params), "weight", sizeof("weight") - 1)) != NULL) { ^~~~~~~~~~~~~~~~~~ zend_hash_str_find_ptr /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:246:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "weight", sizeof("weight") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:247:30: warning: implicit declaration of function 'zval_get_long'; did you mean 'cfg_get_long'? [-Wimplicit-function-declaration] weight = zval_get_long(param); ^~~~~~~~~~~~~ cfg_get_long /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:249:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "timeout", sizeof("timeout") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:252:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "read_timeout", sizeof("read_timeout") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:255:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "persistent", sizeof("persistent") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:258:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "persistent_id", sizeof("persistent_id") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:261:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "prefix", sizeof("prefix") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:264:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "auth", sizeof("auth") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:267:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "database", sizeof("database") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:270:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((param = zend_hash_str_find(Z_ARRVAL(params), "retry_interval", sizeof("retry_interval") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c: In function 'session_conf_timeout': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:528:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_val = zend_hash_str_find(ht_conf, key, key_len - 1)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c: In function 'session_conf_bool': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:545:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_val = zend_hash_str_find(ht_conf, key, keylen - 1)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c: In function 'ps_open_rediscluster': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:588:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_val = zend_hash_str_find(Z_ARRVAL(z_conf), "seed", sizeof("seed") - 1)) == NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:615:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_val = zend_hash_str_find(ht_conf, "prefix", sizeof("prefix") - 1)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:626:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_val = zend_hash_str_find(ht_conf, "failover", sizeof("failover") - 1)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:639:28: warning: implicit declaration of function 'zend_string_init'; did you mean 'zend_stack_init'? [-Wimplicit-function-declaration] c->flags->prefix = zend_string_init(prefix, prefix_len, 0); ^~~~~~~~~~~~~~~~ zend_stack_init /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_session.c:639:26: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] c->flags->prefix = zend_string_init(prefix, prefix_len, 0); ^ make: *** [Makefile:189: redis_session.lo] Error 1 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c -o redis_array.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c -fPIC -DPIC -o .libs/redis_array.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c: In function 'zim_RedisArray___construct': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:291:23: warning: implicit declaration of function 'zend_hash_str_find'; did you mean 'zend_hash_str_find_ptr'? [-Wimplicit-function-declaration] if ((zpData = zend_hash_str_find(hOpts, "previous", sizeof("previous") - 1)) != NULL && Z_TYPE_P(zpData) == IS_ARRAY ^~~~~~~~~~~~~~~~~~ zend_hash_str_find_ptr /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:291:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "previous", sizeof("previous") - 1)) != NULL && Z_TYPE_P(zpData) == IS_ARRAY ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:299:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "function", sizeof("function") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:304:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "distributor", sizeof("distributor") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:309:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "index", sizeof("index") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:314:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "autorehash", sizeof("autorehash") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:319:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "pconnect", sizeof("pconnect") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:324:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "retry_interval", sizeof("retry_interval") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:333:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "lazy_connect", sizeof("lazy_connect") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:338:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "connect_timeout", sizeof("connect_timeout") - 1)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:349:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zpData = zend_hash_str_find(hOpts, "read_timeout", sizeof("read_timeout") - 1)) != NULL) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c: In function 'ra_forward_call': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:407:23: note: in expansion of macro 'zend_hash_index_find' if ((zp_tmp = zend_hash_index_find(h_args, 0)) == NULL || Z_TYPE_P(zp_tmp) != IS_STRING) { ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:407:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zp_tmp = zend_hash_index_find(h_args, 0)) == NULL || Z_TYPE_P(zp_tmp) != IS_STRING) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: warning: implicit declaration of function 'inline_zend_hash_get_current_data_ex'; did you mean '_zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: note: in definition of macro 'zend_hash_get_current_data_ex' #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:428:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(h_args, zp_tmp) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:428:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(h_args, zp_tmp) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c: In function 'zim_RedisArray_mget': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:953:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(h_keys, data) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:1031:39: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (pos[i] != n || (z_cur = zend_hash_index_find(Z_ARRVAL(z_ret), j++)) == NULL) continue; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:1048:20: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_cur = zend_hash_index_find(Z_ARRVAL(z_tmp_array), i)) == NULL) continue; ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c: In function 'zim_RedisArray_mset': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:1108:5: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(h_keys, idx, zkey, data) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c: In function 'zim_RedisArray_del': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_array.c:1258:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(h_keys, data) { ^~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:191: redis_array.lo] Error 1 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c -o cluster_library.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c -fPIC -DPIC -o .libs/cluster_library.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c: In function 'cluster_set_err': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:496:18: warning: implicit declaration of function 'zend_string_init'; did you mean 'zend_stack_init'? [-Wimplicit-function-declaration] c->err = zend_string_init(err, err_len, 0); ^~~~~~~~~~~~~~~~ zend_stack_init /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:496:16: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] c->err = zend_string_init(err, err_len, 0); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/php_redis.h:22, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c: In function 'cluster_shuffle_seeds': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: warning: implicit declaration of function 'inline_zend_hash_get_current_data_ex'; did you mean '_zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: note: in definition of macro 'zend_hash_get_current_data_ex' #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:872:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(seeds, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:872:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(seeds, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c: In function 'cluster_sub_resp': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1630:22: note: in expansion of macro 'zend_hash_index_find' if ((z_tmp = zend_hash_index_find(Z_ARRVAL(z_tab), 0)) == NULL || ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1630:20: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_tmp = zend_hash_index_find(Z_ARRVAL(z_tab), 0)) == NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1664:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_type = zend_hash_index_find(Z_ARRVAL(z_tab), 0)) == NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1679:31: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (is_pmsg && (z_pat = zend_hash_index_find(Z_ARRVAL(z_tab), tab_idx++)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1684:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_chan = zend_hash_index_find(Z_ARRVAL(z_tab), tab_idx++)) == NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1685:20: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_data = zend_hash_index_find(Z_ARRVAL(z_tab), tab_idx++)) == NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c: In function 'cluster_unsub_resp': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1759:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_chan = zend_hash_index_find(Z_ARRVAL(z_tab), 1)) == NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:1767:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_flag = zend_hash_index_find(Z_ARRVAL(z_tab), 2)) == NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c: In function 'mbulk_resp_loop_zipdbl': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:2410:41: warning: implicit declaration of function 'zval_get_string'; did you mean 'cfg_get_string'? [-Wimplicit-function-declaration] zend_string *zstr = zval_get_string(z); ^~~~~~~~~~~~~~~ cfg_get_string /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/cluster_library.c:2410:41: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] make: *** [Makefile:197: cluster_library.lo] Error 1 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c -o redis_commands.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c -fPIC -DPIC -o .libs/redis_commands.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_zrangebyscore_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: warning: implicit declaration of function 'inline_zend_hash_get_current_data_ex'; did you mean '_zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: note: in definition of macro 'zend_hash_get_current_data_ex' #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:439:9: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(ht_opt, idx, zkey, z_ele) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:439:9: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(ht_opt, idx, zkey, z_ele) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:451:29: note: in expansion of macro 'zend_hash_index_find' if ((zoff = zend_hash_index_find(htlimit, 0)) != NULL && ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:451:27: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((zoff = zend_hash_index_find(htlimit, 0)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:452:27: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (zcnt = zend_hash_index_find(htlimit, 1)) != NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:455:30: warning: implicit declaration of function 'zval_get_long'; did you mean 'cfg_get_long'? [-Wimplicit-function-declaration] offset = zval_get_long(zoff); ^~~~~~~~~~~~~ cfg_get_long In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_zinter_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:557:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_keys, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:558:29: warning: implicit declaration of function 'zval_get_string'; did you mean 'cfg_get_string'? [-Wimplicit-function-declaration] zend_string *zstr = zval_get_string(z_ele); ^~~~~~~~~~~~~~~ cfg_get_string /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:558:29: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:588:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_weights, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_subscribe_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:672:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_chan, z_chan) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:674:29: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zend_string *zstr = zval_get_string(z_chan); ^~~~~~~~~~~~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_unsubscribe_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:725:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_chan) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_eval_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:854:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:855:18: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_ele); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_key_varval_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:913:25: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zend_string *zstr = zval_get_string(&z_args[0]); ^~~~~~~~~~~~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_key_arr_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:964:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_val) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'gen_varkey_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1031:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1032:18: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_ele); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1068:18: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&z_args[i]); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_set_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1148:9: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(kt, idx, zkey, v) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_hmget_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1384:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_mem) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_hmset_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1475:5: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(ht_vals, idx, zkey, z_val) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_bitop_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1600:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&z_args[i]); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_gen_pf_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1700:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1703:18: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_ele); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1724:22: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_ele); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_pfcount_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1795:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_keys, z_key) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1797:18: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_key); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1829:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_keys); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_auth_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1867:24: warning: implicit declaration of function 'zend_string_init'; did you mean 'zend_stack_init'? [-Wimplicit-function-declaration] redis_sock->auth = zend_string_init(pw, pw_len, 0); ^~~~~~~~~~~~~~~~ zend_stack_init /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:1867:22: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] redis_sock->auth = zend_string_init(pw, pw_len, 0); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_sort_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2126:19: warning: implicit declaration of function 'zend_hash_str_find'; did you mean 'zend_hash_str_find_ptr'? [-Wimplicit-function-declaration] if (((z_ele = zend_hash_str_find(ht_opts, "by", sizeof("by") - 1)) != NULL || ^~~~~~~~~~~~~~~~~~ zend_hash_str_find_ptr /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2126:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (((z_ele = zend_hash_str_find(ht_opts, "by", sizeof("by") - 1)) != NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2127:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_ele = zend_hash_str_find(ht_opts, "BY", sizeof("BY") - 1)) != NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2144:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (((z_ele = zend_hash_str_find(ht_opts, "sort", sizeof("sort") - 1)) != NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2145:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_ele = zend_hash_str_find(ht_opts, "SORT", sizeof("SORT") - 1)) != NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2153:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (((z_ele = zend_hash_str_find(ht_opts, "store", sizeof("store") - 1)) != NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2154:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_ele = zend_hash_str_find(ht_opts, "STORE", sizeof("STORE") - 1)) != NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2177:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (((z_ele = zend_hash_str_find(ht_opts, "get", sizeof("get") - 1)) != NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2178:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_ele = zend_hash_str_find(ht_opts, "GET", sizeof("GET") - 1)) != NULL ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2197:13: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(z_ele), z_key) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2221:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (((z_ele = zend_hash_str_find(ht_opts, "alpha", sizeof("alpha") - 1)) != NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2222:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_ele = zend_hash_str_find(ht_opts, "ALPHA", sizeof("ALPHA") - 1)) != NULL) && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2229:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if (((z_ele = zend_hash_str_find(ht_opts, "limit", sizeof("limit") - 1)) != NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2230:17: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_ele = zend_hash_str_find(ht_opts, "LIMIT", sizeof("LIMIT") - 1)) != NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2236:20: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_off = zend_hash_index_find(ht_off, 0)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2237:20: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_cnt = zend_hash_index_find(ht_off, 1)) != NULL ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2275:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_argv, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_hdel_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2322:10: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&z_args[0]); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2340:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&z_args[i]); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_zadd_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2383:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(Z_ARRVAL(z_args[1]), z_opt) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2413:10: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&z_args[0]); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'get_georadius_opts': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2538:5: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(ht, idx, zkey, optval) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_migrate_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2750:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_keys); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2773:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(z_keys), z_key) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2774:18: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_key); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.h:4, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:25: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_command_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2925:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_arr, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:2926:33: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zend_string *zstr = zval_get_string(z_ele); ^~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c: In function 'redis_setoption_handler': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_commands.c:3011:36: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] redis_sock->prefix = zend_string_init(val_str, val_len, 0); ^ make: *** [Makefile:185: redis_commands.lo] Error 1 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c -o library.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c -fPIC -DPIC -o .libs/library.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:37:64: warning: initialization of 'int (*)(zval *, const char *, int)' {aka 'int (*)(struct _zval_struct *, const char *, int)'} from incompatible pointer type 'int (*)(zval *, char *, int)' {aka 'int (*)(struct _zval_struct *, char *, int)'} [-Wincompatible-pointer-types] int (*_add_next_index_string)(zval *, const char *, int) = &add_next_index_string; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:38:71: warning: initialization of 'int (*)(zval *, const char *, uint, int)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, int)'} from incompatible pointer type 'int (*)(zval *, char *, uint, int)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, int)'} [-Wincompatible-pointer-types] int (*_add_next_index_stringl)(zval *, const char *, uint, int) = &add_next_index_stringl; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:39:66: warning: initialization of 'int (*)(zval *, const char *, uint, int)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, int)'} from incompatible pointer type 'int (*)(zval *, char *, uint, int)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, int)'} [-Wincompatible-pointer-types] int (*_add_assoc_bool_ex)(zval *, const char *, uint, int) = &add_assoc_bool_ex; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:40:67: warning: initialization of 'int (*)(zval *, const char *, uint, long int)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, long int)'} from incompatible pointer type 'int (*)(zval *, char *, uint, long int)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, long int)'} [-Wincompatible-pointer-types] int (*_add_assoc_long_ex)(zval *, const char *, uint, long) = &add_assoc_long_ex; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:41:71: warning: initialization of 'int (*)(zval *, const char *, uint, double)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, double)'} from incompatible pointer type 'int (*)(zval *, char *, uint, double)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, double)'} [-Wincompatible-pointer-types] int (*_add_assoc_double_ex)(zval *, const char *, uint, double) = &add_assoc_double_ex; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:42:76: warning: initialization of 'int (*)(zval *, const char *, uint, char *, int)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, char *, int)'} from incompatible pointer type 'int (*)(zval *, char *, uint, char *, int)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, char *, int)'} [-Wincompatible-pointer-types] int (*_add_assoc_string_ex)(zval *, const char *, uint, char *, int) = &add_assoc_string_ex; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:43:83: warning: initialization of 'int (*)(zval *, const char *, uint, char *, uint, int)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, char *, unsigned int, int)'} from incompatible pointer type 'int (*)(zval *, char *, uint, char *, uint, int)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, char *, unsigned int, int)'} [-Wincompatible-pointer-types] int (*_add_assoc_stringl_ex)(zval *, const char *, uint, char *, uint, int) = &add_assoc_stringl_ex; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:44:69: warning: initialization of 'int (*)(zval *, const char *, uint, zval *)' {aka 'int (*)(struct _zval_struct *, const char *, unsigned int, struct _zval_struct *)'} from incompatible pointer type 'int (*)(zval *, char *, uint, zval *)' {aka 'int (*)(struct _zval_struct *, char *, unsigned int, struct _zval_struct *)'} [-Wincompatible-pointer-types] int (*_add_assoc_zval_ex)(zval *, const char *, uint, zval *) = &add_assoc_zval_ex; ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:4: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c: In function 'redis_subscribe_response': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:282:22: note: in expansion of macro 'zend_hash_index_find' if ((z_tmp = zend_hash_index_find(Z_ARRVAL(z_resp), 0)) == NULL) { ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:282:20: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_tmp = zend_hash_index_find(Z_ARRVAL(z_resp), 0)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:319:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_type = zend_hash_index_find(ht_tab, 0)) == NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:336:24: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_pat = zend_hash_index_find(ht_tab, tab_idx++)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:342:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_chan = zend_hash_index_find(ht_tab, tab_idx++)) == NULL || ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:343:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_data = zend_hash_index_find(ht_tab, tab_idx++)) == NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c: In function 'redis_unsubscribe_response': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:406:21: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_chan = zend_hash_index_find(Z_ARRVAL(z_resp), 1)) == NULL ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c: In function 'array_zip_values_and_scores': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1101:24: warning: implicit declaration of function 'zend_hash_get_current_data'; did you mean 'zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] if ((z_key_p = zend_hash_get_current_data(keytable)) == NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ zend_hash_get_current_data_ex /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1101:22: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_key_p = zend_hash_get_current_data(keytable)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1106:29: warning: implicit declaration of function 'zval_get_string'; did you mean 'cfg_get_string'? [-Wimplicit-function-declaration] zend_string *hkey = zval_get_string(z_key_p); ^~~~~~~~~~~~~~~ cfg_get_string /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1106:29: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1112:24: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_value_p = zend_hash_get_current_data(keytable)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c: In function 'redis_sock_create': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1370:24: warning: implicit declaration of function 'zend_string_init'; did you mean 'zend_stack_init'? [-Wimplicit-function-declaration] redis_sock->host = zend_string_init(host, host_len, 0); ^~~~~~~~~~~~~~~~ zend_stack_init /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1370:22: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] redis_sock->host = zend_string_init(host, host_len, 0); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1381:35: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] redis_sock->persistent_id = zend_string_init(persistent_id, strlen(persistent_id), 0); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c: In function 'redis_sock_set_err': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1549:25: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] redis_sock->err = zend_string_init(msg, msg_len, 0); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c: In function 'redis_serialize': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/library.c:1815:41: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zend_string *zstr = zval_get_string(z); ^~~~~~~~~~~~~~~ make: *** [Makefile:187: library.lo] Error 1 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c -o redis_cluster.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c -fPIC -DPIC -o .libs/redis_cluster.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'redis_cluster_load': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:435:20: warning: implicit declaration of function 'zend_hash_str_find'; did you mean 'zend_hash_str_find_ptr'? [-Wimplicit-function-declaration] if ((z_value = zend_hash_str_find(Z_ARRVAL(z_seeds), name, name_len)) != NULL) { ^~~~~~~~~~~~~~~~~~ zend_hash_str_find_ptr /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:435:18: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_value = zend_hash_str_find(Z_ARRVAL(z_seeds), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:448:18: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_value = zend_hash_str_find(Z_ARRVAL(z_timeout), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:463:18: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_value = zend_hash_str_find(Z_ARRVAL(z_read_timeout), name, name_len)) != NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:478:18: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_value = zend_hash_str_find(Z_ARRVAL(z_persistent), name, name_len)) != NULL) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'get_key_val_ht': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: warning: implicit declaration of function 'inline_zend_hash_get_current_data_ex'; did you mean '_zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: note: in definition of macro 'zend_hash_get_current_data_ex' #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:647:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_val = zend_hash_get_current_data_ex(ht, ptr)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'get_key_ht': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:667:16: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_key = zend_hash_get_current_data_ex(ht, ptr)) == NULL) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'method_args_to_ht': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:198:5: warning: implicit declaration of function '_zend_hash_next_index_insert'; did you mean 'zend_hash_next_index_insert'? [-Wimplicit-function-declaration] _zend_hash_next_index_insert(ht, pData ZEND_FILE_LINE_CC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:699:9: note: in expansion of macro 'zend_hash_next_index_insert' zend_hash_next_index_insert(ht_ret, &z_args[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'zim_RedisCluster_watch': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2090:16: warning: implicit declaration of function 'zval_get_string'; did you mean 'cfg_get_string'? [-Wimplicit-function-declaration] zstr = zval_get_string(&z_args[i]); ^~~~~~~~~~~~~~~ cfg_get_string /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2090:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&z_args[i]); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'cluster_cmd_get_slot': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2245:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(z_arg); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:24: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2255:13: note: in expansion of macro 'zend_hash_index_find' (z_host = zend_hash_index_find(Z_ARRVAL_P(z_arg), 0)) != NULL && ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2255:11: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_host = zend_hash_index_find(Z_ARRVAL_P(z_arg), 0)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2256:11: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] (z_port = zend_hash_index_find(Z_ARRVAL_P(z_arg), 1)) != NULL && ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c: In function 'cluster_raw_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis_cluster.c:2362:29: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zend_string *zstr = zval_get_string(&z_args[i]); ^~~~~~~~~~~~~~~ make: *** [Makefile:195: redis_cluster.lo] Error 1 /bin/sh /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c -o redis.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -DPHP_ATOM_INC -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/include -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6/main -I/tmp/B.f04gz2/BUILD/php52-redis-3.1.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c -fPIC -DPIC -o .libs/redis.o In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:28:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:96:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:107:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_find_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:24: warning: passing argument 1 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /usr/include/php/Zend/zend_hash.h:156:40: note: expected 'HashTable *' {aka 'struct _hashtable *'} but argument is of type 'const HashTable *' {aka 'const struct _hashtable *'} ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~~~~~~^~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:112:28: warning: passing argument 2 of 'zend_hash_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_find(ht, str, len + 1, (void **)&ptr) == SUCCESS) { ^~~ In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /usr/include/php/Zend/zend_hash.h:156:50: note: expected 'char *' but argument is of type 'const char *' ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:118:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; In file included from /usr/include/php/Zend/zend.h:276, from /usr/include/php/main/php.h:34, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:1, from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: In function 'zend_hash_str_update_ptr': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:121:30: warning: passing argument 2 of '_zend_hash_add_or_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (zend_hash_update(ht, str, len + 1, (void *)&pData, sizeof(void *), NULL) == SUCCESS) { ^~~ /usr/include/php/Zend/zend_hash.h:103:32: note: in definition of macro 'zend_hash_update' _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_UPDATE ZEND_FILE_LINE_CC) ^~~~~ /usr/include/php/Zend/zend_hash.h:101:60: note: expected 'char *' but argument is of type 'const char *' ZEND_API int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); ~~~~~~^~~~~ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h: At top level: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:127:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:137:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:148:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:160:74: warning: initialization of 'int (*)(const HashTable *, ulong, void **)' {aka 'int (*)(const struct _hashtable *, long unsigned int, void **)'} from incompatible pointer type 'int (*)(HashTable *, ulong, void **)' {aka 'int (*)(struct _hashtable *, long unsigned int, void **)'} [-Wincompatible-pointer-types] static int (*_zend_hash_index_find)(const HashTable *, ulong, void **) = &zend_hash_index_find; ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:163:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:173:26: error: expected ';' before 'void' static zend_always_inline void * ^~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:186:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:8: error: unknown type name 'zend_always_inline' static zend_always_inline zval * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:199:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zval * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:214:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:264:26: error: expected ';' before 'int' static zend_always_inline int ^~~~ ; In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:317:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_long ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval_get_long' zval_get_long(zval *op) ^~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:343:26: error: expected ';' before 'double' static zend_always_inline double ^~~~~~~ ; /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:8: error: unknown type name 'zend_always_inline' static zend_always_inline zend_string * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:359:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline zend_string * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:436:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] redis_deps, ^~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:571:8: error: unknown type name 'zend_always_inline' static zend_always_inline RedisSock * ^~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:571:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static zend_always_inline RedisSock * ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'redis_sock_get': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:601:23: warning: implicit declaration of function 'redis_sock_get_instance'; did you mean 'redis_sock_gets'? [-Wimplicit-function-declaration] if ((redis_sock = redis_sock_get_instance(id TSRMLS_CC, no_throw)) == NULL) { ^~~~~~~~~~~~~~~~~~~~~~~ redis_sock_gets /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:601:21: warning: assignment to 'RedisSock *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((redis_sock = redis_sock_get_instance(id TSRMLS_CC, no_throw)) == NULL) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'zim_Redis_getMultiple': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: warning: implicit declaration of function 'inline_zend_hash_get_current_data_ex'; did you mean '_zend_hash_get_current_data_ex'? [-Wimplicit-function-declaration] #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:185:48: note: in definition of macro 'zend_hash_get_current_data_ex' #define zend_hash_get_current_data_ex(ht, pos) inline_zend_hash_get_current_data_ex(ht, pos) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1118:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(hash, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1118:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(hash, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1119:29: warning: implicit declaration of function 'zval_get_string'; did you mean 'cfg_get_string'? [-Wimplicit-function-declaration] zend_string *zstr = zval_get_string(z_ele); ^~~~~~~~~~~~~~~ cfg_get_string /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1119:29: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'generic_sort_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1574:13: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(zget), zele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1575:26: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zpattern = zval_get_string(zele); ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1581:22: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zpattern = zval_get_string(zget); ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'generic_mset': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:56:35: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _h = 0; _key = NULL; _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:1843:5: note: in expansion of macro 'ZEND_HASH_FOREACH_KEY_VAL' ZEND_HASH_FOREACH_KEY_VAL(htargs, idx, zkey, zmem) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'generic_unsubscribe_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2482:5: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(arr_hash, data) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:161:37: warning: implicit declaration of function 'inline_zend_hash_index_find'; did you mean '_zend_hash_index_find'? [-Wimplicit-function-declaration] #define zend_hash_index_find(ht, h) inline_zend_hash_index_find(ht, h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2509:30: note: in expansion of macro 'zend_hash_index_find' if ((z_channel = zend_hash_index_find(Z_ARRVAL(z_tab), 1)) == NULL) { ^~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2509:28: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((z_channel = zend_hash_index_find(Z_ARRVAL(z_tab), 1)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'zim_Redis_getOption': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2617:21: warning: assignment to 'RedisSock *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((redis_sock = redis_sock_get_instance(getThis() TSRMLS_CC, 0)) == NULL) { ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'zim_Redis_setOption': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2630:21: warning: assignment to 'RedisSock *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((redis_sock = redis_sock_get_instance(getThis() TSRMLS_CC, 0)) == NULL) { ^ In file included from /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:27: /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'redis_build_pubsub_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/common.h:76:15: warning: assignment to 'zval *' {aka 'struct _zval_struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] _val = zend_hash_get_current_data_ex(ht, &_hpos); \ ^ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2812:9: note: in expansion of macro 'ZEND_HASH_FOREACH_VAL' ZEND_HASH_FOREACH_VAL(ht_chan, z_ele) { ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2813:33: warning: initialization of 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zend_string *zstr = zval_get_string(z_ele); ^~~~~~~~~~~~~~~ /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c: In function 'redis_build_script_exists_cmd': /tmp/B.f04gz2/BUILD/php52-redis-3.1.6/redis.c:2926:14: warning: assignment to 'zend_string *' {aka 'struct <anonymous> *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] zstr = zval_get_string(&argv[i]); ^ make: *** [Makefile:183: redis.lo] Error 1 error: Bad exit status from /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423 (%build) RPM build errors: Bad exit status from /tmp/B.f04gz2/BUILD/tmp/rpm-tmp.67423 (%build) ended at: Fri Oct 5 07:51:46 2018, done in 0:00:05.994477 error: No files produced. + chmod -R u+rwX /tmp/B.f04gz2/BUILD + rm -rf /tmp/B.f04gz2/tmp /tmp/B.f04gz2/BUILD + rm -rf /tmp/B.f04gz2 Begin-PLD-Builder-Info Build-Time: user:21.20s sys:5.55s real:34.84s (faults io:0 non-io:671593) End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]