Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing #95

Open
ilihost opened this issue Dec 5, 2015 · 11 comments
Open

Error installing #95

ilihost opened this issue Dec 5, 2015 · 11 comments

Comments

@ilihost
Copy link

ilihost commented Dec 5, 2015

Hello,

I get the next error:

$ pecl install runkit
(...)
/root/tmp/pear/runkit/runkit_functions.c:482: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [runkit_functions.lo] Error 1
ERROR: `make' failed

Using php 5.5, CentOS release 5.11 (Final) 32 bits.

@zenovich
Copy link
Owner

zenovich commented Dec 8, 2015

9bbf76d

@zenovich
Copy link
Owner

zenovich commented Dec 8, 2015

@ilihost please try the lastest master branch

@zenovich
Copy link
Owner

@ilihost Does this work?

@taylorotwell
Copy link

I'm unable to install it even by cloning from master branch and trying to compile.

@zenovich
Copy link
Owner

@taylorotwell , thanks for reporting! Could you please provide the logs of compiling master branch?

@taylorotwell
Copy link

Sure, this is on Ubuntu 14.04:

/bin/bash /home/vagrant/runkit/libtool --mode=compile cc -Wdeclaration-after-statement -Werror -Wall -Wno-deprecated-declarations -I. -I/home/vagrant/runkit -DPHP_ATOM_INC -I/home/vagrant/runkit/include -I/home/vagrant/runkit/main -I/home/vagrant/runkit -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/vagrant/runkit/runkit.c -o runkit.lo 
libtool: compile:  cc -Wdeclaration-after-statement -Werror -Wall -Wno-deprecated-declarations -I. -I/home/vagrant/runkit -DPHP_ATOM_INC -I/home/vagrant/runkit/include -I/home/vagrant/runkit/main -I/home/vagrant/runkit -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/vagrant/runkit/runkit.c  -fPIC -DPIC -o .libs/runkit.o
In file included from /home/vagrant/runkit/runkit.c:22:0:
/home/vagrant/runkit/php_runkit.h: In function ‘php_runkit_modify_function_doc_comment’:
/home/vagrant/runkit/php_runkit.h:327:29: error: assignment from incompatible pointer type [-Werror]
    fe->op_array.doc_comment = estrndup(doc_comment, doc_comment_len);
                             ^
/home/vagrant/runkit/php_runkit.h:328:16: error: ‘zend_op_array’ has no member named ‘doc_comment_len’
    fe->op_array.doc_comment_len = doc_comment_len;
                ^
/home/vagrant/runkit/php_runkit.h: In function ‘PHP_RUNKIT_ADD_MAGIC_METHOD’:
/home/vagrant/runkit/php_runkit.h:469:17: error: ‘zend_class_entry’ has no member named ‘name_length’
  } else if ((ce)->name_length == (mname_len)) {
                 ^
In file included from /usr/include/php/20151012/Zend/zend.h:33:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:112:24: note: in definition of macro ‘_emalloc’
  (__builtin_constant_p(size) ? \
                        ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
  ((size <= _size) ? _emalloc_ ## _size() :
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
  ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y) \
  ^
/usr/include/php/20151012/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
   ZEND_ALLOCATOR(size) \
   ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:108:4: note: in definition of macro ‘ZEND_ALLOCATOR’
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
    ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:108:53: note: in definition of macro ‘ZEND_ALLOCATOR’
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
                                                     ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:108:75: note: in definition of macro ‘ZEND_ALLOCATOR’
  ((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size)) \
                                                                           ^
/usr/include/php/20151012/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
 #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
/home/vagrant/runkit/php_runkit.h:470:38: error: ‘zend_class_entry’ has no member named ‘name_length’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                                      ^
/usr/include/php/20151012/Zend/zend_alloc.h:115:12: note: in definition of macro ‘_emalloc’
   _emalloc(size) \
            ^
/home/vagrant/runkit/php_runkit.h:470:26: note: in expansion of macro ‘emalloc’
   char *lowercase_name = emalloc((ce)->name_length + 1);
                          ^
In file included from /home/vagrant/runkit/runkit.c:22:0:
/home/vagrant/runkit/php_runkit.h:471:57: error: ‘zend_class_entry’ has no member named ‘name_length’
   zend_str_tolower_copy(lowercase_name, (ce)->name, (ce)->name_length);
                                                         ^
/home/vagrant/runkit/php_runkit.h:471:3: error: passing argument 2 of ‘zend_str_tolower_copy’ from incompatible pointer type [-Werror]
   zend_str_tolower_copy(lowercase_name, (ce)->name, (ce)->name_length);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:341:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_operators.h:341:37: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
 ZEND_API char*        ZEND_FASTCALL zend_str_tolower_copy(char *dest, const char *source, size_t length);
                                     ^
In file included from /home/vagrant/runkit/runkit.c:22:0:
/home/vagrant/runkit/php_runkit.h: In function ‘php_runkit_parse_doc_comment_arg’:
/home/vagrant/runkit/php_runkit.h:547:3: error: implicit declaration of function ‘Z_TYPE_PP’ [-Werror=implicit-function-declaration]
   if (Z_TYPE_PP(args[arg_pos]) == IS_STRING) {
   ^
/home/vagrant/runkit/php_runkit.h:548:4: error: implicit declaration of function ‘Z_STRVAL_PP’ [-Werror=implicit-function-declaration]
    *pdoc_comment = Z_STRVAL_PP(args[arg_pos]);
    ^
/home/vagrant/runkit/php_runkit.h:548:18: error: assignment makes pointer from integer without a cast [-Werror]
    *pdoc_comment = Z_STRVAL_PP(args[arg_pos]);
                  ^
/home/vagrant/runkit/php_runkit.h:549:4: error: implicit declaration of function ‘Z_STRLEN_PP’ [-Werror=implicit-function-declaration]
    *pdoc_comment_len = Z_STRLEN_PP(args[arg_pos]);
    ^
/home/vagrant/runkit/php_runkit.h: In function ‘php_runkit_parse_args_to_zvals’:
/home/vagrant/runkit/php_runkit.h:564:2: error: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Werror]
  if (zend_get_parameters_array_ex(argc, *pargs) == FAILURE) {
  ^
In file included from /usr/include/php/20151012/main/php.h:40:0,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_API.h:250:14: note: expected ‘struct zval *’ but argument is of type ‘struct zval ***’
 ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
              ^
In file included from /home/vagrant/runkit/runkit.c:22:0:
/home/vagrant/runkit/php_runkit.h: In function ‘php_runkit_parse_function_arg’:
/home/vagrant/runkit/php_runkit.h:578:2: error: implicit declaration of function ‘zend_get_class_entry’ [-Werror=implicit-function-declaration]
  if (Z_TYPE_PP(args[arg_pos]) == IS_OBJECT && zend_get_class_entry(*args[arg_pos] TSRMLS_CC) == zend_ce_closure) {
  ^
/home/vagrant/runkit/php_runkit.h:578:94: error: comparison between pointer and integer [-Werror]
  if (Z_TYPE_PP(args[arg_pos]) == IS_OBJECT && zend_get_class_entry(*args[arg_pos] TSRMLS_CC) == zend_ce_closure) {
                                                                                              ^
/home/vagrant/runkit/php_runkit.h:584:14: error: assignment makes pointer from integer without a cast [-Werror]
   *arguments = Z_STRVAL_PP(args[arg_pos]);
              ^
/home/vagrant/runkit/php_runkit.h:590:12: error: assignment makes pointer from integer without a cast [-Werror]
   *phpcode = Z_STRVAL_PP(args[arg_pos+1]);
            ^
/home/vagrant/runkit/php_runkit.h: At top level:
/home/vagrant/runkit/php_runkit.h:661:3: error: unknown type name ‘zend_uint’
   zend_uint offset;
   ^
/home/vagrant/runkit/php_runkit.h:662:3: error: unknown type name ‘zend_uint’
   zend_uint required;
   ^
/home/vagrant/runkit/php_runkit.h:694:1: error: unknown type name ‘zend_object_store_bucket’
 inline static zend_object_store_bucket *php_runkit_zend_object_store_get_obj(const zval *zobject TSRMLS_DC)
 ^
/home/vagrant/runkit/php_runkit.h: In function ‘php_runkit_zend_object_store_get_obj’:
/home/vagrant/runkit/php_runkit.h:696:2: error: unknown type name ‘zend_object_handle’
  zend_object_handle handle = Z_OBJ_HANDLE_P(zobject);
  ^
/home/vagrant/runkit/php_runkit.h:697:2: error: return from incompatible pointer type [-Werror]
  return &EG(objects_store).object_buckets[handle];
  ^
/home/vagrant/runkit/runkit.c: In function ‘zif_runkit_superglobals’:
/home/vagrant/runkit/runkit.c:40:3: error: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror]
   (type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: expected ‘struct zend_string **’ but argument is of type ‘char **’
 ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
                              ^
/home/vagrant/runkit/runkit.c:40:3: error: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror]
   (type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: expected ‘zend_ulong *’ but argument is of type ‘uint *’
 ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
                              ^
/home/vagrant/runkit/runkit.c:40:3: error: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror]
   (type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: expected ‘HashPosition *’ but argument is of type ‘ulong *’
 ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
                              ^
/home/vagrant/runkit/runkit.c:40:3: error: too many arguments to function ‘zend_hash_get_current_key_ex’
   (type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:168:30: note: declared here
 ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
                              ^
/home/vagrant/runkit/runkit.c:40:91: error: ‘HASH_KEY_NON_EXISTANT’ undeclared (first use in this function)
   (type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
                                                                                           ^
/home/vagrant/runkit/runkit.c:40:91: note: each undeclared identifier is reported only once for each function it appears in
/home/vagrant/runkit/runkit.c:43:4: error: too many arguments to function ‘add_next_index_stringl’
    add_next_index_stringl(return_value, sg, sg_len - 1, 1);
    ^
In file included from /usr/include/php/20151012/main/php.h:40:0,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_API.h:433:14: note: declared here
 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length);
              ^
/home/vagrant/runkit/runkit.c: In function ‘zif_runkit_zval_inspect’:
/home/vagrant/runkit/runkit.c:65:62: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
  add_assoc_stringl(return_value, "address", addr, addr_len, 0);
                                                              ^
/home/vagrant/runkit/runkit.c:65:2: error: ‘add_assoc_stringl’ undeclared (first use in this function)
  add_assoc_stringl(return_value, "address", addr, addr_len, 0);
  ^
In file included from /usr/include/php/20151012/main/php.h:40:0,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/home/vagrant/runkit/runkit.c:67:48: error: ‘zval’ has no member named ‘refcount__gc’
  add_assoc_long(return_value, "refcount", value->RUNKIT_REFCOUNT);
                                                ^
/usr/include/php/20151012/Zend/zend_API.h:400:90: note: in definition of macro ‘add_assoc_long’
 #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n)
                                                                                          ^
/home/vagrant/runkit/runkit.c:68:46: error: ‘zval’ has no member named ‘is_ref__gc’
  add_assoc_bool(return_value, "is_ref", value->RUNKIT_IS_REF);
                                              ^
/usr/include/php/20151012/Zend/zend_API.h:402:90: note: in definition of macro ‘add_assoc_bool’
 #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b)
                                                                                          ^
/home/vagrant/runkit/runkit.c:70:44: error: ‘zval’ has no member named ‘type’
  add_assoc_long(return_value, "type", value->type);
                                            ^
/usr/include/php/20151012/Zend/zend_API.h:400:90: note: in definition of macro ‘add_assoc_long’
 #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n)
                                                                                          ^
/home/vagrant/runkit/runkit.c:56:6: error: variable ‘addr_len’ set but not used [-Werror=unused-but-set-variable]
  int addr_len;
      ^
/home/vagrant/runkit/runkit.c: In function ‘_php_runkit_init_stub_function’:
/home/vagrant/runkit/runkit.c:175:34: error: assignment from incompatible pointer type [-Werror]
  (*result)->common.function_name = name;
                                  ^
/home/vagrant/runkit/runkit.c: In function ‘_php_runkit_feature_constant’:
/home/vagrant/runkit/runkit.c:228:9: error: assignment from incompatible pointer type [-Werror]
  c.name = zend_strndup(name, name_len - 1);
         ^
/home/vagrant/runkit/runkit.c:229:3: error: ‘zend_constant’ has no member named ‘name_len’
  c.name_len = name_len;
   ^
/home/vagrant/runkit/runkit.c: In function ‘php_runkit_register_auto_global’:
/home/vagrant/runkit/runkit.c:332:2: error: passing argument 2 of ‘zend_hash_exists’ from incompatible pointer type [-Werror]
  if (zend_hash_exists(CG(auto_globals), s, len + 1)) {
  ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:159:34: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
 ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
                                  ^
/home/vagrant/runkit/runkit.c:332:2: error: too many arguments to function ‘zend_hash_exists’
  if (zend_hash_exists(CG(auto_globals), s, len + 1)) {
  ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:159:34: note: declared here
 ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
                                  ^
/home/vagrant/runkit/runkit.c:341:7: error: passing argument 1 of ‘zend_register_auto_global’ from incompatible pointer type [-Werror]
       NULL TSRMLS_CC) == SUCCESS) {
       ^
In file included from /usr/include/php/20151012/Zend/zend_modules.h:26:0,
                 from /usr/include/php/20151012/Zend/zend_API.h:27,
                 from /usr/include/php/20151012/main/php.h:40,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_compile.h:773:14: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
 ZEND_API int zend_register_auto_global(zend_string *name, zend_bool jit, zend_auto_global_callback auto_global_callback);
              ^
/home/vagrant/runkit/runkit.c:341:7: error: too many arguments to function ‘zend_register_auto_global’
       NULL TSRMLS_CC) == SUCCESS) {
       ^
In file included from /usr/include/php/20151012/Zend/zend_modules.h:26:0,
                 from /usr/include/php/20151012/Zend/zend_API.h:27,
                 from /usr/include/php/20151012/main/php.h:40,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_compile.h:773:14: note: declared here
 ZEND_API int zend_register_auto_global(zend_string *name, zend_bool jit, zend_auto_global_callback auto_global_callback);
              ^
/home/vagrant/runkit/runkit.c:344:3: error: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Werror]
   if (zend_hash_find(CG(auto_globals), s, len + 1, (void *) &auto_global) != SUCCESS) {
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/vagrant/runkit/runkit.c:344:3: error: too many arguments to function ‘zend_hash_find’
   if (zend_hash_find(CG(auto_globals), s, len + 1, (void *) &auto_global) != SUCCESS) {
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: declared here
 ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/home/vagrant/runkit/runkit.c:359:71: error: macro "zend_hash_next_index_insert" passed 4 arguments, but takes just 2
   zend_hash_next_index_insert(RUNKIT_G(superglobals), s, len + 1, NULL);
                                                                       ^
/home/vagrant/runkit/runkit.c:359:3: error: ‘zend_hash_next_index_insert’ undeclared (first use in this function)
   zend_hash_next_index_insert(RUNKIT_G(superglobals), s, len + 1, NULL);
   ^
/home/vagrant/runkit/runkit.c: In function ‘php_runkit_superglobal_dtor’:
/home/vagrant/runkit/runkit.c:417:2: error: passing argument 2 of ‘zend_hash_del’ from incompatible pointer type [-Werror]
  zend_hash_del(CG(auto_globals), sName, strlen(sName) + 1);
  ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:146:28: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
 ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                            ^
/home/vagrant/runkit/runkit.c:417:2: error: too many arguments to function ‘zend_hash_del’
  zend_hash_del(CG(auto_globals), sName, strlen(sName) + 1);
  ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:146:28: note: declared here
 ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                            ^
/home/vagrant/runkit/runkit.c: In function ‘zm_deactivate_runkit’:
/home/vagrant/runkit/runkit.c:436:3: error: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type [-Werror]
   zend_hash_apply(RUNKIT_G(superglobals), php_runkit_superglobal_dtor TSRMLS_CC);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:132:29: note: expected ‘apply_func_t’ but argument is of type ‘int (*)(void *)’
 ZEND_API void ZEND_FASTCALL zend_hash_apply(HashTable *ht, apply_func_t apply_func);
                             ^
/home/vagrant/runkit/runkit.c:446:3: error: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type [-Werror]
   zend_hash_apply(RUNKIT_G(misplaced_internal_functions), php_runkit_destroy_misplaced_functions TSRMLS_CC);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:132:29: note: expected ‘apply_func_t’ but argument is of type ‘int (*)(void *)’
 ZEND_API void ZEND_FASTCALL zend_hash_apply(HashTable *ht, apply_func_t apply_func);
                             ^
/home/vagrant/runkit/runkit.c:454:3: error: passing argument 2 of ‘zend_hash_apply_with_arguments’ from incompatible pointer type [-Werror]
   zend_hash_apply_with_arguments(RUNKIT_53_TSRMLS_PARAM(RUNKIT_G(replaced_internal_functions)), php_runkit_restore_internal_functions, 1, RUNKIT_TSRMLS_C);
   ^
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                 from /usr/include/php/20151012/main/php.h:36,
                 from /home/vagrant/runkit/php_runkit.h:29,
                 from /home/vagrant/runkit/runkit.c:22:
/usr/include/php/20151012/Zend/zend_hash.h:134:29: note: expected ‘apply_func_args_t’ but argument is of type ‘int (*)(void *, int,  struct __va_list_tag *, struct zend_hash_key *)’
 ZEND_API void ZEND_FASTCALL zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int, ...);
                             ^
/home/vagrant/runkit/runkit.c:464:18: error: initialization from incompatible pointer type [-Werror]
   zval **table = el->is_static ? el->ce->default_static_members_table : el->ce->default_properties_table;
                  ^
/home/vagrant/runkit/runkit.c:467:4: error: implicit declaration of function ‘ALLOC_ZVAL’ [-Werror=implicit-function-declaration]
    ALLOC_ZVAL(*table_el);
    ^
/home/vagrant/runkit/runkit.c:468:24: error: lvalue required as left operand of assignment
    Z_TYPE_PP(table_el) = IS_NULL;
                        ^
/home/vagrant/runkit/runkit.c:469:4: error: implicit declaration of function ‘Z_SET_REFCOUNT_PP’ [-Werror=implicit-function-declaration]
    Z_SET_REFCOUNT_PP(table_el, 1);
    ^
cc1: all warnings being treated as errors
make: *** [runkit.lo] Error 1

@TysonAndre
Copy link
Contributor

@taylorrotwell what PHP version is that, it looks like php7? The master branch doesn't support PHP 7, it supports PHP5. See issue #87

@zenovich
Copy link
Owner

Yeah, it looks like PHP7.

@taylorotwell
Copy link

Yeah, PHP 7. Commented on #87

@netcraft-devops
Copy link

Hello I am having similar issue when installing runkit. Command # pecl install runkit
System:
Ubuntu 16.04
PHP 5.6

downloading runkit-1.0.4.tgz ...
Starting to download runkit-1.0.4.tgz (103,274 bytes)
........................done: 103,274 bytes
17 source files, building
running: phpize
Configuring for:
PHP Api Version: 20160303
Zend Module Api No: 20160303
Zend Extension Api No: 320160303
building in /tmp/pear/temp/pear-build-root1JBhuc/runkit-1.0.4
running: /tmp/pear/temp/runkit/configure --with-php-config=/usr/bin/php-config
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 cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -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... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20160303
checking for PHP installed headers prefix... /usr/include/php/20160303
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable runkit support... yes, shared
checking wheter to enable runtime manipulation of functions/classes/constants... inherit
checking whether to enable registration of user-defined autoglobals... inherit
checking whether to enable Sandbox support... inherit
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /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 x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc 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 mt... mt
checking if mt 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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) 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
running: make
/bin/bash /tmp/pear/temp/pear-build-root1JBhuc/runkit-1.0.4/libtool --mode=compile cc -Wdeclaration-after-statement -Werror -Wall -Wno-deprecated-declarations -I. -I/tmp/pear/temp/runkit -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root1JBhuc/runkit-1.0.4/include -I/tmp/pear/temp/pear-build-root1JBhuc/runkit-1.0.4/main -I/tmp/pear/temp/runkit -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/runkit/runkit.c -o runkit.lo
libtool: compile: cc -Wdeclaration-after-statement -Werror -Wall -Wno-deprecated-declarations -I. -I/tmp/pear/temp/runkit -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root1JBhuc/runkit-1.0.4/include -I/tmp/pear/temp/pear-build-root1JBhuc/runkit-1.0.4/main -I/tmp/pear/temp/runkit -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/runkit/runkit.c -fPIC -DPIC -o .libs/runkit.o
In file included from /tmp/pear/temp/runkit/runkit.c:22:0:
/tmp/pear/temp/runkit/php_runkit.h: In function ‘php_runkit_modify_function_doc_comment’:
/tmp/pear/temp/runkit/php_runkit.h:320:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
fe->op_array.doc_comment = estrndup(doc_comment, doc_comment_len);
^
/tmp/pear/temp/runkit/php_runkit.h:321:16: error: ‘zend_op_array {aka struct _zend_op_array}’ has no member named ‘doc_comment_len’
fe->op_array.doc_comment_len = doc_comment_len;
^
/tmp/pear/temp/runkit/php_runkit.h: In function ‘PHP_RUNKIT_ADD_MAGIC_METHOD’:
/tmp/pear/temp/runkit/php_runkit.h:462:17: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
} else if ((ce)->name_length == (mname_len)) {
^
In file included from /usr/include/php/20160303/Zend/zend.h:33:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:112:24: note: in definition of macro ‘_emalloc’
(__builtin_constant_p(size) ?
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:102:4: note: in definition of macro ‘_ZEND_BIN_ALLOCATOR_SELECTOR_START’
((size <= _size) ? emalloc ## _size() :
^
/usr/include/php/20160303/Zend/zend_alloc.h:107:2: note: in expansion of macro ‘ZEND_MM_BINS_INFO’
ZEND_MM_BINS_INFO(_ZEND_BIN_ALLOCATOR_SELECTOR_START, size, y)
^
/usr/include/php/20160303/Zend/zend_alloc.h:113:3: note: in expansion of macro ‘ZEND_ALLOCATOR’
ZEND_ALLOCATOR(size)
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:108:4: note: in definition of macro ‘ZEND_ALLOCATOR’
((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size))
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:108:53: note: in definition of macro ‘ZEND_ALLOCATOR’
((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size))
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:108:75: note: in definition of macro ‘ZEND_ALLOCATOR’
((size <= ZEND_MM_MAX_LARGE_SIZE) ? _emalloc_large(size) : _emalloc_huge(size))
^
/usr/include/php/20160303/Zend/zend_alloc.h:159:28: note: in expansion of macro ‘_emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/tmp/pear/temp/runkit/php_runkit.h:463:38: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
/usr/include/php/20160303/Zend/zend_alloc.h:115:12: note: in definition of macro ‘_emalloc’
_emalloc(size)
^
/tmp/pear/temp/runkit/php_runkit.h:463:26: note: in expansion of macro ‘emalloc’
char *lowercase_name = emalloc((ce)->name_length + 1);
^
In file included from /tmp/pear/temp/runkit/runkit.c:22:0:
/tmp/pear/temp/runkit/php_runkit.h:464:57: error: ‘zend_class_entry {aka struct _zend_class_entry}’ has no member named ‘name_length’
zend_str_tolower_copy(lowercase_name, (ce)->name, (ce)->name_length);
^
/tmp/pear/temp/runkit/php_runkit.h:464:41: error: passing argument 2 of ‘zend_str_tolower_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
zend_str_tolower_copy(lowercase_name, (ce)->name, (ce)->name_length);
^
In file included from /usr/include/php/20160303/Zend/zend.h:325:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_operators.h:351:37: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string }’
ZEND_API char
ZEND_FASTCALL zend_str_tolower_copy(char *dest, const char *source, size_t length);
^
In file included from /tmp/pear/temp/runkit/runkit.c:22:0:
/tmp/pear/temp/runkit/php_runkit.h: In function ‘php_runkit_parse_doc_comment_arg’:
/tmp/pear/temp/runkit/php_runkit.h:540:7: error: implicit declaration of function ‘Z_TYPE_PP’ [-Werror=implicit-function-declaration]
if (Z_TYPE_PP(args[arg_pos]) == IS_STRING) {
^
/tmp/pear/temp/runkit/php_runkit.h:541:20: error: implicit declaration of function ‘Z_STRVAL_PP’ [-Werror=implicit-function-declaration]
*pdoc_comment = Z_STRVAL_PP(args[arg_pos]);
^
/tmp/pear/temp/runkit/php_runkit.h:541:18: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
*pdoc_comment = Z_STRVAL_PP(args[arg_pos]);
^
/tmp/pear/temp/runkit/php_runkit.h:542:24: error: implicit declaration of function ‘Z_STRLEN_PP’ [-Werror=implicit-function-declaration]
*pdoc_comment_len = Z_STRLEN_PP(args[arg_pos]);
^
In file included from /usr/include/php/20160303/main/php.h:40:0,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/tmp/pear/temp/runkit/php_runkit.h: In function ‘php_runkit_parse_args_to_zvals’:
/tmp/pear/temp/runkit/php_runkit.h:557:41: error: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Werror=incompatible-pointer-types]
if (zend_get_parameters_array_ex(argc, *pargs) == FAILURE) {
^
/usr/include/php/20160303/Zend/zend_API.h:260:45: note: in definition of macro ‘zend_get_parameters_array_ex’
_zend_get_parameters_array_ex(param_count, argument_array)
^
/usr/include/php/20160303/Zend/zend_API.h:252:14: note: expected ‘zval * {aka struct _zval_struct *}’ but argument is of type ‘zval *** {aka struct _zval_struct ***}’
ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array);
^
In file included from /tmp/pear/temp/runkit/runkit.c:22:0:
/tmp/pear/temp/runkit/php_runkit.h: In function ‘php_runkit_parse_function_arg’:
/tmp/pear/temp/runkit/php_runkit.h:571:47: error: implicit declaration of function ‘zend_get_class_entry’ [-Werror=implicit-function-declaration]
if (Z_TYPE_PP(args[arg_pos]) == IS_OBJECT && zend_get_class_entry(*args[arg_pos] TSRMLS_CC) == zend_ce_closure) {
^
/tmp/pear/temp/runkit/php_runkit.h:571:94: error: comparison between pointer and integer [-Werror]
if (Z_TYPE_PP(args[arg_pos]) == IS_OBJECT && zend_get_class_entry(*args[arg_pos] TSRMLS_CC) == zend_ce_closure) {
^
/tmp/pear/temp/runkit/php_runkit.h:577:14: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
*arguments = Z_STRVAL_PP(args[arg_pos]);
^
/tmp/pear/temp/runkit/php_runkit.h:583:12: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
*phpcode = Z_STRVAL_PP(args[arg_pos+1]);
^
/tmp/pear/temp/runkit/php_runkit.h: At top level:
/tmp/pear/temp/runkit/php_runkit.h:654:3: error: unknown type name ‘zend_uint’
zend_uint offset;
^
/tmp/pear/temp/runkit/php_runkit.h:655:3: error: unknown type name ‘zend_uint’
zend_uint required;
^
/tmp/pear/temp/runkit/php_runkit.h:687:15: error: unknown type name ‘zend_object_store_bucket’
inline static zend_object_store_bucket *php_runkit_zend_object_store_get_obj(const zval *zobject TSRMLS_DC)
^
/tmp/pear/temp/runkit/php_runkit.h: In function ‘php_runkit_zend_object_store_get_obj’:
/tmp/pear/temp/runkit/php_runkit.h:689:2: error: unknown type name ‘zend_object_handle’
zend_object_handle handle = Z_OBJ_HANDLE_P(zobject);
^
/tmp/pear/temp/runkit/php_runkit.h:690:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return &EG(objects_store).object_buckets[handle];
^
/tmp/pear/temp/runkit/runkit.c: In function ‘zif_runkit_superglobals’:
/tmp/pear/temp/runkit/runkit.c:40:58: error: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror=incompatible-pointer-types]
(type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:195:30: note: expected ‘zend_string ** {aka struct _zend_string **}’ but argument is of type ‘char **’
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/pear/temp/runkit/runkit.c:40:63: error: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror=incompatible-pointer-types]
(type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:195:30: note: expected ‘zend_ulong * {aka long unsigned int *}’ but argument is of type ‘uint * {aka unsigned int *}’
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/pear/temp/runkit/runkit.c:40:72: error: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror=incompatible-pointer-types]
(type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:195:30: note: expected ‘HashPosition * {aka unsigned int *}’ but argument is of type ‘ulong * {aka long unsigned int *}’
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/pear/temp/runkit/runkit.c:40:11: error: too many arguments to function ‘zend_hash_get_current_key_ex’
(type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:195:30: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
^
/tmp/pear/temp/runkit/runkit.c:40:91: error: ‘HASH_KEY_NON_EXISTANT’ undeclared (first use in this function)
(type = zend_hash_get_current_key_ex(CG(auto_globals), &sg, &sg_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
^
/tmp/pear/temp/runkit/runkit.c:40:91: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/runkit/runkit.c:43:4: error: too many arguments to function ‘add_next_index_stringl’
add_next_index_stringl(return_value, sg, sg_len - 1, 1);
^
In file included from /usr/include/php/20160303/main/php.h:40:0,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_API.h:438:14: note: declared here
ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length);
^
/tmp/pear/temp/runkit/runkit.c: In function ‘zif_runkit_zval_inspect’:
/tmp/pear/temp/runkit/runkit.c:65:62: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
add_assoc_stringl(return_value, "address", addr, addr_len, 0);
^
/tmp/pear/temp/runkit/runkit.c:65:2: error: ‘add_assoc_stringl’ undeclared (first use in this function)
add_assoc_stringl(return_value, "address", addr, addr_len, 0);
^
In file included from /usr/include/php/20160303/main/php.h:40:0,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/tmp/pear/temp/runkit/runkit.c:67:48: error: ‘zval {aka struct _zval_struct}’ has no member named ‘refcount__gc’
add_assoc_long(return_value, "refcount", value->RUNKIT_REFCOUNT);
^
/usr/include/php/20160303/Zend/zend_API.h:405:90: note: in definition of macro ‘add_assoc_long’
#define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n)
^
/tmp/pear/temp/runkit/runkit.c:68:46: error: ‘zval {aka struct _zval_struct}’ has no member named ‘is_ref__gc’
add_assoc_bool(return_value, "is_ref", value->RUNKIT_IS_REF);
^
/usr/include/php/20160303/Zend/zend_API.h:407:90: note: in definition of macro ‘add_assoc_bool’
#define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b)
^
/tmp/pear/temp/runkit/runkit.c:70:44: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’
add_assoc_long(return_value, "type", value->type);
^
/usr/include/php/20160303/Zend/zend_API.h:405:90: note: in definition of macro ‘add_assoc_long’
#define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n)
^
/tmp/pear/temp/runkit/runkit.c:56:6: error: variable ‘addr_len’ set but not used [-Werror=unused-but-set-variable]
int addr_len;
^
/tmp/pear/temp/runkit/runkit.c: In function ‘_php_runkit_init_stub_function’:
/tmp/pear/temp/runkit/runkit.c:175:34: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
(*result)->common.function_name = name;
^
/tmp/pear/temp/runkit/runkit.c: In function ‘_php_runkit_feature_constant’:
/tmp/pear/temp/runkit/runkit.c:228:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
c.name = zend_strndup(name, name_len - 1);
^
/tmp/pear/temp/runkit/runkit.c:229:3: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
c.name_len = name_len;
^
/tmp/pear/temp/runkit/runkit.c: In function ‘php_runkit_register_auto_global’:
/tmp/pear/temp/runkit/runkit.c:332:41: error: passing argument 2 of ‘zend_hash_exists’ from incompatible pointer type [-Werror=incompatible-pointer-types]
if (zend_hash_exists(CG(auto_globals), s, len + 1)) {
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:186:34: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
^
/tmp/pear/temp/runkit/runkit.c:332:6: error: too many arguments to function ‘zend_hash_exists’
if (zend_hash_exists(CG(auto_globals), s, len + 1)) {
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:186:34: note: declared here
ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
^
/tmp/pear/temp/runkit/runkit.c:337:32: error: passing argument 1 of ‘zend_register_auto_global’ from incompatible pointer type [-Werror=incompatible-pointer-types]
if (zend_register_auto_global(s, len,
^
In file included from /usr/include/php/20160303/Zend/zend_modules.h:26:0,
from /usr/include/php/20160303/Zend/zend_API.h:27,
from /usr/include/php/20160303/main/php.h:40,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_compile.h:808:14: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
ZEND_API int zend_register_auto_global(zend_string *name, zend_bool jit, zend_auto_global_callback auto_global_callback);
^
/tmp/pear/temp/runkit/runkit.c:337:6: error: too many arguments to function ‘zend_register_auto_global’
if (zend_register_auto_global(s, len,
^
In file included from /usr/include/php/20160303/Zend/zend_modules.h:26:0,
from /usr/include/php/20160303/Zend/zend_API.h:27,
from /usr/include/php/20160303/main/php.h:40,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_compile.h:808:14: note: declared here
ZEND_API int zend_register_auto_global(zend_string *name, zend_bool jit, zend_auto_global_callback auto_global_callback);
^
/tmp/pear/temp/runkit/runkit.c:344:40: error: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Werror=incompatible-pointer-types]
if (zend_hash_find(CG(auto_globals), s, len + 1, (void *) &auto_global) != SUCCESS) {
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char
ZEND_API zval
ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pear/temp/runkit/runkit.c:344:7: error: too many arguments to function ‘zend_hash_find’
if (zend_hash_find(CG(auto_globals), s, len + 1, (void ) &auto_global) != SUCCESS) {
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:161:30: note: declared here
ZEND_API zval
ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/tmp/pear/temp/runkit/runkit.c:359:71: error: macro "zend_hash_next_index_insert" passed 4 arguments, but takes just 2
zend_hash_next_index_insert(RUNKIT_G(superglobals), s, len + 1, NULL);
^
/tmp/pear/temp/runkit/runkit.c:359:3: error: ‘zend_hash_next_index_insert’ undeclared (first use in this function)
zend_hash_next_index_insert(RUNKIT_G(superglobals), s, len + 1, NULL);
^
/tmp/pear/temp/runkit/runkit.c: In function ‘php_runkit_superglobal_dtor’:
/tmp/pear/temp/runkit/runkit.c:417:34: error: passing argument 2 of ‘zend_hash_del’ from incompatible pointer type [-Werror=incompatible-pointer-types]
zend_hash_del(CG(auto_globals), sName, strlen(sName) + 1);
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:153:28: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
^
/tmp/pear/temp/runkit/runkit.c:417:2: error: too many arguments to function ‘zend_hash_del’
zend_hash_del(CG(auto_globals), sName, strlen(sName) + 1);
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:153:28: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string key);
^
/tmp/pear/temp/runkit/runkit.c: In function ‘zm_deactivate_runkit’:
/tmp/pear/temp/runkit/runkit.c:436:43: error: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type [-Werror=incompatible-pointer-types]
zend_hash_apply(RUNKIT_G(superglobals), php_runkit_superglobal_dtor TSRMLS_CC);
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:139:29: note: expected ‘apply_func_t {aka int (
)(struct _zval_struct )}’ but argument is of type ‘int ()(void *)’
ZEND_API void ZEND_FASTCALL zend_hash_apply(HashTable ht, apply_func_t apply_func);
^
/tmp/pear/temp/runkit/runkit.c:446:59: error: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type [-Werror=incompatible-pointer-types]
zend_hash_apply(RUNKIT_G(misplaced_internal_functions), php_runkit_destroy_misplaced_functions TSRMLS_CC);
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:139:29: note: expected ‘apply_func_t {aka int (
)(struct _zval_struct )}’ but argument is of type ‘int ()(void *)’
ZEND_API void ZEND_FASTCALL zend_hash_apply(HashTable ht, apply_func_t apply_func);
^
/tmp/pear/temp/runkit/runkit.c:454:97: error: passing argument 2 of ‘zend_hash_apply_with_arguments’ from incompatible pointer type [-Werror=incompatible-pointer-types]
zend_hash_apply_with_arguments(RUNKIT_53_TSRMLS_PARAM(RUNKIT_G(replaced_internal_functions)), php_runkit_restore_internal_functions, 1, RUNKIT_TSRMLS_C);
^
In file included from /usr/include/php/20160303/Zend/zend.h:36:0,
from /usr/include/php/20160303/main/php.h:36,
from /tmp/pear/temp/runkit/php_runkit.h:29,
from /tmp/pear/temp/runkit/runkit.c:22:
/usr/include/php/20160303/Zend/zend_hash.h:141:29: note: expected ‘apply_func_args_t {aka int (
)(struct _zval_struct *, int, __va_list_tag *, struct _zend_hash_key )}’ but argument is of type ‘int ()(void *, int, __va_list_tag *, zend_hash_key ) {aka int ()(void *, int, __va_list_tag *, struct _zend_hash_key *)}’
ZEND_API void ZEND_FASTCALL zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int, ...);
^
/tmp/pear/temp/runkit/runkit.c:464:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
zval **table = el->is_static ? el->ce->default_static_members_table : el->ce->default_properties_table;
^
/tmp/pear/temp/runkit/runkit.c:467:4: error: implicit declaration of function ‘ALLOC_ZVAL’ [-Werror=implicit-function-declaration]
ALLOC_ZVAL(*table_el);
^
/tmp/pear/temp/runkit/runkit.c:468:24: error: lvalue required as left operand of assignment
Z_TYPE_PP(table_el) = IS_NULL;
^
/tmp/pear/temp/runkit/runkit.c:469:4: error: implicit declaration of function ‘Z_SET_REFCOUNT_PP’ [-Werror=implicit-function-declaration]
Z_SET_REFCOUNT_PP(table_el, 1);
^
cc1: all warnings being treated as errors
Makefile:193: recipe for target 'runkit.lo' failed
make: *** [runkit.lo] Error 1
ERROR: `make' failed

@netcraft-devops
Copy link

Restarted apache after downgrading to PHP 5.6 fixed it for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants