php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71247 When installing geoip via pecl it fails during compilation
Submitted: 2015-12-30 17:12 UTC Modified: 2016-08-19 00:33 UTC
Votes:7
Avg. Score:4.4 ± 0.7
Reproduced:7 of 7 (100.0%)
Same Version:6 (85.7%)
Same OS:2 (28.6%)
From: sysop at otspr dot net Assigned: ohill (profile)
Status: Closed Package: geoip (PECL)
PHP Version: 7.0.1 OS: Debian 8.2 Jessie
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sysop at otspr dot net
New email:
PHP Version: OS:

 

 [2015-12-30 17:12 UTC] sysop at otspr dot net
Description:
------------
geoip fails to compile when installing via pecl

Test script:
---------------
pecl install geoip

Actual result:
--------------
tadmin@rapp1:~$ sudo pecl install geoip
downloading geoip-1.0.8.tgz ...
Starting to download geoip-1.0.8.tgz (10,061 bytes)
.....done: 10,061 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /tmp/pear/install/pear-build-rootfHK4Eq/geoip-1.0.8
running: /tmp/pear/install/geoip/configure --with-php-config=/usr/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20151012
checking for PHP installed headers prefix... /usr/include/php/20151012
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for geoip support... yes, shared
checking for geoip files in default path... found in /usr
checking for GeoIP_open in -lGeoIP... yes
checking for GeoIP_setup_custom_directory in -lGeoIP... yes
checking for GeoIP_set_charset in -lGeoIP... yes
checking for GeoIP_continent_by_id in -lGeoIP... yes
checking for LGPL compatible GeoIP libs... found 1006002
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/install/pear-build-rootfHK4Eq/geoip-1.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/install/geoip -DPHP_ATOM_INC -I/tmp/pear/install/pear-build-rootfHK4Eq/geoip-1.0.8/include -I/tmp/pear/install/pear-build-rootfHK4Eq/geoip-1.0.8/main -I/tmp/pear/install/geoip -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/install/geoip/geoip.c -o geoip.lo
libtool: compile:  cc -I. -I/tmp/pear/install/geoip -DPHP_ATOM_INC -I/tmp/pear/install/pear-build-rootfHK4Eq/geoip-1.0.8/include -I/tmp/pear/install/pear-build-rootfHK4Eq/geoip-1.0.8/main -I/tmp/pear/install/geoip -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/install/geoip/geoip.c  -fPIC -DPIC -o .libs/geoip.o
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_db_filename':
/tmp/pear/install/geoip/geoip.c:220:44: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
   RETURN_STRING(GeoIPDBFileName[edition], 1);
                                            ^
/tmp/pear/install/geoip/geoip.c:220:3: error: 'RETURN_STRING' undeclared (first use in this function)
   RETURN_STRING(GeoIPDBFileName[edition], 1);
   ^
/tmp/pear/install/geoip/geoip.c:220:3: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_db_get_all_info':
/tmp/pear/install/geoip/geoip.c:240:73: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
    add_assoc_string(row, "description", (char *)GeoIPDBDescription[i], 1);
                                                                         ^
/tmp/pear/install/geoip/geoip.c:240:4: error: 'add_assoc_string' undeclared (first use in this function)
    add_assoc_string(row, "description", (char *)GeoIPDBDescription[i], 1);
    ^
/tmp/pear/install/geoip/geoip.c:242:60: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
     add_assoc_string(row, "filename", GeoIPDBFileName[i], 1);
                                                            ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_database_info':
/tmp/pear/install/geoip/geoip.c:282:26: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
  RETVAL_STRING(db_info, 1);
                          ^
/tmp/pear/install/geoip/geoip.c:282:2: error: 'RETVAL_STRING' undeclared (first use in this function)
  RETVAL_STRING(db_info, 1);
  ^
In file included from /tmp/pear/install/geoip/geoip.c:316:0:
/tmp/pear/install/geoip/geoip.def: In function 'zif_geoip_country_code_by_name':
/tmp/pear/install/geoip/geoip.def:20:1: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
 GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION)
 ^
/tmp/pear/install/geoip/geoip.c:313:3: error: 'RETURN_STRING' undeclared (first use in this function)
   RETURN_STRING((char*)return_code, 1); \
   ^
/tmp/pear/install/geoip/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF'
 GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION)
 ^
In file included from /tmp/pear/install/geoip/geoip.c:316:0:
/tmp/pear/install/geoip/geoip.def: In function 'zif_geoip_country_code3_by_name':
/tmp/pear/install/geoip/geoip.def:21:1: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
 GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION)
 ^
/tmp/pear/install/geoip/geoip.c:313:3: error: 'RETURN_STRING' undeclared (first use in this function)
   RETURN_STRING((char*)return_code, 1); \
   ^
/tmp/pear/install/geoip/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF'
 GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION)
 ^
In file included from /tmp/pear/install/geoip/geoip.c:316:0:
/tmp/pear/install/geoip/geoip.def: In function 'zif_geoip_country_name_by_name':
/tmp/pear/install/geoip/geoip.def:22:1: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
 GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION)
 ^
/tmp/pear/install/geoip/geoip.c:313:3: error: 'RETURN_STRING' undeclared (first use in this function)
   RETURN_STRING((char*)return_code, 1); \
   ^
/tmp/pear/install/geoip/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF'
 GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION)
 ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_continent_code_by_name':
/tmp/pear/install/geoip/geoip.c:346:54: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
  RETURN_STRING((char *)GeoIP_country_continent[id], 1);
                                                      ^
/tmp/pear/install/geoip/geoip.c:346:2: error: 'RETURN_STRING' undeclared (first use in this function)
  RETURN_STRING((char *)GeoIP_country_continent[id], 1);
  ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_org_by_name':
/tmp/pear/install/geoip/geoip.c:376:22: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
  RETVAL_STRING(org, 1);
                      ^
/tmp/pear/install/geoip/geoip.c:376:2: error: 'RETVAL_STRING' undeclared (first use in this function)
  RETVAL_STRING(org, 1);
  ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_record_by_name':
/tmp/pear/install/geoip/geoip.c:415:110: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "continent_code", (gir->continent_code == NULL) ? "" : gir->continent_code, 1);
                                                                                                              ^
/tmp/pear/install/geoip/geoip.c:415:2: error: 'add_assoc_string' undeclared (first use in this function)
  add_assoc_string(return_value, "continent_code", (gir->continent_code == NULL) ? "" : gir->continent_code, 1);
  ^
/tmp/pear/install/geoip/geoip.c:417:104: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "country_code", (gir->country_code == NULL) ? "" : gir->country_code, 1);
                                                                                                        ^
/tmp/pear/install/geoip/geoip.c:418:107: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "country_code3", (gir->country_code3 == NULL) ? "" : gir->country_code3, 1);
                                                                                                           ^
/tmp/pear/install/geoip/geoip.c:419:104: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "country_name", (gir->country_name == NULL) ? "" : gir->country_name, 1);
                                                                                                        ^
/tmp/pear/install/geoip/geoip.c:420:86: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "region", (gir->region == NULL) ? "" : gir->region, 1);
                                                                                      ^
/tmp/pear/install/geoip/geoip.c:421:80: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "city", (gir->city == NULL) ? "" : gir->city, 1);
                                                                                ^
/tmp/pear/install/geoip/geoip.c:422:101: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "postal_code", (gir->postal_code == NULL) ? "" : gir->postal_code, 1);
                                                                                                     ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_region_by_name':
/tmp/pear/install/geoip/geoip.c:495:72: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "country_code", region->country_code, 1);
                                                                        ^
/tmp/pear/install/geoip/geoip.c:495:2: error: 'add_assoc_string' undeclared (first use in this function)
  add_assoc_string(return_value, "country_code", region->country_code, 1);
  ^
/tmp/pear/install/geoip/geoip.c:496:60: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  add_assoc_string(return_value, "region", region->region, 1);
                                                            ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_isp_by_name':
/tmp/pear/install/geoip/geoip.c:528:22: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1
  RETVAL_STRING(isp, 1);
                      ^
/tmp/pear/install/geoip/geoip.c:528:2: error: 'RETVAL_STRING' undeclared (first use in this function)
  RETVAL_STRING(isp, 1);
  ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_region_name_by_code':
/tmp/pear/install/geoip/geoip.c:555:37: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
  RETURN_STRING((char*)region_name, 1);
                                     ^
/tmp/pear/install/geoip/geoip.c:555:2: error: 'RETURN_STRING' undeclared (first use in this function)
  RETURN_STRING((char*)region_name, 1);
  ^
/tmp/pear/install/geoip/geoip.c: In function 'zif_geoip_time_zone_by_country_and_region':
/tmp/pear/install/geoip/geoip.c:583:34: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1
  RETURN_STRING((char*)timezone, 1);
                                  ^
/tmp/pear/install/geoip/geoip.c:583:2: error: 'RETURN_STRING' undeclared (first use in this function)
  RETURN_STRING((char*)timezone, 1);
  ^
Makefile:194: recipe for target 'geoip.lo' failed
make: *** [geoip.lo] Error 1
ERROR: `make' failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-30 17:13 UTC] sysop at otspr dot net
editing
 [2015-12-30 17:16 UTC] ohill@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ohill
 [2015-12-30 17:16 UTC] ohill@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.
 [2016-01-05 19:17 UTC] sysop at otspr dot net
-Status: Closed +Status: Assigned
 [2016-01-05 19:17 UTC] sysop at otspr dot net
The snapshots URL doesn't seem to work. It still fails to compile the geoip via pecl install command. In fact, I tried installing version 1.0.9 and 1.0.8 and it gives out the same error.

The fix for the bug has been committed to PHP? or to the geoip package?
 [2016-01-18 09:28 UTC] a4ee2e at tmpeml dot info
have a look at https://bugs.php.net/bug.php?id=59124
the patch geoip-1.1.0-ipv6-php7.patch seems to compile
and work fine with php7
 [2016-08-19 00:33 UTC] ohill@php.net
-Status: Assigned +Status: Closed
 [2022-09-19 23:39 UTC] marwenbenalaya at gmail dot com
PHP 8.1

 


> [12/21] RUN pecl install geoip:
#0 2.486 downloading geoip-1.1.1.tgz ...
#0 2.486 Starting to download geoip-1.1.1.tgz (13,004 bytes)
#0 2.486 .....done: 13,004 bytes
#0 2.503 5 source files, building
#0 2.503 running: phpize
#0 2.509 Configuring for:
#0 2.509 PHP Api Version:         20210902
#0 2.509 Zend Module Api No:      20210902
#0 2.509 Zend Extension Api No:   420210902
#0 2.868 building in /tmp/pear/temp/pear-build-defaultuserJDhcpN/geoip-1.1.1
#0 2.868 running: /tmp/pear/temp/geoip/configure --with-php-config=/usr/local/bin/php-config
#0 2.936 checking for grep that handles long lines and -e... /bin/grep
#0 2.937 checking for egrep... /bin/grep -E
#0 2.940 checking for a sed that does not truncate output... /bin/sed
#0 2.947 checking for pkg-config... /usr/bin/pkg-config
#0 2.948 checking pkg-config is at least version 0.9.0... yes
#0 2.948 checking for cc... cc
#0 2.986 checking whether the C compiler works... yes
#0 2.986 checking for C compiler default output file name... a.out
#0 3.010 checking for suffix of executables...
#0 3.038 checking whether we are cross compiling... no
#0 3.054 checking for suffix of object files... o
#0 3.067 checking whether we are using the GNU C compiler... yes
#0 3.082 checking whether cc accepts -g... yes
#0 3.105 checking for cc option to accept ISO C89... none needed
#0 3.122 checking how to run the C preprocessor... cc -E
#0 3.143 checking for icc... no
#0 3.150 checking for suncc... no
#0 3.151 checking for system library directory... lib
#0 3.176 checking if compiler supports -Wl,-rpath,... yes
#0 3.212 checking build system type... x86_64-pc-linux-gnu
#0 3.212 checking host system type... x86_64-pc-linux-gnu
#0 3.212 checking target system type... x86_64-pc-linux-gnu
#0 3.238 checking for PHP prefix... /usr/local
#0 3.238 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
#0 3.238 checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20210902
#0 3.238 checking for PHP installed headers prefix... /usr/local/include/php
#0 3.250 checking if debug is enabled... no
#0 3.260 checking if zts is enabled... no
#0 3.261 checking for gawk... no
#0 3.261 checking for nawk... nawk
#0 3.262 checking if nawk is broken... no
#0 3.262 checking for geoip support... yes, shared
#0 3.264 checking for geoip files in default path... found in /usr
#0 3.297 checking for GeoIP_open in -lGeoIP... yes
#0 3.332 checking for GeoIP_setup_custom_directory in -lGeoIP... yes
#0 3.365 checking for GeoIP_set_charset in -lGeoIP... yes
#0 3.399 checking for GeoIP_continent_by_id in -lGeoIP... yes
#0 3.431 checking for GeoIP_addr_to_num in -lGeoIP... yes
#0 3.460 checking whether GEOIP_NETSPEED_EDITION_REV1 is declared... yes
#0 3.487 checking whether GEOIP_ACCURACYRADIUS_EDITION is declared... yes
#0 3.507 checking for LGPL compatible GeoIP libs... found 1006012
#0 3.512 checking for a sed that does not truncate output... /bin/sed
#0 3.516 checking for ld used by cc... /usr/bin/ld
#0 3.518 checking if the linker (/usr/bin/ld) is GNU ld... yes
#0 3.518 checking for /usr/bin/ld option to reload object files... -r
#0 3.521 checking for BSD-compatible nm... /usr/bin/nm -B
#0 3.521 checking whether ln -s works... yes
#0 3.521 checking how to recognize dependent libraries... pass_all
#0 3.600 checking for ANSI C header files... yes
#0 3.617 checking for sys/types.h... yes
#0 3.639 checking for sys/stat.h... yes
#0 3.661 checking for stdlib.h... yes
#0 3.683 checking for string.h... yes
#0 3.705 checking for memory.h... yes
#0 3.728 checking for strings.h... yes
#0 3.752 checking for inttypes.h... yes
#0 3.775 checking for stdint.h... yes
#0 3.798 checking for unistd.h... yes
#0 3.821 checking dlfcn.h usability... yes
#0 3.828 checking dlfcn.h presence... yes
#0 3.828 checking for dlfcn.h... yes
#0 3.832 checking the maximum length of command line arguments... 1572864
#0 3.881 checking command to parse /usr/bin/nm -B output from cc object... ok
#0 3.884 checking for objdir... .libs
#0 3.884 checking for ar... ar
#0 3.885 checking for ranlib... ranlib
#0 3.885 checking for strip... strip
#0 3.940 checking if cc supports -fno-rtti -fno-exceptions... no
#0 3.940 checking for cc option to produce PIC... -fPIC
#0 3.955 checking if cc PIC flag -fPIC works... yes
#0 4.011 checking if cc static flag -static works... yes
#0 4.031 checking if cc supports -c -o file.o... yes
#0 4.042 checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
#0 4.061 checking whether -lc should be explicitly linked in... no
#0 4.073 checking dynamic linker characteristics... GNU/Linux ld.so
#0 4.073 checking how to hardcode library paths into programs... immediate
#0 4.074 checking whether stripping libraries is possible... yes
#0 4.075 checking if libtool supports shared libraries... yes
#0 4.075 checking whether to build shared libraries... yes
#0 4.075 checking whether to build static libraries... no
#0 4.190
#0 4.190 creating libtool
#0 4.204 appending configuration tag "CXX" to libtool
#0 4.250 configure: patching config.h.in
#0 4.252 configure: creating ./config.status
#0 4.287 config.status: creating config.h
#0 4.312 running: make
#0 4.313 /bin/bash /tmp/pear/temp/pear-build-defaultuserJDhcpN/geoip-1.1.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/geoip -I/tmp/pear/temp/pear-build-defaultuserJDhcpN/geoip-1.1.1/include -I/tmp/pear/temp/pear-build-defaultuserJDhcpN/geoip-1.1.1/main -I/tmp/pear/temp/geoip -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  -DHAVE_CONFIG_H  -g -O2    -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/geoip/geoip.c -o geoip.lo  -MMD -MF geoip.dep -MT geoip.lo
#0 4.373 mkdir .libs
#0 4.375  cc -I. -I/tmp/pear/temp/geoip -I/tmp/pear/temp/pear-build-defaultuserJDhcpN/geoip-1.1.1/include -I/tmp/pear/temp/pear-build-defaultuserJDhcpN/geoip-1.1.1/main -I/tmp/pear/temp/geoip -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 -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/geoip/geoip.c -MMD -MF geoip.dep -MT geoip.lo  -fPIC -DPIC -o .libs/geoip.o
#0 4.458 /tmp/pear/temp/geoip/geoip.c: In function 'OnUpdateDirectory':
#0 4.458 /tmp/pear/temp/geoip/geoip.c:141:74: error: expected ')' before 'TSRMLS_CC'
#0 4.458   141 |  return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
#0 4.458       |                                                                          ^~~~~~~~~~
#0 4.458       |                                                                          )
#0 4.458 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_db_avail':
#0 4.458 /tmp/pear/temp/geoip/geoip.c:264:44: error: expected ')' before 'TSRMLS_CC'
#0 4.458   264 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) {
#0 4.458       |                                            ^~~~~~~~~
#0 4.458 /tmp/pear/temp/geoip/geoip.c:264:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.458   264 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) {
#0 4.458       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.458 In file included from /usr/local/include/php/main/php.h:35,
#0 4.458                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.458 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.458   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.458       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.458 /tmp/pear/temp/geoip/geoip.c:270:25: error: expected ')' before 'TSRMLS_CC'
#0 4.458   270 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound.");
#0 4.458       |                         ^~~~~~~~~
#0 4.458 /tmp/pear/temp/geoip/geoip.c:270:3: error: too few arguments to function 'php_error_docref'
#0 4.459   270 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound.");
#0 4.459       |   ^~~~~~~~~~~~~~~~
#0 4.459 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.459 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.459   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.459       |                       ^~~~~~~~~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_db_filename':
#0 4.459 /tmp/pear/temp/geoip/geoip.c:283:44: error: expected ')' before 'TSRMLS_CC'
#0 4.459   283 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) {
#0 4.459       |                                            ^~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c:283:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.459   283 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) {
#0 4.459       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.459 In file included from /usr/local/include/php/main/php.h:35,
#0 4.459                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.459 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.459   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.459       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c:289:25: error: expected ')' before 'TSRMLS_CC'
#0 4.459   289 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound.");
#0 4.459       |                         ^~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c:289:3: error: too few arguments to function 'php_error_docref'
#0 4.459   289 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound.");
#0 4.459       |   ^~~~~~~~~~~~~~~~
#0 4.459 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.459 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.459   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.459       |                       ^~~~~~~~~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_database_info':
#0 4.459 /tmp/pear/temp/geoip/geoip.c:354:44: error: expected ')' before 'TSRMLS_CC'
#0 4.459   354 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) {
#0 4.459       |                                            ^~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c:354:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.459   354 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) {
#0 4.459       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.459 In file included from /usr/local/include/php/main/php.h:35,
#0 4.459                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.459 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.459   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.459       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c:360:25: error: expected ')' before 'TSRMLS_CC'
#0 4.459   360 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound.");
#0 4.459       |                         ^~~~~~~~~
#0 4.459 /tmp/pear/temp/geoip/geoip.c:360:3: error: too few arguments to function 'php_error_docref'
#0 4.459   360 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound.");
#0 4.459       |   ^~~~~~~~~~~~~~~~
#0 4.459 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.460 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.460   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.460       |                       ^~~~~~~~~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.c:368:26: error: expected ')' before 'TSRMLS_CC'
#0 4.460   368 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]);
#0 4.460       |                          ^~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.c:368:4: error: too few arguments to function 'php_error_docref'
#0 4.460   368 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]);
#0 4.460       |    ^~~~~~~~~~~~~~~~
#0 4.460 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.460 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.460   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.460       |                       ^~~~~~~~~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.c:370:26: error: expected ')' before 'TSRMLS_CC'
#0 4.460   370 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available.");
#0 4.460       |                          ^~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.c:370:4: error: too few arguments to function 'php_error_docref'
#0 4.460   370 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available.");
#0 4.460       |    ^~~~~~~~~~~~~~~~
#0 4.460 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.460 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.460   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.460       |                       ^~~~~~~~~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.def: In function 'zif_geoip_country_code_by_name':
#0 4.460 /tmp/pear/temp/geoip/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC'
#0 4.460   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.460       |                                             ^~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF'
#0 4.460    20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION)
#0 4.460       | ^~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters'
#0 4.460   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.460       |       ^~~~~~~~~~~~~~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF'
#0 4.460    20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION)
#0 4.460       | ^~~~~~~~
#0 4.460 In file included from /usr/local/include/php/main/php.h:35,
#0 4.460                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.460 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.460   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.460       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC'
#0 4.460   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.460       |                          ^~~~~~~~~
#0 4.460 /tmp/pear/temp/geoip/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF'
#0 4.460    20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION)
#0 4.460       | ^~~~~~~~
#0 4.461 /tmp/pear/temp/geoip/geoip.c:403:4: error: too few arguments to function 'php_error_docref'
#0 4.461   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.461       |    ^~~~~~~~~~~~~~~~
#0 4.461 /tmp/pear/temp/geoip/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF'
#0 4.461    20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION)
#0 4.461       | ^~~~~~~~
#0 4.461 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.461 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.461   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.461       |                       ^~~~~~~~~~~~~~~~
#0 4.461 /tmp/pear/temp/geoip/geoip.def: In function 'zif_geoip_country_code3_by_name':
#0 4.462 /tmp/pear/temp/geoip/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC'
#0 4.462   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.462       |                                             ^~~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF'
#0 4.462    21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION)
#0 4.462       | ^~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters'
#0 4.462   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.462       |       ^~~~~~~~~~~~~~~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF'
#0 4.462    21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION)
#0 4.462       | ^~~~~~~~
#0 4.462 In file included from /usr/local/include/php/main/php.h:35,
#0 4.462                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.462 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.462   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.462       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC'
#0 4.462   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.462       |                          ^~~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF'
#0 4.462    21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION)
#0 4.462       | ^~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.c:403:4: error: too few arguments to function 'php_error_docref'
#0 4.462   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.462       |    ^~~~~~~~~~~~~~~~
#0 4.462 /tmp/pear/temp/geoip/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF'
#0 4.462    21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION)
#0 4.462       | ^~~~~~~~
#0 4.462 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.462 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.462   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.462       |                       ^~~~~~~~~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def: In function 'zif_geoip_country_name_by_name':
#0 4.463 /tmp/pear/temp/geoip/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC'
#0 4.463   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.463       |                                             ^~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF'
#0 4.463    22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION)
#0 4.463       | ^~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters'
#0 4.463   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.463       |       ^~~~~~~~~~~~~~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF'
#0 4.463    22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION)
#0 4.463       | ^~~~~~~~
#0 4.463 In file included from /usr/local/include/php/main/php.h:35,
#0 4.463                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.463 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.463   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.463       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC'
#0 4.463   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.463       |                          ^~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF'
#0 4.463    22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION)
#0 4.463       | ^~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.c:403:4: error: too few arguments to function 'php_error_docref'
#0 4.463   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.463       |    ^~~~~~~~~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF'
#0 4.463    22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION)
#0 4.463       | ^~~~~~~~
#0 4.463 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.463 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.463   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.463       |                       ^~~~~~~~~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def: In function 'zif_geoip_country_code_by_name_v6':
#0 4.463 /tmp/pear/temp/geoip/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC'
#0 4.463   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.463       |                                             ^~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF'
#0 4.463    25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.463       | ^~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters'
#0 4.463   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.463       |       ^~~~~~~~~~~~~~~~~~~~~
#0 4.463 /tmp/pear/temp/geoip/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF'
#0 4.463    25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.463       | ^~~~~~~~
#0 4.463 In file included from /usr/local/include/php/main/php.h:35,
#0 4.463                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.463 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.463   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.463       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.464 /tmp/pear/temp/geoip/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC'
#0 4.464   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.464       |                          ^~~~~~~~~
#0 4.464 /tmp/pear/temp/geoip/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF'
#0 4.464    25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.464       | ^~~~~~~~
#0 4.464 /tmp/pear/temp/geoip/geoip.c:403:4: error: too few arguments to function 'php_error_docref'
#0 4.464   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.464       |    ^~~~~~~~~~~~~~~~
#0 4.464 /tmp/pear/temp/geoip/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF'
#0 4.464    25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.464       | ^~~~~~~~
#0 4.464 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.464 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.464   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.464       |                       ^~~~~~~~~~~~~~~~
#0 4.464 /tmp/pear/temp/geoip/geoip.def: In function 'zif_geoip_country_code3_by_name_v6':
#0 4.464 /tmp/pear/temp/geoip/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC'
#0 4.464   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.464       |                                             ^~~~~~~~~
#0 4.464 /tmp/pear/temp/geoip/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF'
#0 4.464    26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.464       | ^~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters'
#0 4.465   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.465       |       ^~~~~~~~~~~~~~~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF'
#0 4.465    26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.465       | ^~~~~~~~
#0 4.465 In file included from /usr/local/include/php/main/php.h:35,
#0 4.465                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.465 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.465   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.465       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC'
#0 4.465   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.465       |                          ^~~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF'
#0 4.465    26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.465       | ^~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.c:403:4: error: too few arguments to function 'php_error_docref'
#0 4.465   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.465       |    ^~~~~~~~~~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF'
#0 4.465    26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.465       | ^~~~~~~~
#0 4.465 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.465 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.465   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.465       |                       ^~~~~~~~~~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.def: In function 'zif_geoip_country_name_by_name_v6':
#0 4.465 /tmp/pear/temp/geoip/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC'
#0 4.465   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.465       |                                             ^~~~~~~~~
#0 4.465 /tmp/pear/temp/geoip/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF'
#0 4.466    27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.466       | ^~~~~~~~
#0 4.466 /tmp/pear/temp/geoip/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters'
#0 4.466   396 |   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
#0 4.466       |       ^~~~~~~~~~~~~~~~~~~~~
#0 4.466 /tmp/pear/temp/geoip/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF'
#0 4.466    27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.466       | ^~~~~~~~
#0 4.466 In file included from /usr/local/include/php/main/php.h:35,
#0 4.466                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.466 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.466   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.466       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.466 /tmp/pear/temp/geoip/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC'
#0 4.466   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.466       |                          ^~~~~~~~~
#0 4.466 /tmp/pear/temp/geoip/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF'
#0 4.466    27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.466       | ^~~~~~~~
#0 4.466 /tmp/pear/temp/geoip/geoip.c:403:4: error: too few arguments to function 'php_error_docref'
#0 4.466   403 |    php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
#0 4.466       |    ^~~~~~~~~~~~~~~~
#0 4.466 /tmp/pear/temp/geoip/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF'
#0 4.466    27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6)
#0 4.466       | ^~~~~~~~
#0 4.466 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.466 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.466   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.466       |                       ^~~~~~~~~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_continent_code_by_name':
#0 4.467 /tmp/pear/temp/geoip/geoip.c:461:44: error: expected ')' before 'TSRMLS_CC'
#0 4.467   461 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.467       |                                            ^~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c:461:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.467   461 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.467       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.467 In file included from /usr/local/include/php/main/php.h:35,
#0 4.467                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.467 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.467   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.467       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c:468:25: error: expected ')' before 'TSRMLS_CC'
#0 4.467   468 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]);
#0 4.467       |                         ^~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c:468:3: error: too few arguments to function 'php_error_docref'
#0 4.467   468 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]);
#0 4.467       |   ^~~~~~~~~~~~~~~~
#0 4.467 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.467 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.467   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.467       |                       ^~~~~~~~~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_org_by_name':
#0 4.467 /tmp/pear/temp/geoip/geoip.c:498:44: error: expected ')' before 'TSRMLS_CC'
#0 4.467   498 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.467       |                                            ^~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c:498:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.467   498 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.467       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.467 In file included from /usr/local/include/php/main/php.h:35,
#0 4.467                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.467 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.467   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.467       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.467 /tmp/pear/temp/geoip/geoip.c:505:25: error: expected ')' before 'TSRMLS_CC'
#0 4.467   505 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ORG_EDITION]);
#0 4.467       |                         ^~~~~~~~~
#0 4.468 /tmp/pear/temp/geoip/geoip.c:505:3: error: too few arguments to function 'php_error_docref'
#0 4.468   505 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ORG_EDITION]);
#0 4.468       |   ^~~~~~~~~~~~~~~~
#0 4.468 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.468 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.468   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.468       |                       ^~~~~~~~~~~~~~~~
#0 4.468 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_asnum_by_name':
#0 4.468 /tmp/pear/temp/geoip/geoip.c:536:44: error: expected ')' before 'TSRMLS_CC'
#0 4.468   536 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.468       |                                            ^~~~~~~~~
#0 4.468 /tmp/pear/temp/geoip/geoip.c:536:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.468   536 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.468       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.468 In file included from /usr/local/include/php/main/php.h:35,
#0 4.468                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.468 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.468   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.468       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.468 /tmp/pear/temp/geoip/geoip.c:543:25: error: expected ')' before 'TSRMLS_CC'
#0 4.468   543 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ASNUM_EDITION]);
#0 4.468       |                         ^~~~~~~~~
#0 4.468 /tmp/pear/temp/geoip/geoip.c:543:3: error: too few arguments to function 'php_error_docref'
#0 4.468   543 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ASNUM_EDITION]);
#0 4.468       |   ^~~~~~~~~~~~~~~~
#0 4.468 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.468 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.468   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.468       |                       ^~~~~~~~~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_domain_by_name':
#0 4.469 /tmp/pear/temp/geoip/geoip.c:574:44: error: expected ')' before 'TSRMLS_CC'
#0 4.469   574 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.469       |                                            ^~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c:574:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.469   574 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.469       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.469 In file included from /usr/local/include/php/main/php.h:35,
#0 4.469                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.469 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.469   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.469       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c:581:25: error: expected ')' before 'TSRMLS_CC'
#0 4.469   581 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_DOMAIN_EDITION]);
#0 4.469       |                         ^~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c:581:3: error: too few arguments to function 'php_error_docref'
#0 4.469   581 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_DOMAIN_EDITION]);
#0 4.469       |   ^~~~~~~~~~~~~~~~
#0 4.469 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.469 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.469   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.469       |                       ^~~~~~~~~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_netspeedcell_by_name':
#0 4.469 /tmp/pear/temp/geoip/geoip.c:613:44: error: expected ')' before 'TSRMLS_CC'
#0 4.469   613 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.469       |                                            ^~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c:613:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.469   613 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.469       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.469 In file included from /usr/local/include/php/main/php.h:35,
#0 4.469                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.469 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.469   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.469       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.469 /tmp/pear/temp/geoip/geoip.c:620:25: error: expected ')' before 'TSRMLS_CC'
#0 4.470   620 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION_REV1]);
#0 4.470       |                         ^~~~~~~~~
#0 4.470 /tmp/pear/temp/geoip/geoip.c:620:3: error: too few arguments to function 'php_error_docref'
#0 4.470   620 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION_REV1]);
#0 4.470       |   ^~~~~~~~~~~~~~~~
#0 4.470 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.470 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.470   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.470       |                       ^~~~~~~~~~~~~~~~
#0 4.470 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_record_by_name':
#0 4.470 /tmp/pear/temp/geoip/geoip.c:652:44: error: expected ')' before 'TSRMLS_CC'
#0 4.470   652 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.470       |                                            ^~~~~~~~~
#0 4.470 /tmp/pear/temp/geoip/geoip.c:652:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.470   652 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.470       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.470 In file included from /usr/local/include/php/main/php.h:35,
#0 4.470                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.470 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.470   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.470       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.470 /tmp/pear/temp/geoip/geoip.c:663:25: error: expected ')' before 'TSRMLS_CC'
#0 4.470   663 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_CITY_EDITION_REV0]);
#0 4.470       |                         ^~~~~~~~~
#0 4.470 /tmp/pear/temp/geoip/geoip.c:663:3: error: too few arguments to function 'php_error_docref'
#0 4.470   663 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_CITY_EDITION_REV0]);
#0 4.470       |   ^~~~~~~~~~~~~~~~
#0 4.470 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.470 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.470   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.470       |                       ^~~~~~~~~~~~~~~~
#0 4.471 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_id_by_name':
#0 4.471 /tmp/pear/temp/geoip/geoip.c:722:44: error: expected ')' before 'TSRMLS_CC'
#0 4.471   722 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.471       |                                            ^~~~~~~~~
#0 4.471 /tmp/pear/temp/geoip/geoip.c:722:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.471   722 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.471       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.471 In file included from /usr/local/include/php/main/php.h:35,
#0 4.471                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.471 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.471   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.471       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.471 /tmp/pear/temp/geoip/geoip.c:729:25: error: expected ')' before 'TSRMLS_CC'
#0 4.471   729 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION]);
#0 4.471       |                         ^~~~~~~~~
#0 4.471 /tmp/pear/temp/geoip/geoip.c:729:3: error: too few arguments to function 'php_error_docref'
#0 4.471   729 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION]);
#0 4.471       |   ^~~~~~~~~~~~~~~~
#0 4.471 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.471 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.471   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.471       |                       ^~~~~~~~~~~~~~~~
#0 4.471 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_region_by_name':
#0 4.471 /tmp/pear/temp/geoip/geoip.c:752:44: error: expected ')' before 'TSRMLS_CC'
#0 4.471   752 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.471       |                                            ^~~~~~~~~
#0 4.471 /tmp/pear/temp/geoip/geoip.c:752:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.471   752 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.471       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.471 In file included from /usr/local/include/php/main/php.h:35,
#0 4.471                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.471 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.471   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.471       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.472 /tmp/pear/temp/geoip/geoip.c:763:25: error: expected ')' before 'TSRMLS_CC'
#0 4.472   763 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_REGION_EDITION_REV0]);
#0 4.472       |                         ^~~~~~~~~
#0 4.472 /tmp/pear/temp/geoip/geoip.c:763:3: error: too few arguments to function 'php_error_docref'
#0 4.472   763 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_REGION_EDITION_REV0]);
#0 4.472       |   ^~~~~~~~~~~~~~~~
#0 4.472 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.472 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.472   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.472       |                       ^~~~~~~~~~~~~~~~
#0 4.472 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_isp_by_name':
#0 4.472 /tmp/pear/temp/geoip/geoip.c:800:44: error: expected ')' before 'TSRMLS_CC'
#0 4.472   800 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.472       |                                            ^~~~~~~~~
#0 4.472 /tmp/pear/temp/geoip/geoip.c:800:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.472   800 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
#0 4.472       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.472 In file included from /usr/local/include/php/main/php.h:35,
#0 4.472                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.472 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.472   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.472       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.472 /tmp/pear/temp/geoip/geoip.c:807:25: error: expected ')' before 'TSRMLS_CC'
#0 4.472   807 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ISP_EDITION]);
#0 4.472       |                         ^~~~~~~~~
#0 4.472 /tmp/pear/temp/geoip/geoip.c:807:3: error: too few arguments to function 'php_error_docref'
#0 4.472   807 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ISP_EDITION]);
#0 4.472       |   ^~~~~~~~~~~~~~~~
#0 4.472 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.473 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.473   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.473       |                       ^~~~~~~~~~~~~~~~
#0 4.473 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_region_name_by_code':
#0 4.473 /tmp/pear/temp/geoip/geoip.c:838:44: error: expected ')' before 'TSRMLS_CC'
#0 4.473   838 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, &region_code, &regionlen) == FAILURE) {
#0 4.473       |                                            ^~~~~~~~~
#0 4.473 /tmp/pear/temp/geoip/geoip.c:838:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.473   838 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, &region_code, &regionlen) == FAILURE) {
#0 4.473       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.473 In file included from /usr/local/include/php/main/php.h:35,
#0 4.473                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.473 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.473   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.473       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.473 /tmp/pear/temp/geoip/geoip.c:843:25: error: expected ')' before 'TSRMLS_CC'
#0 4.473   843 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify the country and region codes.");
#0 4.473       |                         ^~~~~~~~~
#0 4.473 /tmp/pear/temp/geoip/geoip.c:843:3: error: too few arguments to function 'php_error_docref'
#0 4.473   843 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify the country and region codes.");
#0 4.473       |   ^~~~~~~~~~~~~~~~
#0 4.473 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.473 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.473   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.473       |                       ^~~~~~~~~~~~~~~~
#0 4.473 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_time_zone_by_country_and_region':
#0 4.473 /tmp/pear/temp/geoip/geoip.c:874:44: error: expected ')' before 'TSRMLS_CC'
#0 4.473   874 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, &region, &arg2len) == FAILURE) {
#0 4.473       |                                            ^~~~~~~~~
#0 4.474 /tmp/pear/temp/geoip/geoip.c:874:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.474   874 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, &region, &arg2len) == FAILURE) {
#0 4.474       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.474 In file included from /usr/local/include/php/main/php.h:35,
#0 4.474                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.474 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.474   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.474       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.474 /tmp/pear/temp/geoip/geoip.c:879:25: error: expected ')' before 'TSRMLS_CC'
#0 4.474   879 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify at least the country code.");
#0 4.474       |                         ^~~~~~~~~
#0 4.474 /tmp/pear/temp/geoip/geoip.c:879:3: error: too few arguments to function 'php_error_docref'
#0 4.474   879 |   php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify at least the country code.");
#0 4.474       |   ^~~~~~~~~~~~~~~~
#0 4.474 In file included from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.474 /usr/local/include/php/main/php.h:327:23: note: declared here
#0 4.474   327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
#0 4.474       |                       ^~~~~~~~~~~~~~~~
#0 4.474 /tmp/pear/temp/geoip/geoip.c: In function 'zif_geoip_setup_custom_directory':
#0 4.474 /tmp/pear/temp/geoip/geoip.c:908:44: error: expected ')' before 'TSRMLS_CC'
#0 4.474   908 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) {
#0 4.474       |                                            ^~~~~~~~~
#0 4.474 /tmp/pear/temp/geoip/geoip.c:908:6: error: too few arguments to function 'zend_parse_parameters'
#0 4.474   908 |  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) {
#0 4.474       |      ^~~~~~~~~~~~~~~~~~~~~
#0 4.474 In file included from /usr/local/include/php/main/php.h:35,
#0 4.474                  from /tmp/pear/temp/geoip/geoip.c:32:
#0 4.474 /usr/local/include/php/Zend/zend_API.h:335:22: note: declared here
#0 4.474   335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#0 4.474       |                      ^~~~~~~~~~~~~~~~~~~~~
#0 4.480 make: *** [Makefile:208: geoip.lo] Error 1
#0 4.481 ERROR: `make' failed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 05:01:27 2024 UTC