------------------------------------------------------------------------------- -- 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/gettext-runtime-0.21.txz Installing /packages/All/libgpg-error-1.39.txz Installing /packages/All/libassuan-2.5.4.txz Installing /packages/All/libgcrypt-1.8.7.txz Installing /packages/All/libksba-1.4.0.txz Installing /packages/All/npth-1.6.txz Installing /packages/All/gmp-6.2.0.txz Installing /packages/All/nettle-3.6.txz Installing /packages/All/libtasn1-4.16.0.txz Installing /packages/All/libunistring-0.9.10_1.txz Installing /packages/All/libidn2-2.3.0_1.txz Installing /packages/All/libffi-3.3_1.txz Installing /packages/All/pcre-8.44.txz Installing /packages/All/libiconv-1.16.txz Installing /packages/All/expat-2.2.8.txz Installing /packages/All/ncurses-6.2.20201017.txz Installing /packages/All/readline-8.0.4.txz Installing /packages/All/openssl-1.1.1h_1,1.txz Installing /packages/All/python37-3.7.9_1.txz ===== Message from python37-3.7.9_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 Installing /packages/All/glib-2.66.2,1.txz No schema files found: doing nothing. Installing /packages/All/ca_root_nss-3.58.txz ===== Message from ca_root_nss-3.58: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/bash-5.0.18_3.txz Installing /packages/All/bash-completion-2.11,2.txz ===== Message from bash-completion-2.11,2: -- To enable the bash completion library, add the following to your .bashrc file: [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ source /usr/local/share/bash-completion/bash_completion.sh See /usr/local/share/doc/bash-completion/README.md for more information. Installing /packages/All/p11-kit-0.23.21.txz Installing /packages/All/tpm-emulator-0.7.4_2.txz ===> Creating groups. Creating group '_tss' with gid '601'. ===> Creating users Creating user '_tss' with uid '601'. Installing /packages/All/trousers-0.3.14_3.txz ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. ===== Message from trousers-0.3.14_3: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account Installing /packages/All/gnutls-3.6.15.txz Installing /packages/All/libedit-3.1.20191231,1.txz Installing /packages/All/sqlite3-3.33.0,1.txz Installing /packages/All/pinentry-tty-1.1.0.txz Installing /packages/All/pinentry-1.1.0_6.txz Installing /packages/All/gnupg-2.2.23.txz ===== Message from gnupg-2.2.23: -- GnuPG, when run on hosts without IPv6 connectivity, may fail to connect to dual-stack hkp servers [1]. As a workaround, add disable-ipv6 to /usr/local/etc/dirmngr.conf [1] https://dev.gnupg.org/rGecfc4db3a2f8bc2652ba4ac4de5ca1cd13bfcbec Installing /packages/All/gpgme-1.14.0.txz SUCCEEDED 00:00:43 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-gnupg-1.4.0_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-gnupg-1.4.0_1 for building => SHA256 Checksum OK for PECL/gnupg-1.4.0.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-gnupg-1.4.0_1 for building ===> Extracting for php80-pecl-gnupg-1.4.0_1 => SHA256 Checksum OK for PECL/gnupg-1.4.0.tgz. Extracted Memory Use: 0.24M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-pecl-gnupg-1.4.0_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-gnupg-1.4.0_1 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on shared library: libgpgme.so - found (/usr/local/lib/libgpgme.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-pecl-gnupg-1.4.0_1 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-gnupg-1.4.0_1 depends on package: autoconf>0 - found ===> php80-pecl-gnupg-1.4.0_1 depends on shared library: libgpgme.so - found (/usr/local/lib/libgpgme.so) ===> PHPizing for php80-pecl-gnupg-1.4.0_1 ===> Configuring for php80-pecl-gnupg-1.4.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 for gnupg support... yes, shared checking for gpgme_check_version in -lgpgme... yes checking for gpg... /usr/local/bin/gpg 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:08 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-pecl-gnupg-1.4.0_1 --- gnupg.lo --- --- gnupg_keylistiterator.lo --- --- gnupg.lo --- /bin/sh /construction/security/pecl-gnupg/gnupg-1.4.0/libtool --mode=compile cc -I. -I/construction/security/pecl-gnupg/gnupg-1.4.0 -I/construction/security/pecl-gnupg/gnupg-1.4.0/include -I/construction/security/pecl-gnupg/gnupg-1.4.0/main -I/construction/security/pecl-gnupg/gnupg-1.4.0 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -c /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c -o gnupg.lo --- gnupg_keylistiterator.lo --- /bin/sh /construction/security/pecl-gnupg/gnupg-1.4.0/libtool --mode=compile cc -I. -I/construction/security/pecl-gnupg/gnupg-1.4.0 -I/construction/security/pecl-gnupg/gnupg-1.4.0/include -I/construction/security/pecl-gnupg/gnupg-1.4.0/main -I/construction/security/pecl-gnupg/gnupg-1.4.0 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -c /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c -o gnupg_keylistiterator.lo --- gnupg.lo --- mkdir .libs cc -I. -I/construction/security/pecl-gnupg/gnupg-1.4.0 -I/construction/security/pecl-gnupg/gnupg-1.4.0/include -I/construction/security/pecl-gnupg/gnupg-1.4.0/main -I/construction/security/pecl-gnupg/gnupg-1.4.0 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -c /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c -fPIC -DPIC -o .libs/gnupg.o --- gnupg_keylistiterator.lo --- cc -I. -I/construction/security/pecl-gnupg/gnupg-1.4.0 -I/construction/security/pecl-gnupg/gnupg-1.4.0/include -I/construction/security/pecl-gnupg/gnupg-1.4.0/main -I/construction/security/pecl-gnupg/gnupg-1.4.0 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -c /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c -fPIC -DPIC -o .libs/gnupg_keylistiterator.o /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function '_gnupg_keylistiterator_init': --- gnupg.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:79:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void gnupg_free_encryptkeys(PHPC_THIS_DECLARE(gnupg) TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:99:62: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void gnupg_free_resource_ptr(PHPC_THIS_DECLARE(gnupg) TSRMLS_DC) ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:119:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void gnupg_res_dtor(phpc_res_entry_t *rsrc TSRMLS_DC) /* {{{ */ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:128:53: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void gnupg_res_init(PHPC_THIS_DECLARE(gnupg) TSRMLS_DC) ^~~~~~~~~ --- gnupg_keylistiterator.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:113:57: error: expected ')' before 'TSRMLS_CC' zend_class_implements(gnupg_keylistiterator_class_entry TSRMLS_CC, 1, zend_ce_iterator); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:113:2: error: too few arguments to function 'zend_class_implements' zend_class_implements(gnupg_keylistiterator_class_entry TSRMLS_CC, 1, zend_ce_iterator); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function 'zim_gnupg_keylistiterator___construct': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:131:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:131:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:134:33: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(args TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:134:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(args TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function 'zim_gnupg_keylistiterator_current': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:145:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:145:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function 'zim_gnupg_keylistiterator_key': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:154:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:154:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function 'zim_gnupg_keylistiterator_next': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:163:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:163:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ --- gnupg.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'gnupg__free': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:160:2: warning: implicit declaration of function 'gnupg_free_resource_ptr'; did you mean 'gpg_err_source'? [-Wimplicit-function-declaration] gnupg_free_resource_ptr(PHPC_THIS TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~ gpg_err_source /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:160:36: error: expected ')' before 'TSRMLS_CC' gnupg_free_resource_ptr(PHPC_THIS TSRMLS_CC); ^~~~~~~~~ --- gnupg_keylistiterator.lo --- In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function 'zim_gnupg_keylistiterator_rewind': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:180:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:180:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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, ...) ^~~~~~~~~~~~~~~~ --- gnupg.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'gnupg__create_ex': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:170:2: warning: implicit declaration of function 'gnupg_res_init'; did you mean 'gpg_err_init'? [-Wimplicit-function-declaration] gnupg_res_init(PHPC_THIS TSRMLS_CC); ^~~~~~~~~~~~~~ gpg_err_init /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:170:27: error: expected ')' before 'TSRMLS_CC' gnupg_res_init(PHPC_THIS TSRMLS_CC); ^~~~~~~~~ --- gnupg_keylistiterator.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:184:51: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char *)gpg_strerror(PHPC_THIS->err), 1 TSRMLS_CC); ^~~~~~~~ TSRM_H /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:184:51: note: each undeclared identifier is reported only once for each function it appears in --- gnupg.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: At top level: /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:293:83: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline void gnupg_declare_long_constant(const char *const_name, long value TSRMLS_DC) ^~~~~~~~~ --- gnupg_keylistiterator.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:184:24: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char *)gpg_strerror(PHPC_THIS->err), 1 TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:25: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:184:101: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char *)gpg_strerror(PHPC_THIS->err), 1 TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c: In function 'zim_gnupg_keylistiterator_valid': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:196:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:44:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:196:2: note: in expansion of macro 'GNUPG_GET_ITERATOR' GNUPG_GET_ITERATOR(); ^~~~~~~~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg_keylistiterator.c:21: /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, ...) ^~~~~~~~~~~~~~~~ --- gnupg.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zm_startup_gnupg': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:314:47: error: 'gnupg_res_dtor' undeclared (first use in this function); did you mean 'gnupg_methods'? le_gnupg = zend_register_list_destructors_ex(gnupg_res_dtor, NULL, "ctx", module_number); ^~~~~~~~~~~~~~ gnupg_methods /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:314:47: note: each undeclared identifier is reported only once for each function it appears in /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:319:2: warning: implicit declaration of function 'gnupg_declare_long_constant'; did you mean 'zend_declare_class_constant'? [-Wimplicit-function-declaration] gnupg_declare_long_constant("SIG_MODE_NORMAL", GPGME_SIG_MODE_NORMAL TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_declare_class_constant /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:319:81: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIG_MODE_NORMAL", GPGME_SIG_MODE_NORMAL TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:320:81: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIG_MODE_DETACH", GPGME_SIG_MODE_DETACH TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:321:80: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIG_MODE_CLEAR", GPGME_SIG_MODE_CLEAR TSRMLS_CC); ^~~~~~~~~~ ) --- gnupg_keylistiterator.lo --- *** [gnupg_keylistiterator.lo] Error code 1 make[1]: stopped in /construction/security/pecl-gnupg/gnupg-1.4.0 --- gnupg.lo --- /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:322:82: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("VALIDITY_UNKNOWN", GPGME_VALIDITY_UNKNOWN TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:323:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("VALIDITY_UNDEFINED", GPGME_VALIDITY_UNDEFINED TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:324:80: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("VALIDITY_NEVER", GPGME_VALIDITY_NEVER TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:325:83: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("VALIDITY_MARGINAL", GPGME_VALIDITY_MARGINAL TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:326:79: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("VALIDITY_FULL", GPGME_VALIDITY_FULL TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:327:83: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("VALIDITY_ULTIMATE", GPGME_VALIDITY_ULTIMATE TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:328:82: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("PROTOCOL_OpenPGP", GPGME_PROTOCOL_OpenPGP TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:329:78: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("PROTOCOL_CMS", GPGME_PROTOCOL_CMS TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:330:78: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_VALID", GPGME_SIGSUM_VALID TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:331:78: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_GREEN", GPGME_SIGSUM_GREEN TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:332:76: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_RED", GPGME_SIGSUM_RED TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:333:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_KEY_REVOKED", GPGME_SIGSUM_KEY_REVOKED TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:334:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_KEY_EXPIRED", GPGME_SIGSUM_KEY_EXPIRED TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:335:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_SIG_EXPIRED", GPGME_SIGSUM_SIG_EXPIRED TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:336:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_KEY_MISSING", GPGME_SIGSUM_KEY_MISSING TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:337:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_CRL_MISSING", GPGME_SIGSUM_CRL_MISSING TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:338:84: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_CRL_TOO_OLD", GPGME_SIGSUM_CRL_TOO_OLD TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:339:83: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_BAD_POLICY", GPGME_SIGSUM_BAD_POLICY TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:340:82: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("SIGSUM_SYS_ERROR", GPGME_SIGSUM_SYS_ERROR TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:341:61: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("ERROR_WARNING", 1 TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:342:61: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("ERROR_EXCEPTION", 2 TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:343:61: error: expected ')' before 'TSRMLS_CC' gnupg_declare_long_constant("ERROR_SILENT", 3 TSRMLS_CC); ^~~~~~~~~~ ) /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'passphrase_cb': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:407:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration] TSRMLS_FETCH(); ^~~~~~~~~~~~ TSRMLS_CACHE /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:410:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:418:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:418:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:418:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:418:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:418:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:418:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:422:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:422:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:422:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:422:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:422:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:422:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:429:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:429:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:429:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:429:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:429:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:429:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'passphrase_decrypt_cb': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:448:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Incorrent passphrase"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:456:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:456:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:456:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:456:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:456:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:456:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:460:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:460:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:460:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:460:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:460:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:460:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no passphrase set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:466:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:466:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:466:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:466:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:466:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:466:2: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("write failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_init': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:500:27: error: expected ')' before 'TSRMLS_CC' gnupg_res_init(PHPC_THIS TSRMLS_CC); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_setarmor': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:514:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:514:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:517:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &armor) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:517:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &armor) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:521:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &res, &armor) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:521:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &res, &armor) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_seterrormode': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:541:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:541:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:544:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &errormode) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:544:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &errormode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:548:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &res, &errormode) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:548:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &res, &errormode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:563:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid errormode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_setsignmode': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:576:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:576:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:579:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &signmode) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:579:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &signmode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:583:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &res, &signmode) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:583:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &res, &signmode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:596:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signmode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_geterror': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:609:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:609:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:612:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:612:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_keyinfo': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:647:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:647:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:650:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:650:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:654:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:654:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:660:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not init keylist"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_addsignkey': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:745:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:745:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:748:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:748:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:752:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|s", &res, &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:752:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|s", &res, &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:758:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:771:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not add signer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:771:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not add signer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:771:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not add signer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:771:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not add signer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:771:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not add signer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:771:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not add signer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_adddecryptkey': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:789:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:789:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:792:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:792:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:796:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &res, &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:796:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &res, &key_id, &key_id_len, &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:802:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_addencryptkey': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:824:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:824:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:827:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key_id, &key_id_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:827:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key_id, &key_id_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:831:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &key_id, &key_id_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:831:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &key_id, &key_id_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:838:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_clearsignkeys': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:854:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:854:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:857:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:857:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_clearencryptkeys': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:874:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:874:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:877:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:877:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:882:2: warning: implicit declaration of function 'gnupg_free_encryptkeys'; did you mean 'zif_gnupg_clearencryptkeys'? [-Wimplicit-function-declaration] gnupg_free_encryptkeys(PHPC_THIS TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~ zif_gnupg_clearencryptkeys /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:882:35: error: expected ')' before 'TSRMLS_CC' gnupg_free_encryptkeys(PHPC_THIS TSRMLS_CC); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_cleardecryptkeys': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:893:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:893:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:896:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:896:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &res) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_sign': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:921:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:921:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:924:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:924:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:928:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &value, &value_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:928:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:936:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:940:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:940:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:940:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:940:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:940:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:940:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:946:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("data signing failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:946:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("data signing failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:946:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("data signing failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:946:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("data signing failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:946:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("data signing failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:946:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("data signing failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:955:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:955:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:955:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:955:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:955:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:955:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:961:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature in result"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:961:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature in result"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:961:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature in result"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:961:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature in result"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:961:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature in result"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:961:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature in result"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_encrypt': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:991:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:991:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:994:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:994:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:998:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &value, &value_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:998:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1004:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1008:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could no create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1008:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could no create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1008:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could no create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1008:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could no create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1008:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could no create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1008:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could no create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1012:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1012:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1012:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1012:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1012:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1012:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1017:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1017:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1017:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1017:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1017:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1017:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1024:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1024:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1024:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1024:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1024:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1024:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_encryptsign': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1053:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1053:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1056:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1056:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1060:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &value, &value_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1060:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1067:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no key for encryption set"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1072:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1072:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1072:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1072:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1072:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1072:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1076:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1076:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1076:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1076:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1076:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1076:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1082:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt-sign failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1082:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt-sign failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1082:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt-sign failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1082:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt-sign failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1082:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt-sign failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1082:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("encrypt-sign failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1092:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1092:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1092:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1092:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1092:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1092:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("Invalid recipient encountered"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1100:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1100:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1100:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1100:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1100:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1100:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("invalid signers found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1106:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not find a signature"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1106:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not find a signature"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1106:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not find a signature"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1106:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not find a signature"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1106:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not find a signature"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1106:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not find a signature"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_verify': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1138:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1138:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1141:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|z", &signed_text, &signature, &plain_text) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1141:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|z", &signed_text, &signature, &plain_text) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1145:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rzz|z", &res, &signed_text, &signature, &plain_text) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1145:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rzz|z", &res, &signed_text, &signature, &plain_text) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1153:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1158:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1158:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1158:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1158:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1158:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1158:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1165:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1165:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1165:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1165:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1165:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1165:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1172:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1172:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1172:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1172:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1172:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1172:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create signature-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1177:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1177:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1177:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1177:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1177:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1177:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create text-databuffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1184:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1184:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1184:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1184:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1184:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1184:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1193:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1193:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1193:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1193:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1193:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1193:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_decrypt': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1221:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1221:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1224:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &enctxt, &enctxt_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1224:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &enctxt, &enctxt_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1228:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &enctxt, &enctxt_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1228:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &enctxt, &enctxt_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1237:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1240:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1240:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1240:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1240:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1240:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1240:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1246:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1246:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1246:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1246:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1246:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1246:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1255:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1255:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1255:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1255:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1255:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1255:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_decryptverify': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1284:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1284:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1287:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &enctxt, &enctxt_len, &plaintext) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1287:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &enctxt, &enctxt_len, &plaintext) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1291:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsz", &res, &enctxt, &enctxt_len, &plaintext) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1291:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsz", &res, &enctxt, &enctxt_len, &plaintext) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1301:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1304:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1304:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1304:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1304:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1304:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1304:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create out-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1310:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt-verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1310:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt-verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1310:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt-verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1310:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt-verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1310:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt-verify failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1310:4: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("decrypt-verify failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1322:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1322:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1322:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1322:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1322:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1322:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("unsupported algorithm"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1328:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1328:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1328:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1328:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1328:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1328:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no signature found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_export': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1348:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1348:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1351:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1351:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1355:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1355:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &searchkey, &searchkey_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1361:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1365:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("export failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1365:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("export failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1365:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("export failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1365:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("export failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1365:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("export failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1365:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("export failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_import': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1389:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1389:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1392:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &importkey, &importkey_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1392:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &importkey, &importkey_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &importkey, &importkey_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &importkey, &importkey_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1402:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not create in-data buffer"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1406:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("import failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1406:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("import failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1406:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("import failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1406:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("import failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1406:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("import failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1406:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("import failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_deletekey': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1441:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1441:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1444:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &key, &key_len, &allow_secret) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1444:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &key, &key_len, &allow_secret) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1448:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &res, &key, &key_len, &allow_secret) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1448:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &res, &key, &key_len, &allow_secret) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1455:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1459:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("delete failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1459:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("delete failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1459:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("delete failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1459:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("delete failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1459:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("delete failed"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1459:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("delete failed"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_gettrustlist': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1478:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1478:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1481:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1481:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1485:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1485:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1491:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not start trustlist"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c: In function 'zif_gnupg_listsignatures': /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1524:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:45:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid or unitialized gnupg object"); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1524:2: note: in expansion of macro 'GNUPG_GETOBJ' GNUPG_GETOBJ(); ^~~~~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1527:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &keyid, &keyid_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1527:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &keyid, &keyid_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1531:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &keyid, &keyid_len) == FAILURE) { ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1531:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &res, &keyid, &keyid_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:53: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1537:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("could not switch to sigmode"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1541:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed. given key not unique?"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1541:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed. given key not unique?"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1541:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed. given key not unique?"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1541:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed. given key not unique?"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1541:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed. given key not unique?"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1541:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("get_key failed. given key not unique?"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1545:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no uids found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:60:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1545:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no uids found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:26: error: too many arguments to function 'zend_exception_get_default' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1545:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no uids found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:23: /usr/local/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:63:81: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(zend_exception_get_default(TSRMLS_C), (char*) error, 0 TSRMLS_CC); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1545:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no uids found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1545:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no uids found"); ^~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:69:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, (char*)error); \ ^~~~~~~~~~~~~~~~ /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:1545:3: note: in expansion of macro 'GNUPG_ERR' GNUPG_ERR("no uids found"); ^~~~~~~~~ In file included from /construction/security/pecl-gnupg/gnupg-1.4.0/gnupg.c:21: /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, ...) ^~~~~~~~~~~~~~~~ *** [gnupg.lo] Error code 1 make[1]: stopped in /construction/security/pecl-gnupg/gnupg-1.4.0 2 errors make[1]: stopped in /construction/security/pecl-gnupg/gnupg-1.4.0 ===> 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/security/pecl-gnupg FAILED 00:00:02