------------------------------------------------------------------------------- -- 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/libfastcommon-1.0.43.txz Installing /packages/All/fastdfs-6.0.6.txz ===> Creating groups. Creating group '_fastdfs' with gid '313'. ===> Creating users Creating user '_fastdfs' with uid '313'. SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-fastdfs-6.0.6 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-fastdfs-6.0.6 for building => SHA256 Checksum OK for happyfish100-fastdfs-6.0.6-V6.06_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-fastdfs-6.0.6 for building ===> Extracting for php80-fastdfs-6.0.6 => SHA256 Checksum OK for happyfish100-fastdfs-6.0.6-V6.06_GH0.tar.gz. Extracted Memory Use: 3.09M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-fastdfs-6.0.6 ===> Applying ports patches for php80-fastdfs-6.0.6 from /xports/ftp/php-fastdfs/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on file: /usr/local/bin/phpize - found ===> php80-fastdfs-6.0.6 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on shared library: libfastcommon.so - found (/usr/local/lib/libfastcommon.so) ===> php80-fastdfs-6.0.6 depends on shared library: libfdfsclient.so - found (/usr/local/lib/libfdfsclient.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-fastdfs-6.0.6 depends on file: /usr/local/bin/phpize - found ===> php80-fastdfs-6.0.6 depends on package: autoconf>0 - found ===> php80-fastdfs-6.0.6 depends on shared library: libfastcommon.so - found (/usr/local/lib/libfastcommon.so) ===> php80-fastdfs-6.0.6 depends on shared library: libfdfsclient.so - found (/usr/local/lib/libfdfsclient.so) ===> PHPizing for php80-fastdfs-6.0.6 ===> Configuring for php80-fastdfs-6.0.6 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 for fastdfs_client support FastDFS client... yes, shared 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 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 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-fastdfs-6.0.6 --- fastdfs_client.lo --- /bin/sh /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/libtool --mode=compile cc -I. -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client/include -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client/main -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client -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 -Wall -c /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c -o fastdfs_client.lo mkdir .libs cc -I. -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client/include -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client/main -I/construction/ftp/php-fastdfs/fastdfs-6.06/php_client -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 -Wall -c /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c -fPIC -DPIC -o .libs/fastdfs_client.o In file included from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /usr/local/include/fastcommon/php7_ext_wrapper.h:202:45: error: expected ';', ',' or ')' before 'TSRMLS_DC' uint32_t param_count, zval **params TSRMLS_DC) ^~~~~~~~~ In file included from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:17: /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.h:96:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_FASTDFS_API zend_class_entry *php_fdfs_get_exception_base(int root TSRMLS_DC); ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_connect_server_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:413:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:413:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_disconnect_server_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:463:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:463:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fastdfs_active_test_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:660:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:660:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_tracker_list_groups_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:724:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:724:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_tracker_query_storage_store_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1156:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1156:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_tracker_query_storage_store_list_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1266:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1266:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_tracker_do_query_storage_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1405:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1405:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1403:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1429:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|a", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1429:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|a", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1364:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1363:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_tracker_delete_storage_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1512:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1512:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_delete_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1597:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1597:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1595:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1622:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|aa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1622:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|aa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1551:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1550:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_truncate_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1757:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1757:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1755:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1783:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1783:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1710:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1709:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_download_file_to_callback_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1926:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1926:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1924:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1952:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssa|llaa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1952:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssa|llaa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1873:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1872:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_download_file_to_buff_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2105:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|llaa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2105:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|llaa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2103:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2130:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|llaa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2130:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|llaa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2054:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2053:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_download_file_to_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2274:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|llaa",\ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2274:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|llaa",\ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2272:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2300:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|llaa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2300:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|llaa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2223:14: warning: unused variable 'local_file_nlen' [-Wunused-variable] zend_size_t local_file_nlen; ^~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2222:14: warning: unused variable 'remote_file_nlen' [-Wunused-variable] zend_size_t remote_file_nlen; ^~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2221:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_get_metadata_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2442:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2442:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2440:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2467:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|aa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2467:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|aa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2392:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2391:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_file_exist_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2613:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2613:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2611:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2638:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|aa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2638:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|aa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2567:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2566:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_tracker_query_storage_list_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2769:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2769:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|a", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2767:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2793:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|a", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2793:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|a", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2724:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2723:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_upload_callback': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2874:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration] TSRMLS_FETCH(); ^~~~~~~~~~~~ TSRMLS_CACHE /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2892:6: warning: implicit declaration of function 'zend_call_user_function_wrapper'; did you mean '_call_user_function_impl'? [-Wimplicit-function-declaration] if (zend_call_user_function_wrapper(EG(function_table), NULL, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _call_user_function_impl /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2894:16: error: expected ')' before 'TSRMLS_CC' &ret, 2, args TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_download_callback': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:2964:16: error: expected ')' before 'TSRMLS_CC' &ret, 3, args TSRMLS_CC) == FAILURE) ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_upload_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3050:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3050:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3057:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3057:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_upload_slave_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3356:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3356:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3364:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3364:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3352:15: warning: unused variable 'master_file_id_len' [-Wunused-variable] zend_size_t master_file_id_len; ^~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3397:51: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3397:13: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3406:51: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3406:13: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3310:14: warning: unused variable 'prefix_name_len' [-Wunused-variable] zend_size_t prefix_name_len; ^~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3309:14: warning: unused variable 'master_filename_len' [-Wunused-variable] zend_size_t master_filename_len; ^~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3308:14: warning: unused variable 'group_name_len' [-Wunused-variable] zend_size_t group_name_len; ^~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_append_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3659:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3659:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3665:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3665:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3655:15: warning: unused variable 'appender_file_id_len' [-Wunused-variable] zend_size_t appender_file_id_len; ^~~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3698:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3698:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3705:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3705:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3618:14: warning: unused variable 'appender_filename_len' [-Wunused-variable] zend_size_t appender_filename_len; ^~~~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3617:14: warning: unused variable 'group_name_len' [-Wunused-variable] zend_size_t group_name_len; ^~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_modify_file_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3888:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3888:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3895:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3895:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3884:15: warning: unused variable 'appender_file_id_len' [-Wunused-variable] zend_size_t appender_file_id_len; ^~~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3928:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3928:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3936:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3936:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3846:14: warning: unused variable 'appender_filename_len' [-Wunused-variable] zend_size_t appender_filename_len; ^~~~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:3845:14: warning: unused variable 'group_name_len' [-Wunused-variable] zend_size_t group_name_len; ^~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_regenerate_appender_filename_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4113:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4113:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4111:15: warning: unused variable 'appender_file_id_len' [-Wunused-variable] zend_size_t appender_file_id_len; ^~~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4142:50: error: expected ')' before 'TSRMLS_CC' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4142:12: error: too few arguments to function 'zend_parse_parameters' result = zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4077:14: warning: unused variable 'appender_filename_len' [-Wunused-variable] zend_size_t appender_filename_len; ^~~~~~~~~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4076:14: warning: unused variable 'group_name_len' [-Wunused-variable] zend_size_t group_name_len; ^~~~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_storage_set_metadata_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4302:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa|saa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4302:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa|saa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4300:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4327:49: error: expected ')' before 'TSRMLS_CC' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssa|saa", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4327:11: error: too few arguments to function 'zend_parse_parameters' else if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssa|saa", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4252:14: warning: variable 'op_type_len' set but not used [-Wunused-but-set-variable] zend_size_t op_type_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4251:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4250:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_http_gen_token_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4471:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4471:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4457:14: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_send_data_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4509:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4509:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_get_file_info_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4565:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4565:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4563:15: warning: unused variable 'file_id_len' [-Wunused-variable] zend_size_t file_id_len; ^~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4591:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4591:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4535:14: warning: unused variable 'filename_len' [-Wunused-variable] zend_size_t filename_len; ^~~~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4534:14: warning: unused variable 'group_nlen' [-Wunused-variable] zend_size_t group_nlen; ^~~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_gen_slave_filename_impl': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4658:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:4658:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: At top level: /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:5566:46: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void php_fdfs_close(php_fdfs_t *i_obj TSRMLS_DC) ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:5579:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void php_fdfs_destroy(php_fdfs_t *i_obj TSRMLS_DC) ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'zim_FastDFS___construct': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:5602:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lb", \ ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:5602:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lb", \ ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /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/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'zim_FastDFS_close': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:6781:2: warning: implicit declaration of function 'php_fdfs_close'; did you mean 'php_fdfs_get_ce'? [-Wimplicit-function-declaration] php_fdfs_close(i_obj TSRMLS_CC); ^~~~~~~~~~~~~~ php_fdfs_get_ce /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:6781:22: error: expected ')' before 'TSRMLS_CC' php_fdfs_close(i_obj TSRMLS_CC); ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_free_storage': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7392:33: error: expected ')' before 'TSRMLS_CC' zend_object_std_dtor(&i_obj->zo TSRMLS_CC); ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7393:2: warning: implicit declaration of function 'php_fdfs_destroy'; did you mean 'php_fdfs_get_ce'? [-Wimplicit-function-declaration] php_fdfs_destroy(i_obj TSRMLS_CC); ^~~~~~~~~~~~~~~~ php_fdfs_get_ce /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7393:24: error: expected ')' before 'TSRMLS_CC' php_fdfs_destroy(i_obj TSRMLS_CC); ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'php_fdfs_new': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7422:37: error: expected ')' before 'TSRMLS_CC' zend_object_std_init(&i_obj->zo, ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: At top level: /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7440:72: error: expected ';', ',' or ')' before 'TSRMLS_DC' PHP_FASTDFS_API zend_class_entry *php_fdfs_get_exception_base(int root TSRMLS_DC) ^~~~~~~~~ /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c: In function 'zm_startup_fastdfs_client': /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7763:44: error: expected ')' before 'TSRMLS_CC' fdfs_ce = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7772:3: warning: implicit declaration of function 'php_fdfs_get_exception_base'; did you mean 'php_fdfs_get_exception'? [-Wimplicit-function-declaration] php_fdfs_get_exception_base(0 TSRMLS_CC)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ php_fdfs_get_exception /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7772:32: error: expected ')' before 'TSRMLS_CC' php_fdfs_get_exception_base(0 TSRMLS_CC)); ^~~~~~~~~~ ) /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:7772:3: warning: passing argument 2 of 'zend_register_internal_class_ex' makes pointer from integer without a cast [-Wint-conversion] php_fdfs_get_exception_base(0 TSRMLS_CC)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /usr/local/include/fastcommon/php7_ext_wrapper.h:13, from /construction/ftp/php-fastdfs/fastdfs-6.06/php_client/fastdfs_client.c:1: /usr/local/include/php/Zend/zend_API.h:333:28: note: expected 'zend_class_entry *' {aka 'struct _zend_class_entry *'} but argument is of type 'int' ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [fastdfs_client.lo] Error code 1 make[1]: stopped in /construction/ftp/php-fastdfs/fastdfs-6.06/php_client 1 error make[1]: stopped in /construction/ftp/php-fastdfs/fastdfs-6.06/php_client ===> 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/ftp/php-fastdfs FAILED 00:00:01