------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pcre2-10.35.txz Installing /packages/All/libargon2-20190702.txz Installing /packages/All/libxml2-2.9.10_1.txz Installing /packages/All/php80-8.0.0.r2_1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.32.0.txz Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/ja-mecab-0.996_3.txz ===== Message from ja-mecab-0.996_3: -- ipadic was split into japanese/mecab-ipadic port. -- ===> NOTICE: The ja-mecab port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-mecab-0.6.0_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-mecab-0.6.0_1 for building => SHA256 Checksum OK for rsky-php-mecab-v0.6.0_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-mecab-0.6.0_1 for building ===> Extracting for php80-mecab-0.6.0_1 => SHA256 Checksum OK for rsky-php-mecab-v0.6.0_GH0.tar.gz. Extracted Memory Use: 0.78M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-mecab-0.6.0_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on file: /usr/local/bin/phpize - found ===> php80-mecab-0.6.0_1 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on shared library: libmecab.so - found (/usr/local/lib/libmecab.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-mecab-0.6.0_1 depends on file: /usr/local/bin/phpize - found ===> php80-mecab-0.6.0_1 depends on package: autoconf>0 - found ===> php80-mecab-0.6.0_1 depends on shared library: libmecab.so - found (/usr/local/lib/libmecab.so) ===> PHPizing for php80-mecab-0.6.0_1 ===> Configuring for php80-mecab-0.6.0_1 Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure: loading site script /xports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pkg-config... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20200930 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable MeCab support... yes, shared checking for mecab-config... /usr/local/bin/mecab-config checking for MeCab library version... 0.996 (ok) checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking mecab.h usability... yes checking mecab.h presence... yes checking for mecab.h... yes checking for mecab_new2 in -lmecab... yes checking for PHP version... build for 8.0.0RC2 checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.9 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.9 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-mecab-0.6.0_1 --- mecab7.lo --- /bin/sh /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/libtool --mode=compile cc -I. -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab/include -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab/main -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c -o mecab7.lo mkdir .libs cc -I. -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab/include -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab/main -I/construction/textproc/php-mecab/php-mecab-0.6.0/mecab -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c -fPIC -DPIC -o .libs/mecab7.o /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:157:1: warning: parameter names (without types) in function declaration php_mecab_ctor(TSRMLS_D); ^~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:161:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_dtor(php_mecab *mecab TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:165:57: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_set_string(php_mecab *mecab, zend_string *str TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:169:1: warning: parameter names (without types) in function declaration php_mecab_node_ctor(TSRMLS_D); ^~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:173:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_dtor(php_mecab_node *node TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:177:66: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_set_tagger(php_mecab_node *node, php_mecab *mecab TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:181:1: warning: parameter names (without types) in function declaration php_mecab_path_ctor(TSRMLS_D); ^~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:185:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_dtor(php_mecab_path *path TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:189:66: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_set_tagger(php_mecab_path *path, php_mecab *mecab TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:216:43: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_object_new(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:220:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_free_object_storage(zend_object *object TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:230:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_object_new(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:234:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_free_object_storage(zend_object *object TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:244:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_object_new(zend_class_entry *ce TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:248:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_free_object_storage(zend_object *object TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:258:46: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_get_class_entry(const char *lcname TSRMLS_DC); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zm_startup_mecab': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:523:56: error: expected ')' before 'TSRMLS_CC' ext_ce_Iterator = php_mecab_get_class_entry("iterator" TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:523:18: warning: assignment to 'zend_class_entry *' {aka 'struct _zend_class_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ext_ce_Iterator = php_mecab_get_class_entry("iterator" TSRMLS_CC); ^ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:524:74: error: expected ')' before 'TSRMLS_CC' ext_ce_IteratorAggregate = php_mecab_get_class_entry("iteratoraggregate" TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:524:27: warning: assignment to 'zend_class_entry *' {aka 'struct _zend_class_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ext_ce_IteratorAggregate = php_mecab_get_class_entry("iteratoraggregate" TSRMLS_CC); ^ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:525:84: error: expected ')' before 'TSRMLS_CC' ext_ce_BadMethodCallException = php_mecab_get_class_entry("badmethodcallexception" TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:525:32: warning: assignment to 'zend_class_entry *' {aka 'struct _zend_class_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ext_ce_BadMethodCallException = php_mecab_get_class_entry("badmethodcallexception" TSRMLS_CC); ^ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:526:88: error: expected ')' before 'TSRMLS_CC' ext_ce_InvalidArgumentException = php_mecab_get_class_entry("invalidargumentexception" TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:526:34: warning: assignment to 'zend_class_entry *' {aka 'struct _zend_class_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ext_ce_InvalidArgumentException = php_mecab_get_class_entry("invalidargumentexception" TSRMLS_CC); ^ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:527:78: error: expected ')' before 'TSRMLS_CC' ext_ce_OutOfRangeException = php_mecab_get_class_entry("outofrangeexception" TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:527:29: warning: assignment to 'zend_class_entry *' {aka 'struct _zend_class_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ext_ce_OutOfRangeException = php_mecab_get_class_entry("outofrangeexception" TSRMLS_CC); ^ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:544:36: note: each undeclared identifier is reported only once for each function it appears in /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:570:45: error: 'php_mecab_node_free_object_storage' undeclared (first use in this function); did you mean 'zend_objects_store_free_object_storage'? php_mecab_node_object_handlers.free_obj = php_mecab_node_free_object_storage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_free_object_storage /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:573:38: error: expected ')' before 'TSRMLS_CC' zend_class_implements(ce_MeCab_Node TSRMLS_CC, 1, ext_ce_IteratorAggregate); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:574:46: error: expected ')' before 'TSRMLS_CC' zend_class_implements(ce_MeCab_NodeIterator TSRMLS_CC, 1, ext_ce_Iterator); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:576:75: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "NOR", 3, MECAB_NOR_NODE TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:577:75: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "UNK", 3, MECAB_UNK_NODE TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:578:75: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "BOS", 3, MECAB_BOS_NODE TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:579:75: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "EOS", 3, MECAB_EOS_NODE TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:581:91: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "TRAVERSE_NEXT", 13, (long)TRAVERSE_NEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:582:93: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "TRAVERSE_ENEXT", 14, (long)TRAVERSE_ENEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:583:93: error: expected ')' before 'TSRMLS_CC' zend_declare_class_constant_long(ce_MeCab_Node, "TRAVERSE_BNEXT", 14, (long)TRAVERSE_BNEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:593:34: error: 'php_mecab_path_object_new' undeclared (first use in this function); did you mean 'php_mecab_path_object'? ce_MeCab_Path->create_object = php_mecab_path_object_new; ^~~~~~~~~~~~~~~~~~~~~~~~~ php_mecab_path_object /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:597:45: error: 'php_mecab_path_free_object_storage' undeclared (first use in this function); did you mean 'php_mecab_path_object_handlers'? php_mecab_path_object_handlers.free_obj = php_mecab_path_free_object_storage; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_mecab_path_object_handlers /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_ctor': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:645:1: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int] php_mecab_ctor(TSRMLS_D) ^~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: At top level: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:666:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_dtor(php_mecab *mecab TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:683:57: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_set_string(php_mecab *mecab, zend_string *str TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:700:43: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_object_new(zend_class_entry *ce TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:720:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_free_object_storage(zend_object *object TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_node_ctor': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:736:1: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int] php_mecab_node_ctor(TSRMLS_D) ^~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: At top level: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:756:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_dtor(php_mecab_node *node TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:769:66: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_set_tagger(php_mecab_node *node, php_mecab *mecab TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:787:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_object_new(zend_class_entry *ce TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:807:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_node_free_object_storage(zend_object *object TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_path_ctor': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:821:1: warning: type of 'TSRMLS_D' defaults to 'int' [-Wimplicit-int] php_mecab_path_ctor(TSRMLS_D) ^~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: At top level: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:841:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_dtor(php_mecab_path *path TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:854:66: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_set_tagger(php_mecab_path *path, php_mecab *mecab TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:872:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_object_new(zend_class_entry *ce TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:891:56: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_path_free_object_storage(zend_object *object TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_node_get_sibling_wrapper': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1105:64: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_sibling(return_value, getThis(), xnode, rel TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_node_get_path_wrapper': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1121:61: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_path(return_value, getThis(), xnode, rel TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_path_get_sibling_wrapper': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1137:64: error: expected ')' before 'TSRMLS_CC' php_mecab_path_get_sibling(return_value, getThis(), xpath, rel TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'php_mecab_path_get_node_wrapper': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1153:61: error: expected ')' before 'TSRMLS_CC' php_mecab_path_get_node(return_value, getThis(), xpath, rel TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: At top level: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1161:46: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_mecab_get_class_entry(const char *lcname TSRMLS_DC) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_split': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1364:59: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path(dicdir, dicdir_len, dicdir_ptr TSRMLS_CC)) { ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1365:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1375:62: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path(userdic, userdic_len, userdic_ptr TSRMLS_CC)) { ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1376:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1388:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(NULL)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1395:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_new': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1451:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!", &zoptions) == FAILURE) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1474:28: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option '%s' given", ZSTR_VAL(key)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1501:29: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1535:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE' PHP_MECAB_CHECK_FILE(MECAB_G(default_rcfile), rcfile_len); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1535:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE' PHP_MECAB_CHECK_FILE(MECAB_G(default_rcfile), rcfile_len); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1543:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE' PHP_MECAB_CHECK_FILE(MECAB_G(default_dicdir), dicdir_len); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1543:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE' PHP_MECAB_CHECK_FILE(MECAB_G(default_dicdir), dicdir_len); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1281:60: error: expected ')' before 'TSRMLS_CC' if (!php_mecab_check_path((path), (length), resolved_path TSRMLS_CC)) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1551:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE' PHP_MECAB_CHECK_FILE(MECAB_G(default_userdic), userdic_len); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1551:3: note: in expansion of macro 'PHP_MECAB_CHECK_FILE' PHP_MECAB_CHECK_FILE(MECAB_G(default_userdic), userdic_len); ^~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); \ ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1568:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(NULL)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1578:36: error: expected ')' before 'TSRMLS_CC' "MeCab already initialized", 0 TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_partial': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1606:1: error: expected ';' before '}' token } ^ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1620:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_partial) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_set_partial': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1630:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("b", &partial); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1630:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("b", &partial); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_partial': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1646:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_get_theta) ^~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_theta': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1656:1: error: expected ';' before '}' token } ^ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1670:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_theta) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_set_theta': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1680:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("d", &theta); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1680:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("d", &theta); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_theta': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1696:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_get_lattice_level) ^~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_lattice_level': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1706:1: error: expected ';' before '}' token } ^ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1720:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_lattice_level) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_set_lattice_level': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1730:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("l", &level); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1730:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("l", &level); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_lattice_level': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1746:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_get_all_morphs) ^~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1756:1: error: expected ';' before '}' token } ^ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1770:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_all_morphs) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_set_all_morphs': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1780:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("b", &all_morphs); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1780:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("b", &all_morphs); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1801:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_sparse_tostr) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_sparse_tostr': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1818:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("S|ll", &str, &len, &olen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1821:34: error: expected ')' before 'TSRMLS_CC' php_mecab_set_string(xmecab, str TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1833:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1858:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_sparse_tonode) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_sparse_tonode': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1874:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("S|l", &str, &len); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1877:34: error: expected ')' before 'TSRMLS_CC' php_mecab_set_string(xmecab, str TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1881:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1893:41: error: expected ')' before 'TSRMLS_CC' php_mecab_node_set_tagger(xnode, xmecab TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1912:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_sparse_tostr) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_nbest_sparse_tostr': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1930:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("lS|ll", &n, &str, &len, &olen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1933:34: error: expected ')' before 'TSRMLS_CC' php_mecab_set_string(xmecab, str TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1945:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1970:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_init) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_nbest_init': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1985:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("S|l", &str, &len); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1988:34: error: expected ')' before 'TSRMLS_CC' php_mecab_set_string(xmecab, str TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:1992:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2012:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_next_tostr) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_nbest_next_tostr': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:34:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2027:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("|l", &olen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2027:2: note: in expansion of macro 'PHP_MECAB_PARSE_PARAMETERS' PHP_MECAB_PARSE_PARAMETERS("|l", &olen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2043:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", what); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2068:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_next_tonode) ^~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_nbest_next_tonode': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2088:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", what); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...) ^~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2101:41: error: expected ')' before 'TSRMLS_CC' php_mecab_node_set_tagger(xnode, xmecab TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2120:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_format_node) ^~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_format_node': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2149:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2167:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_dictionary_info) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2218:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_toarray) ^~~~~~~~~~~~ In file included from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:32: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_node_toarray': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab_compat7.h:44:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, fmt, __VA_ARGS__) == FAILURE) { \ ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2229:2: note: in expansion of macro 'PHP_MECAB_NODE_PARSE_PARAMETERS' PHP_MECAB_NODE_PARSE_PARAMETERS("|b", &dump_all); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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) { \ ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:445:83: 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); ~~~~~~^~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:445:83: 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); ~~~~~~^~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:445:83: 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); ~~~~~~^~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:445:83: 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); ~~~~~~^~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:445:83: 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); ~~~~~~^~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:455: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) ^~~~~~~ /usr/local/include/php/Zend/zend_API.h:445:83: 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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2277:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_tostring) ^~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_node_tostring': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2294:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mecab_strerror(mecab)); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2314:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_prev) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2331:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_next) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2348:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_enext) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2365:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_bnext) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2382:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_rpath) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2399:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_lpath) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2415:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_surface) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2431:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_feature) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2447:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_id) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2463:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_length) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2479:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_rlength) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2495:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_rcattr) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2511:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_lcattr) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2529:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_posid) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2545:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_char_type) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2566:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_stat) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2582:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_isbest) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2598:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_alpha) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2614:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_beta) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2630:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_prob) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2646:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_wcost) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2662:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_cost) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2679:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_rnext) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2696:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_lnext) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2713:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_rnode) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2730:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_lnode) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2746:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_prob) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2762:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_cost) ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2783:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, __construct) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2802:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, __get) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_Node___get': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2814:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2825:68: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_sibling(return_value, object, xnode, NODE_PREV TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2829:68: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_sibling(return_value, object, xnode, NODE_NEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2833:69: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_sibling(return_value, object, xnode, NODE_ENEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2837:69: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_sibling(return_value, object, xnode, NODE_BNEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2841:66: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_path(return_value, object, xnode, NODE_RPATH TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2845:66: error: expected ')' before 'TSRMLS_CC' php_mecab_node_get_path(return_value, object, xnode, NODE_LPATH TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2866:24: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined property (%s)", name); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2883:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, __isset) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_Node___isset': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2894:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2945:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, getIterator) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_Node_getIterator': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2967:50: error: expected ')' before 'TSRMLS_CC' php_mecab_node_set_tagger(newnode, xnode->tagger TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2982:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, setTraverse) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_Node_setTraverse': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2990:88: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(EH_THROW, ext_ce_InvalidArgumentException, &error_handling TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2991:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &traverse) == FAILURE) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2992:46: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:2995:45: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3014:37: error: expected ')' before 'TSRMLS_CC' "Invalid traverse mdoe given", 0 TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3032:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, __construct) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3048:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, current) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_NodeIterator_current': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3072:50: error: expected ')' before 'TSRMLS_CC' php_mecab_node_set_tagger(newnode, xnode->tagger TSRMLS_CC); ^~~~~~~~~~ ) In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3087:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, key) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3119:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, next) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3163:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, rewind) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3188:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, valid) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3218:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Path, __construct) ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3237:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Path, __get) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_Path___get': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3249:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3260:69: error: expected ')' before 'TSRMLS_CC' php_mecab_path_get_sibling(return_value, object, xpath, PATH_RNEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3264:69: error: expected ')' before 'TSRMLS_CC' php_mecab_path_get_sibling(return_value, object, xpath, PATH_LNEXT TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3268:66: error: expected ')' before 'TSRMLS_CC' php_mecab_path_get_node(return_value, object, xpath, PATH_RNODE TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3272:66: error: expected ')' before 'TSRMLS_CC' php_mecab_path_get_node(return_value, object, xpath, PATH_LNODE TSRMLS_CC); ^~~~~~~~~~ ) /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3279:24: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined property (%s)", name); ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3296:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Path, __isset) ^~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zim_MeCab_Path___isset': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3307:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &zname) == FAILURE) { ^~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/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 /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /usr/local/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, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_all_morphs': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3327:1: error: expected declaration or statement at end of input } ^ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_lattice_level': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3327:1: error: expected declaration or statement at end of input /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_theta': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3327:1: error: expected declaration or statement at end of input /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: In function 'zif_mecab_get_partial': /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:3327:1: error: expected declaration or statement at end of input In file included from /usr/local/include/php/main/php.h:35, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/php_mecab.h:42, from /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:31: /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c: At top level: /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:79:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_partial); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:80:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_get_theta); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:81:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_theta); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:82:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_get_lattice_level); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:83:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_lattice_level); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:84:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_get_all_morphs); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:85:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_set_all_morphs); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:86:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_sparse_tostr); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:87:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_sparse_tonode); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:88:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_sparse_tostr); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:89:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_init); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:90:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_next_tostr); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:91:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_nbest_next_tonode); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:92:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_format_node); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:93:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_dictionary_info); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:95:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_toarray); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:96:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_tostring); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:98:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_prev); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:99:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_next); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:100:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_enext); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:101:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_bnext); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:102:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_rpath); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:103:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_lpath); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:104:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_surface); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:105:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_feature); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:106:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_id); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:107:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_length); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:108:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_rlength); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:109:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_rcattr); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:110:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_lcattr); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:111:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_posid); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:112:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_char_type); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:113:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_stat); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:114:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_isbest); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:115:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_alpha); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:116:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_beta); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:117:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_prob); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:118:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_wcost); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:119:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_node_cost); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:121:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_rnext); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:122:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_lnext); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:123:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_rnode); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:124:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_lnode); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:125:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_prob); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:379:24: note: in expansion of macro 'ZEND_FUNCTION' #define PHP_FUNCTION ZEND_FUNCTION ^~~~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:126:8: note: in expansion of macro 'PHP_FUNCTION' static PHP_FUNCTION(mecab_path_cost); ^~~~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:132:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, __construct); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:133:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Path, __construct); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:135:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, __get); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:136:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, __isset); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:138:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, getIterator); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:139:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Node, setTraverse); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:141:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, __construct); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:142:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, current); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:143:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, key); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:144:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, valid); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:145:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, rewind); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:146:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_NodeIterator, next); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:148:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Path, __get); ^~~~~~~~~~ /usr/local/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) ^~~~ /usr/local/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) ^~~~ /usr/local/include/php/main/php.h:380:24: note: in expansion of macro 'ZEND_METHOD' #define PHP_METHOD ZEND_METHOD ^~~~~~~~~~~ /construction/textproc/php-mecab/php-mecab-0.6.0/mecab/mecab7.c:149:8: note: in expansion of macro 'PHP_METHOD' static PHP_METHOD(MeCab_Path, __isset); ^~~~~~~~~~ *** [mecab7.lo] Error code 1 make[1]: stopped in /construction/textproc/php-mecab/php-mecab-0.6.0/mecab 1 error make[1]: stopped in /construction/textproc/php-mecab/php-mecab-0.6.0/mecab ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/textproc/php-mecab FAILED 00:00:01