=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for php80-mecab-0.6.0nb1
/bin/cp /tree/pkgsrc/textproc/php-mecab/../../lang/php/ext.ini /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab.ini
--- mecab7.lo ---
/bin/sh /scratch/work/textproc/php-mecab/work/mecab-0.6.0/libtool --mode=compile gcc -I. -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0 -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0/include -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0/main -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H  -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include    -c /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c -o mecab7.lo
libtool: compile:  gcc -I. -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0 -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0/include -I/scratch/work/textproc/php-mecab/work/mecab-0.6.0/main -I/scratch/work/textproc/php-mecab/work/.buildlink/include/php -I/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main -I/scratch/work/textproc/php-mecab/work/.buildlink/include/php/TSRM -I/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend -I/scratch/work/textproc/php-mecab/work/.buildlink/include/php/ext -I/scratch/work/textproc/php-mecab/work/.buildlink/include/php/ext/date/lib -I/scratch/work/textproc/php-mecab/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c  -fPIC -DPIC -o .libs/mecab7.o
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:157:1: warning: parameter names (without types) in function declaration
 php_mecab_ctor(TSRMLS_D);
 ^~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:161:33: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_dtor(php_mecab *mecab TSRMLS_DC);
                                 ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:165:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_set_string(php_mecab *mecab, zend_string *str TSRMLS_DC);
                                                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:169:1: warning: parameter names (without types) in function declaration
 php_mecab_node_ctor(TSRMLS_D);
 ^~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:173:42: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_dtor(php_mecab_node *node TSRMLS_DC);
                                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:177:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_set_tagger(php_mecab_node *node, php_mecab *mecab TSRMLS_DC);
                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:181:1: warning: parameter names (without types) in function declaration
 php_mecab_path_ctor(TSRMLS_D);
 ^~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:185:42: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_dtor(php_mecab_path *path TSRMLS_DC);
                                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:189:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_set_tagger(php_mecab_path *path, php_mecab *mecab TSRMLS_DC);
                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:193:98: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_get_sibling(zval *zv, zval *object, php_mecab_node *xnode, php_mecab_node_rel rel TSRMLS_DC);
                                                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:197:95: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_get_path(zval *zv, zval *object, php_mecab_node *xnode, php_mecab_node_rel rel TSRMLS_DC);
                                                                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:201:98: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_get_sibling(zval *zv, zval *object, php_mecab_path *xpath, php_mecab_path_rel rel TSRMLS_DC);
                                                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:205:95: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_get_node(zval *zv, zval *object, php_mecab_path *xpath, php_mecab_path_rel rel TSRMLS_DC);
                                                                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:216:43: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_object_new(zend_class_entry *ce TSRMLS_DC);
                                           ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:220:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_free_object_storage(zend_object *object TSRMLS_DC);
                                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:230:48: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_object_new(zend_class_entry *ce TSRMLS_DC);
                                                ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:234:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_free_object_storage(zend_object *object TSRMLS_DC);
                                                        ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:244:48: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_object_new(zend_class_entry *ce TSRMLS_DC);
                                                ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:248:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_free_object_storage(zend_object *object TSRMLS_DC);
                                                        ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:258:46: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_get_class_entry(const char *lcname TSRMLS_DC);
                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:264:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_check_path(const char *path, size_t length, char *real_path TSRMLS_DC);
                                                                       ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zm_startup_mecab':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:523:20: warning: implicit declaration of function 'php_mecab_get_class_entry'; did you mean 'php_mecab_path_ctor'? [-Wimplicit-function-declaration]
  ext_ce_Iterator = php_mecab_get_class_entry("iterator" TSRMLS_CC);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
                    php_mecab_path_ctor
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:523:57: error: expected ')' before 'TSRMLS_CC'
  ext_ce_Iterator = php_mecab_get_class_entry("iterator" TSRMLS_CC);
                                                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:523:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  ext_ce_Iterator = php_mecab_get_class_entry("iterator" TSRMLS_CC);
                  ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:524:75: error: expected ')' before 'TSRMLS_CC'
  ext_ce_IteratorAggregate = php_mecab_get_class_entry("iteratoraggregate" TSRMLS_CC);
                                                                           ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:524:27: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  ext_ce_IteratorAggregate = php_mecab_get_class_entry("iteratoraggregate" TSRMLS_CC);
                           ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:525:85: error: expected ')' before 'TSRMLS_CC'
  ext_ce_BadMethodCallException = php_mecab_get_class_entry("badmethodcallexception" TSRMLS_CC);
                                                                                     ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:525:32: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  ext_ce_BadMethodCallException = php_mecab_get_class_entry("badmethodcallexception" TSRMLS_CC);
                                ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:526:89: error: expected ')' before 'TSRMLS_CC'
  ext_ce_InvalidArgumentException = php_mecab_get_class_entry("invalidargumentexception" TSRMLS_CC);
                                                                                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:526:34: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  ext_ce_InvalidArgumentException = php_mecab_get_class_entry("invalidargumentexception" TSRMLS_CC);
                                  ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:527:79: error: expected ')' before 'TSRMLS_CC'
  ext_ce_OutOfRangeException = php_mecab_get_class_entry("outofrangeexception" TSRMLS_CC);
                                                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:527:29: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  ext_ce_OutOfRangeException = php_mecab_get_class_entry("outofrangeexception" TSRMLS_CC);
                             ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:544:36: error: 'php_mecab_object_new' undeclared (first use in this function); did you mean 'php_mecab_object'?
   ce_MeCab_Tagger->create_object = php_mecab_object_new;
                                    ^~~~~~~~~~~~~~~~~~~~
                                    php_mecab_object
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:544:36: note: each undeclared identifier is reported only once for each function it appears in
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:548:40: error: 'php_mecab_free_object_storage' undeclared (first use in this function); did you mean 'php_mecab_node_object_handlers'?
   php_mecab_object_handlers.free_obj = php_mecab_free_object_storage;
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        php_mecab_node_object_handlers
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:559:34: error: 'php_mecab_node_object_new' undeclared (first use in this function); did you mean 'php_mecab_node_object'?
   ce_MeCab_Node->create_object = php_mecab_node_object_new;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
                                  php_mecab_node_object
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:570:45: error: 'php_mecab_node_free_object_storage' undeclared (first use in this function); did you mean 'php_mecab_free_object_storage'?
   php_mecab_node_object_handlers.free_obj = php_mecab_node_free_object_storage;
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                             php_mecab_free_object_storage
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:573:39: error: expected ')' before 'TSRMLS_CC'
   zend_class_implements(ce_MeCab_Node TSRMLS_CC, 1, ext_ce_IteratorAggregate);
                                       ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:573:3: error: too few arguments to function 'zend_class_implements'
   zend_class_implements(ce_MeCab_Node TSRMLS_CC, 1, ext_ce_IteratorAggregate);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:335:15: note: declared here
 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
               ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:574:47: error: expected ')' before 'TSRMLS_CC'
   zend_class_implements(ce_MeCab_NodeIterator TSRMLS_CC, 1, ext_ce_Iterator);
                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:574:3: error: too few arguments to function 'zend_class_implements'
   zend_class_implements(ce_MeCab_NodeIterator TSRMLS_CC, 1, ext_ce_Iterator);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:335:15: note: declared here
 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
               ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:576:76: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "NOR", 3, MECAB_NOR_NODE TSRMLS_CC);
                                                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:577:76: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "UNK", 3, MECAB_UNK_NODE TSRMLS_CC);
                                                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:578:76: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "BOS", 3, MECAB_BOS_NODE TSRMLS_CC);
                                                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:579:76: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "EOS", 3, MECAB_EOS_NODE TSRMLS_CC);
                                                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:581:92: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "TRAVERSE_NEXT", 13, (long)TRAVERSE_NEXT TSRMLS_CC);
                                                                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:582:94: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "TRAVERSE_ENEXT", 14, (long)TRAVERSE_ENEXT TSRMLS_CC);
                                                                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:583:94: error: expected ')' before 'TSRMLS_CC'
   zend_declare_class_constant_long(ce_MeCab_Node, "TRAVERSE_BNEXT", 14, (long)TRAVERSE_BNEXT TSRMLS_CC);
                                                                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:593:34: error: 'php_mecab_path_object_new' undeclared (first use in this function); did you mean 'php_mecab_node_object_new'?
   ce_MeCab_Path->create_object = php_mecab_path_object_new;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
                                  php_mecab_node_object_new
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:597:45: error: 'php_mecab_path_free_object_storage' undeclared (first use in this function); did you mean 'php_mecab_node_free_object_storage'?
   php_mecab_path_object_handlers.free_obj = php_mecab_path_free_object_storage;
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                             php_mecab_node_free_object_storage
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_ctor':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:645:1: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int]
 php_mecab_ctor(TSRMLS_D)
 ^~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: At top level:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:666:33: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_dtor(php_mecab *mecab TSRMLS_DC)
                                 ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:683:57: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_set_string(php_mecab *mecab, zend_string *str TSRMLS_DC)
                                                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:700:43: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_object_new(zend_class_entry *ce TSRMLS_DC)
                                           ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:720:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_free_object_storage(zend_object *object TSRMLS_DC)
                                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_node_ctor':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:736:1: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int]
 php_mecab_node_ctor(TSRMLS_D)
 ^~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: At top level:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:756:42: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_dtor(php_mecab_node *node TSRMLS_DC)
                                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:769:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_set_tagger(php_mecab_node *node, php_mecab *mecab TSRMLS_DC)
                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:787:48: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_object_new(zend_class_entry *ce TSRMLS_DC)
                                                ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:807:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_free_object_storage(zend_object *object TSRMLS_DC)
                                                        ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_path_ctor':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:821:1: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int]
 php_mecab_path_ctor(TSRMLS_D)
 ^~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: At top level:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:841:42: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_dtor(php_mecab_path *path TSRMLS_DC)
                                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:854:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_set_tagger(php_mecab_path *path, php_mecab *mecab TSRMLS_DC)
                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:872:48: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_object_new(zend_class_entry *ce TSRMLS_DC)
                                                ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:891:56: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_free_object_storage(zend_object *object TSRMLS_DC)
                                                        ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:905:98: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_get_sibling(zval *zv, zval *object, php_mecab_node *xnode, php_mecab_node_rel rel TSRMLS_DC)
                                                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:956:95: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_node_get_path(zval *zv, zval *object, php_mecab_node *xnode, php_mecab_node_rel rel TSRMLS_DC)
                                                                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1003:98: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_get_sibling(zval *zv, zval *object, php_mecab_path *xpath, php_mecab_path_rel rel TSRMLS_DC)
                                                                                                  ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1050:95: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_path_get_node(zval *zv, zval *object, php_mecab_path *xpath, php_mecab_path_rel rel TSRMLS_DC)
                                                                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_node_get_sibling_wrapper':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1105:2: warning: implicit declaration of function 'php_mecab_node_get_sibling'; did you mean 'php_mecab_node_get_sibling_wrapper'? [-Wimplicit-function-declaration]
  php_mecab_node_get_sibling(return_value, getThis(), xnode, rel TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
  php_mecab_node_get_sibling_wrapper
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1105:65: error: expected ')' before 'TSRMLS_CC'
  php_mecab_node_get_sibling(return_value, getThis(), xnode, rel TSRMLS_CC);
                                                                 ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_node_get_path_wrapper':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1121:2: warning: implicit declaration of function 'php_mecab_node_get_path'; did you mean 'php_mecab_node_ctor'? [-Wimplicit-function-declaration]
  php_mecab_node_get_path(return_value, getThis(), xnode, rel TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~~~~
  php_mecab_node_ctor
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1121:62: error: expected ')' before 'TSRMLS_CC'
  php_mecab_node_get_path(return_value, getThis(), xnode, rel TSRMLS_CC);
                                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_path_get_sibling_wrapper':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1137:2: warning: implicit declaration of function 'php_mecab_path_get_sibling'; did you mean 'php_mecab_path_get_sibling_wrapper'? [-Wimplicit-function-declaration]
  php_mecab_path_get_sibling(return_value, getThis(), xpath, rel TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
  php_mecab_path_get_sibling_wrapper
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1137:65: error: expected ')' before 'TSRMLS_CC'
  php_mecab_path_get_sibling(return_value, getThis(), xpath, rel TSRMLS_CC);
                                                                 ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'php_mecab_path_get_node_wrapper':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1153:2: warning: implicit declaration of function 'php_mecab_path_get_node'; did you mean 'php_mecab_path_ctor'? [-Wimplicit-function-declaration]
  php_mecab_path_get_node(return_value, getThis(), xpath, rel TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~~~~
  php_mecab_path_ctor
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1153:62: error: expected ')' before 'TSRMLS_CC'
  php_mecab_path_get_node(return_value, getThis(), xpath, rel TSRMLS_CC);
                                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: At top level:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1161:46: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_get_class_entry(const char *lcname TSRMLS_DC)
                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1176:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
 php_mecab_check_path(const char *path, size_t length, char *real_path TSRMLS_DC)
                                                                       ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_split':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1339:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|S!S!", &str, &zdicdir, &zuserdic) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1339:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|S!S!", &str, &zdicdir, &zuserdic) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1364:8: warning: implicit declaration of function 'php_mecab_check_path'; did you mean 'php_mecab_check_option'? [-Wimplicit-function-declaration]
   if (!php_mecab_check_path(dicdir, dicdir_len, dicdir_ptr TSRMLS_CC)) {
        ^~~~~~~~~~~~~~~~~~~~
        php_mecab_check_option
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1364:60: error: expected ')' before 'TSRMLS_CC'
   if (!php_mecab_check_path(dicdir, dicdir_len, dicdir_ptr TSRMLS_CC)) {
                                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1365:26: error: expected ')' before 'TSRMLS_CC'
    php_error_docref(NULL TSRMLS_CC, E_WARNING,
                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1365:4: error: too few arguments to function 'php_error_docref'
    php_error_docref(NULL TSRMLS_CC, E_WARNING,
    ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1375:63: error: expected ')' before 'TSRMLS_CC'
   if (!php_mecab_check_path(userdic, userdic_len, userdic_ptr TSRMLS_CC)) {
                                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1376:26: error: expected ')' before 'TSRMLS_CC'
    php_error_docref(NULL TSRMLS_CC, E_WARNING,
                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1376:4: error: too few arguments to function 'php_error_docref'
    php_error_docref(NULL TSRMLS_CC, E_WARNING,
    ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1388:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(NULL));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1388:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(NULL));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1395:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1395:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_new':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1451:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!", &zoptions) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1451:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!", &zoptions) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1474:28: error: expected ')' before 'TSRMLS_CC'
      php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option '%s' given", ZSTR_VAL(key));
                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1474:6: error: too few arguments to function 'php_error_docref'
      php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option '%s' given", ZSTR_VAL(key));
      ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC'
  if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \
                                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1490:6: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
      PHP_MECAB_CHECK_FILE(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
      ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
                         ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1490:6: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
      PHP_MECAB_CHECK_FILE(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
      ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
   ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1490:6: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
      PHP_MECAB_CHECK_FILE(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
      ^~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1501:29: error: expected ')' before 'TSRMLS_CC'
       php_error_docref(NULL TSRMLS_CC, E_WARNING,
                             ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1501:7: error: too few arguments to function 'php_error_docref'
       php_error_docref(NULL TSRMLS_CC, E_WARNING,
       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC'
  if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \
                                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1518:6: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
      PHP_MECAB_CHECK_FILE(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
      ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
                         ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1518:6: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
      PHP_MECAB_CHECK_FILE(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
      ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
   ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1518:6: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
      PHP_MECAB_CHECK_FILE(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
      ^~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC'
  if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \
                                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1535:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_rcfile), rcfile_len);
   ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
                         ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1535:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_rcfile), rcfile_len);
   ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
   ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1535:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_rcfile), rcfile_len);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC'
  if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \
                                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1543:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_dicdir), dicdir_len);
   ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
                         ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1543:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_dicdir), dicdir_len);
   ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
   ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1543:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_dicdir), dicdir_len);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC'
  if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \
                                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1551:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_userdic), userdic_len);
   ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
                         ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1551:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_userdic), userdic_len);
   ^~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1283:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' does not exist or is not readable", (path)); \
   ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1551:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE'
   PHP_MECAB_CHECK_FILE(MECAB_G(default_userdic), userdic_len);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1568:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(NULL));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1568:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(NULL));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1578:37: error: expected ')' before 'TSRMLS_CC'
      "MeCab already initialized", 0 TSRMLS_CC);
                                     ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_partial':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1606:1: error: expected ';' before '}' token
 }
 ^
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_set_partial'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1620:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_partial)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_set_partial':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1630:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("b", &partial);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1630:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("b", &partial);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_partial':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_get_theta'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1646:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_get_theta)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_theta':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1656:1: error: expected ';' before '}' token
 }
 ^
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_set_theta'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1670:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_theta)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_set_theta':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1680:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("d", &theta);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1680:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("d", &theta);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_theta':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_get_lattice_level'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1696:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_get_lattice_level)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_lattice_level':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1706:1: error: expected ';' before '}' token
 }
 ^
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_set_lattice_level'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1720:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_lattice_level)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_set_lattice_level':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1730:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("l", &level);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1730:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("l", &level);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_lattice_level':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_get_all_morphs'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1746:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_get_all_morphs)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1756:1: error: expected ';' before '}' token
 }
 ^
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_set_all_morphs'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1770:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_all_morphs)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_set_all_morphs':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1780:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("b", &all_morphs);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1780:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("b", &all_morphs);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_sparse_tostr'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1801:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_sparse_tostr)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_sparse_tostr':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1818:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("S|ll", &str, &len, &olen);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1818:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("S|ll", &str, &len, &olen);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1821:2: warning: implicit declaration of function 'php_mecab_set_string'; did you mean 'zif_mecab_set_theta'? [-Wimplicit-function-declaration]
  php_mecab_set_string(xmecab, str TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~
  zif_mecab_set_theta
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1821:35: error: expected ')' before 'TSRMLS_CC'
  php_mecab_set_string(xmecab, str TSRMLS_CC);
                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1833:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1833:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_sparse_tonode'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1858:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_sparse_tonode)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_sparse_tonode':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1874:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("S|l", &str, &len);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1874:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("S|l", &str, &len);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1877:35: error: expected ')' before 'TSRMLS_CC'
  php_mecab_set_string(xmecab, str TSRMLS_CC);
                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1881:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1881:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1893:2: warning: implicit declaration of function 'php_mecab_node_set_tagger'; did you mean 'php_mecab_node_ctor'? [-Wimplicit-function-declaration]
  php_mecab_node_set_tagger(xnode, xmecab TSRMLS_CC);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
  php_mecab_node_ctor
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1893:42: error: expected ')' before 'TSRMLS_CC'
  php_mecab_node_set_tagger(xnode, xmecab TSRMLS_CC);
                                          ^~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_nbest_sparse_tostr'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1912:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_sparse_tostr)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_nbest_sparse_tostr':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1930:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("lS|ll", &n, &str, &len, &olen);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1930:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("lS|ll", &n, &str, &len, &olen);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1933:35: error: expected ')' before 'TSRMLS_CC'
  php_mecab_set_string(xmecab, str TSRMLS_CC);
                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1945:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1945:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_nbest_init'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1970:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_init)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_nbest_init':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1985:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("S|l", &str, &len);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1985:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("S|l", &str, &len);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1988:35: error: expected ')' before 'TSRMLS_CC'
  php_mecab_set_string(xmecab, str TSRMLS_CC);
                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1992:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:1992:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_nbest_next_tostr'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2012:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_next_tostr)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_nbest_next_tostr':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2027:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("|l", &olen);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:34:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2027:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS'
  PHP_MECAB_PARSE_PARAMETERS("|l", &olen);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2043:26: error: expected ')' before 'TSRMLS_CC'
    php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", what);
                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2043:4: error: too few arguments to function 'php_error_docref'
    php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", what);
    ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_nbest_next_tonode'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2068:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_next_tonode)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_nbest_next_tonode':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2088:26: error: expected ')' before 'TSRMLS_CC'
    php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", what);
                          ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2088:4: error: too few arguments to function 'php_error_docref'
    php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", what);
    ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2101:42: error: expected ')' before 'TSRMLS_CC'
  php_mecab_node_set_tagger(xnode, xmecab TSRMLS_CC);
                                          ^~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_format_node'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2120:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_format_node)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_format_node':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2134:45: error: expected ')' before 'TSRMLS_CC'
   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &node_object, ce_MeCab_Node) == FAILURE) {
                                             ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2134:7: error: too few arguments to function 'zend_parse_parameters'
   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &node_object, ce_MeCab_Node) == FAILURE) {
       ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2149:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2149:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_dictionary_info'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2167:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_dictionary_info)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_toarray'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2218:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_toarray)
        ^~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:32:0:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_node_toarray':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:44:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
                                            ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:71:51: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS2'
 #define PHP_MECAB_NODE_PARSE_PARAMETERS(fmt, ...) PHP_MECAB_PARSE_PARAMETERS2(node, fmt, __VA_ARGS__)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2229:2: note: in expansion of macro 'PHP_MECAB_NODE_PARSE_PARAMETERS'
  PHP_MECAB_NODE_PARSE_PARAMETERS("|b", &dump_all);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:44:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \
      ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab_compat7.h:71:51: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS2'
 #define PHP_MECAB_NODE_PARSE_PARAMETERS(fmt, ...) PHP_MECAB_PARSE_PARAMETERS2(node, fmt, __VA_ARGS__)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2229:2: note: in expansion of macro 'PHP_MECAB_NODE_PARSE_PARAMETERS'
  PHP_MECAB_NODE_PARSE_PARAMETERS("|b", &dump_all);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2237:99: error: expected ')' before 'TSRMLS_CC'
   add_assoc_zval(return_value, "prev",  php_mecab_node_get_sibling(NULL, object, xnode, NODE_PREV TSRMLS_CC));
                                                                                                   ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2237:41: warning: passing argument 4 of 'add_assoc_zval_ex' makes pointer from integer without a cast [-Wint-conversion]
   add_assoc_zval(return_value, "prev",  php_mecab_node_get_sibling(NULL, object, xnode, NODE_PREV TSRMLS_CC));
                                         ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:448:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'int'
 ZEND_API void add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value);
               ^~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2238:99: error: expected ')' before 'TSRMLS_CC'
   add_assoc_zval(return_value, "next",  php_mecab_node_get_sibling(NULL, object, xnode, NODE_NEXT TSRMLS_CC));
                                                                                                   ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2238:41: warning: passing argument 4 of 'add_assoc_zval_ex' makes pointer from integer without a cast [-Wint-conversion]
   add_assoc_zval(return_value, "next",  php_mecab_node_get_sibling(NULL, object, xnode, NODE_NEXT TSRMLS_CC));
                                         ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:448:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'int'
 ZEND_API void add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value);
               ^~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2239:100: error: expected ')' before 'TSRMLS_CC'
   add_assoc_zval(return_value, "enext", php_mecab_node_get_sibling(NULL, object, xnode, NODE_ENEXT TSRMLS_CC));
                                                                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2239:41: warning: passing argument 4 of 'add_assoc_zval_ex' makes pointer from integer without a cast [-Wint-conversion]
   add_assoc_zval(return_value, "enext", php_mecab_node_get_sibling(NULL, object, xnode, NODE_ENEXT TSRMLS_CC));
                                         ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:448:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'int'
 ZEND_API void add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value);
               ^~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2240:100: error: expected ')' before 'TSRMLS_CC'
   add_assoc_zval(return_value, "bnext", php_mecab_node_get_sibling(NULL, object, xnode, NODE_BNEXT TSRMLS_CC));
                                                                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2240:41: warning: passing argument 4 of 'add_assoc_zval_ex' makes pointer from integer without a cast [-Wint-conversion]
   add_assoc_zval(return_value, "bnext", php_mecab_node_get_sibling(NULL, object, xnode, NODE_BNEXT TSRMLS_CC));
                                         ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:448:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'int'
 ZEND_API void add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value);
               ^~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2241:97: error: expected ')' before 'TSRMLS_CC'
   add_assoc_zval(return_value, "rpath", php_mecab_node_get_path(NULL, object, xnode, NODE_RPATH TSRMLS_CC));
                                                                                                 ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2241:41: warning: passing argument 4 of 'add_assoc_zval_ex' makes pointer from integer without a cast [-Wint-conversion]
   add_assoc_zval(return_value, "rpath", php_mecab_node_get_path(NULL, object, xnode, NODE_RPATH TSRMLS_CC));
                                         ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:448:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'int'
 ZEND_API void add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value);
               ^~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2242:97: error: expected ')' before 'TSRMLS_CC'
   add_assoc_zval(return_value, "lpath", php_mecab_node_get_path(NULL, object, xnode, NODE_LPATH TSRMLS_CC));
                                                                                                 ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2242:41: warning: passing argument 4 of 'add_assoc_zval_ex' makes pointer from integer without a cast [-Wint-conversion]
   add_assoc_zval(return_value, "lpath", php_mecab_node_get_path(NULL, object, xnode, NODE_LPATH TSRMLS_CC));
                                         ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:458:94: note: in definition of macro 'add_assoc_zval'
 #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
                                                                                              ^~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:448:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'int'
 ZEND_API void add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value);
               ^~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_tostring'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2277:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_tostring)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_node_tostring':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2294:25: error: expected ')' before 'TSRMLS_CC'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2294:3: error: too few arguments to function 'php_error_docref'
   php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab));
   ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_prev'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2314:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_prev)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_next'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2331:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_next)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_enext'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2348:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_enext)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_bnext'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2365:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_bnext)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_rpath'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2382:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_rpath)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_lpath'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2399:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_lpath)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_surface'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2415:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_surface)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_feature'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2431:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_feature)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_id'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2447:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_id)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_length'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2463:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_length)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_rlength'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2479:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_rlength)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_rcattr'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2495:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_rcattr)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_lcattr'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2511:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_lcattr)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_posid'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2529:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_posid)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_char_type'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2545:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_char_type)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_stat'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2566:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_stat)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_isbest'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2582:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_isbest)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_alpha'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2598:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_alpha)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_beta'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2614:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_beta)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_prob'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2630:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_prob)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_wcost'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2646:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_wcost)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_node_cost'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2662:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_cost)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_path_rnext'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2679:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_rnext)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_path_lnext'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2696:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_lnext)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_path_rnode'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2713:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_rnode)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_path_lnode'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2730:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_lnode)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_path_prob'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2746:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_prob)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: error: invalid storage class for function 'zif_mecab_path_cost'
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2762:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_cost)
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Node___construct'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2783:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, __construct)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Node___get'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2802:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, __get)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_Node___get':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2814:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2814:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2825:69: error: expected ')' before 'TSRMLS_CC'
   php_mecab_node_get_sibling(return_value, object, xnode, NODE_PREV TSRMLS_CC);
                                                                     ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2829:69: error: expected ')' before 'TSRMLS_CC'
   php_mecab_node_get_sibling(return_value, object, xnode, NODE_NEXT TSRMLS_CC);
                                                                     ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2833:70: error: expected ')' before 'TSRMLS_CC'
   php_mecab_node_get_sibling(return_value, object, xnode, NODE_ENEXT TSRMLS_CC);
                                                                      ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2837:70: error: expected ')' before 'TSRMLS_CC'
   php_mecab_node_get_sibling(return_value, object, xnode, NODE_BNEXT TSRMLS_CC);
                                                                      ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2841:67: error: expected ')' before 'TSRMLS_CC'
   php_mecab_node_get_path(return_value, object, xnode, NODE_RPATH TSRMLS_CC);
                                                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2845:67: error: expected ')' before 'TSRMLS_CC'
   php_mecab_node_get_path(return_value, object, xnode, NODE_LPATH TSRMLS_CC);
                                                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2866:24: error: expected ')' before 'TSRMLS_CC'
  php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined property (%s)", name);
                        ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2866:2: error: too few arguments to function 'php_error_docref'
  php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined property (%s)", name);
  ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Node___isset'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2883:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, __isset)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_Node___isset':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2894:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2894:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Node_getIterator'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2945:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, getIterator)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_Node_getIterator':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2967:51: error: expected ')' before 'TSRMLS_CC'
  php_mecab_node_set_tagger(newnode, xnode->tagger TSRMLS_CC);
                                                   ^~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Node_setTraverse'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2982:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, setTraverse)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_Node_setTraverse':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2990:89: error: expected ')' before 'TSRMLS_CC'
  zend_replace_error_handling(EH_THROW, ext_ce_InvalidArgumentException, &error_handling TSRMLS_CC);
                                                                                         ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2991:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &traverse) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2991:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &traverse) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2992:47: error: expected ')' before 'TSRMLS_CC'
   zend_restore_error_handling(&error_handling TSRMLS_CC);
                                               ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:2995:46: error: expected ')' before 'TSRMLS_CC'
  zend_restore_error_handling(&error_handling TSRMLS_CC);
                                              ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3014:38: error: expected ')' before 'TSRMLS_CC'
     "Invalid traverse mdoe given", 0 TSRMLS_CC);
                                      ^~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_NodeIterator___construct'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3032:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, __construct)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_NodeIterator_current'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3048:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, current)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_NodeIterator_current':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3072:51: error: expected ')' before 'TSRMLS_CC'
  php_mecab_node_set_tagger(newnode, xnode->tagger TSRMLS_CC);
                                                   ^~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_NodeIterator_key'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3087:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, key)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_NodeIterator_next'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3119:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, next)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_NodeIterator_rewind'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3163:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, rewind)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_NodeIterator_valid'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3188:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, valid)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Path___construct'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3218:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Path, __construct)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Path___get'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3237:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Path, __get)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_Path___get':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3249:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3249:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3260:70: error: expected ')' before 'TSRMLS_CC'
   php_mecab_path_get_sibling(return_value, object, xpath, PATH_RNEXT TSRMLS_CC);
                                                                      ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3264:70: error: expected ')' before 'TSRMLS_CC'
   php_mecab_path_get_sibling(return_value, object, xpath, PATH_LNEXT TSRMLS_CC);
                                                                      ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3268:67: error: expected ')' before 'TSRMLS_CC'
   php_mecab_path_get_node(return_value, object, xpath, PATH_RNODE TSRMLS_CC);
                                                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3272:67: error: expected ')' before 'TSRMLS_CC'
   php_mecab_path_get_node(return_value, object, xpath, PATH_LNODE TSRMLS_CC);
                                                                   ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3279:24: error: expected ')' before 'TSRMLS_CC'
  php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined property (%s)", name);
                        ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3279:2: error: too few arguments to function 'php_error_docref'
  php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined property (%s)", name);
  ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:341:23: note: declared here
 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
                       ^~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: error: invalid storage class for function 'zim_MeCab_Path___isset'
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3296:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Path, __isset)
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zim_MeCab_Path___isset':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3307:44: error: expected ')' before 'TSRMLS_CC'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
                                            ^~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3307:6: error: too few arguments to function 'zend_parse_parameters'
  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) {
      ^~~~~~~~~~~~~~~~~~~~~
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_all_morphs':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3327:1: error: expected declaration or statement at end of input
 }
 ^
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_lattice_level':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3327:1: error: expected declaration or statement at end of input
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_theta':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3327:1: error: expected declaration or statement at end of input
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: In function 'zif_mecab_get_partial':
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:3327:1: error: expected declaration or statement at end of input
In file included from /scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:35:0,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/php_mecab.h:42,
                 from /scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:31:
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c: At top level:
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_set_partial' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:79:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_partial);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_get_theta' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:80:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_get_theta);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_set_theta' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:81:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_theta);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_get_lattice_level' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:82:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_get_lattice_level);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_set_lattice_level' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:83:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_lattice_level);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_get_all_morphs' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:84:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_get_all_morphs);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_set_all_morphs' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:85:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_set_all_morphs);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_sparse_tostr' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:86:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_sparse_tostr);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_sparse_tonode' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:87:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_sparse_tonode);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_nbest_sparse_tostr' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:88:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_sparse_tostr);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_nbest_init' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:89:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_init);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_nbest_next_tostr' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:90:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_next_tostr);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_nbest_next_tonode' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:91:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_nbest_next_tonode);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_format_node' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:92:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_format_node);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_dictionary_info' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:93:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_dictionary_info);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_toarray' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:95:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_toarray);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_tostring' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:96:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_tostring);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_prev' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:98:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_prev);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_next' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:99:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_next);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_enext' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:100:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_enext);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_bnext' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:101:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_bnext);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_rpath' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:102:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_rpath);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_lpath' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:103:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_lpath);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_surface' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:104:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_surface);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_feature' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:105:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_feature);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_id' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:106:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_id);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_length' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:107:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_length);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_rlength' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:108:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_rlength);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_rcattr' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:109:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_rcattr);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_lcattr' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:110:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_lcattr);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_posid' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:111:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_posid);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_char_type' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:112:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_char_type);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_stat' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:113:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_stat);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_isbest' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:114:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_isbest);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_alpha' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:115:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_alpha);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_beta' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:116:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_beta);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_prob' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:117:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_prob);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_wcost' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:118:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_wcost);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_node_cost' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:119:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_node_cost);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_path_rnext' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:121:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_rnext);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_path_lnext' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:122:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_lnext);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_path_rnode' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:123:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_rnode);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_path_lnode' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:124:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_lnode);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_path_prob' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:125:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_prob);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:72:52: warning: 'zif_mecab_path_cost' used but never defined
 #define ZEND_FUNCTION(name)    ZEND_NAMED_FUNCTION(zif_##name)
                                                    ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_FUNCTION'
 #define PHP_FUNCTION   ZEND_FUNCTION
                        ^~~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:126:8: note: in expansion of macro 'PHP_FUNCTION'
 static PHP_FUNCTION(mecab_path_cost);
        ^~~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Node___construct' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:132:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, __construct);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Path___construct' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:133:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Path, __construct);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Node___get' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:135:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, __get);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Node___isset' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:136:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, __isset);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Node_getIterator' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:138:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, getIterator);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Node_setTraverse' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:139:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Node, setTraverse);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_NodeIterator___construct' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:141:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, __construct);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_NodeIterator_current' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:142:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, current);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_NodeIterator_key' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:143:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, key);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_NodeIterator_valid' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:144:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, valid);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_NodeIterator_rewind' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:145:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, rewind);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_NodeIterator_next' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:146:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_NodeIterator, next);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Path___get' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:148:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Path, __get);
        ^~~~~~~~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:73:58: warning: 'zim_MeCab_Path___isset' used but never defined
 #define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(zim_##classname##_##name)
                                                          ^
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/Zend/zend_API.h:71:55: note: in definition of macro 'ZEND_NAMED_FUNCTION'
 #define ZEND_NAMED_FUNCTION(name)  void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
                                                       ^~~~
/scratch/work/textproc/php-mecab/work/.buildlink/include/php/main/php.h:381:24: note: in expansion of macro 'ZEND_METHOD'
 #define PHP_METHOD     ZEND_METHOD
                        ^~~~~~~~~~~
/scratch/work/textproc/php-mecab/work/mecab-0.6.0/mecab7.c:149:8: note: in expansion of macro 'PHP_METHOD'
 static PHP_METHOD(MeCab_Path, __isset);
        ^~~~~~~~~~
*** [mecab7.lo] Error code 1

make: stopped in /scratch/work/textproc/php-mecab/work/mecab-0.6.0
1 error

make: stopped in /scratch/work/textproc/php-mecab/work/mecab-0.6.0
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/textproc/php-mecab
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/textproc/php-mecab