Burti

Member
Apr 25, 2018
9
3
3
Turkey
cPanel Access Level
Root Administrator
I was installed:

yum -y install unixODBC unixODBC-devel


Code:
[[email protected] ~]# /opt/cpanel/ea-php70/root/usr/bin/pecl install pdo_odbc
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO"
downloading PDO_ODBC-1.0.1.tgz ...
Starting to download PDO_ODBC-1.0.1.tgz (14,268 bytes)
.....done: 14,268 bytes
downloading PDO-1.0.3.tgz ...
Starting to download PDO-1.0.3.tgz (52,613 bytes)
...done: 52,613 bytes
12 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /root/tmp/pear/pear-build-rootuX8YM6/PDO-1.0.3
running: /root/tmp/pear/PDO/configure --with-php-config=/opt/cpanel/ea-php70/root/usr/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/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... /opt/cpanel/ea-php70/root/usr
checking for PHP includes... -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib
checking for PHP extension directory... /opt/cpanel/ea-php70/root/usr/lib64/php/modules
checking for PHP installed headers prefix... /opt/cpanel/ea-php70/root/usr/include/php
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... gawk
checking whether to enable PDO support... yes, shared
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/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) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : 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/sh /root/tmp/pear/pear-build-rootuX8YM6/PDO-1.0.3/libtool --mode=compile cc  -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootuX8YM6/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootuX8YM6/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/PDO/pdo.c -o pdo.lo
libtool: compile:  cc -I. -I/root/tmp/pear/PDO -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootuX8YM6/PDO-1.0.3/include -I/root/tmp/pear/pear-build-rootuX8YM6/PDO-1.0.3/main -I/root/tmp/pear/PDO -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/PDO/pdo.c  -fPIC -DPIC -o .libs/pdo.o
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h: In function 'pdo_attr_lval':
/root/tmp/pear/PDO/php_pdo_driver.h:191:2: error: too many arguments to function 'zend_hash_index_find'
  if (options && SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), option_name, (void**)&v)) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:156:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h);
                              ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h:192:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default]
   convert_to_long_ex(v);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:31:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h:192:3: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default]
   convert_to_long_ex(v);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:342:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **'
ZEND_API void ZEND_FASTCALL convert_to_long(zval *op);
                             ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h: In function 'pdo_attr_strval':
/root/tmp/pear/PDO/php_pdo_driver.h:201:2: error: too many arguments to function 'zend_hash_index_find'
  if (options && SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), option_name, (void**)&v)) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:156:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h);
                              ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h:202:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default]
   convert_to_string_ex(v);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:31:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h:202:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default]
   convert_to_string_ex(v);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:31:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **'
static zend_always_inline zend_uchar zval_get_type(const zval* pz) {
                                      ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h:202:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default]
   convert_to_string_ex(v);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:342:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_operators.h:243:29: note: expected 'struct zval *' but argument is of type 'struct zval **'
ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC);
                             ^
In file included from /root/tmp/pear/PDO/pdo.c:32:0:
/root/tmp/pear/PDO/php_pdo_driver.h:203:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default]
   return estrndup(Z_STRVAL_PP(v), Z_STRLEN_PP(v));
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:33:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_alloc.h:85:31: note: expected 'const char *' but argument is of type 'int'
ZEND_API char*  ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
                               ^
In file included from /root/tmp/pear/PDO/pdo.c:33:0:
/root/tmp/pear/PDO/php_pdo_int.h: At top level:
/root/tmp/pear/PDO/php_pdo_int.h:34:1: error: unknown type name 'zend_object_value'
extern zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC);
^
/root/tmp/pear/PDO/php_pdo_int.h:39:1: error: unknown type name 'zend_object_value'
extern zend_object_value pdo_dbstmt_new(zend_class_entry *ce TSRMLS_DC);
^
/root/tmp/pear/PDO/php_pdo_int.h:48:1: error: unknown type name 'zend_object_value'
extern zend_object_value pdo_row_new(zend_class_entry *ce TSRMLS_DC);
^
/root/tmp/pear/PDO/pdo.c: In function 'php_pdo_get_exception_base':
/root/tmp/pear/PDO/pdo.c:68:4: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
    if (zend_hash_find(CG(class_table), "runtimeexception", sizeof("RuntimeException"), (void **) &pce) == SUCCESS) {
    ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'struct zend_string *' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/root/tmp/pear/PDO/pdo.c:68:4: error: too many arguments to function 'zend_hash_find'
    if (zend_hash_find(CG(class_table), "runtimeexception", sizeof("RuntimeException"), (void **) &pce) == SUCCESS) {
    ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/root/tmp/pear/PDO/pdo.c: In function 'zif_pdo_drivers':
/root/tmp/pear/PDO/pdo.c:96:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default]
  while (SUCCESS == zend_hash_get_current_data_ex(&pdo_driver_hash, (void**)&pdriver, &pos)) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:171:30: note: expected 'HashPosition *' but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/root/tmp/pear/PDO/pdo.c:96:2: error: too many arguments to function 'zend_hash_get_current_data_ex'
  while (SUCCESS == zend_hash_get_current_data_ex(&pdo_driver_hash, (void**)&pdriver, &pos)) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:171:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/root/tmp/pear/PDO/pdo.c:97:3: error: too many arguments to function 'add_next_index_stringl'
   add_next_index_stringl(return_value, (char*)(*pdriver)->driver_name, (*pdriver)->driver_name_len, 1);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:39:0,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_API.h:434:14: note: declared here
ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length);
              ^
/root/tmp/pear/PDO/pdo.c: In function 'php_pdo_register_driver':
/root/tmp/pear/PDO/pdo.c:165:2: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [enabled by default]
  if (!zend_hash_exists(&module_registry, "pdo", sizeof("pdo"))) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:159:34: note: expected 'struct zend_string *' but argument is of type 'char *'
ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
                                  ^
/root/tmp/pear/PDO/pdo.c:165:2: error: too many arguments to function 'zend_hash_exists'
  if (!zend_hash_exists(&module_registry, "pdo", sizeof("pdo"))) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:159:34: note: declared here
ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
                                  ^
/root/tmp/pear/PDO/pdo.c:171:41: error: macro "zend_hash_add" passed 6 arguments, but takes just 3
    (void**)&driver, sizeof(driver), NULL);
                                         ^
/root/tmp/pear/PDO/pdo.c:170:9: error: 'zend_hash_add' undeclared (first use in this function)
  return zend_hash_add(&pdo_driver_hash, (char*)driver->driver_name, driver->driver_name_len,
         ^
/root/tmp/pear/PDO/pdo.c:170:9: note: each undeclared identifier is reported only once for each function it appears in
/root/tmp/pear/PDO/pdo.c: In function 'php_pdo_unregister_driver':
/root/tmp/pear/PDO/pdo.c:176:2: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [enabled by default]
  if (!zend_hash_exists(&module_registry, "pdo", sizeof("pdo"))) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:159:34: note: expected 'struct zend_string *' but argument is of type 'char *'
ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
                                  ^
/root/tmp/pear/PDO/pdo.c:176:2: error: too many arguments to function 'zend_hash_exists'
  if (!zend_hash_exists(&module_registry, "pdo", sizeof("pdo"))) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:159:34: note: declared here
ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key);
                                  ^
/root/tmp/pear/PDO/pdo.c:180:2: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default]
  zend_hash_del(&pdo_driver_hash, (char*)driver->driver_name, driver->driver_name_len);
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:146:28: note: expected 'struct zend_string *' but argument is of type 'char *'
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                            ^
/root/tmp/pear/PDO/pdo.c:180:2: error: too many arguments to function 'zend_hash_del'
  zend_hash_del(&pdo_driver_hash, (char*)driver->driver_name, driver->driver_name_len);
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:146:28: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key);
                            ^
/root/tmp/pear/PDO/pdo.c: In function 'pdo_find_driver':
/root/tmp/pear/PDO/pdo.c:187:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default]
  zend_hash_find(&pdo_driver_hash, (char*)name, namelen, (void**)&driver);
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:154:30: note: expected 'struct zend_string *' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/root/tmp/pear/PDO/pdo.c:187:2: error: too many arguments to function 'zend_hash_find'
  zend_hash_find(&pdo_driver_hash, (char*)name, namelen, (void**)&driver);
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
                              ^
/root/tmp/pear/PDO/pdo.c: In function 'zm_startup_pdo':
/root/tmp/pear/PDO/pdo.c:323:3: error: too many arguments to function 'zend_register_internal_class_ex'
   pdo_exception_ce = zend_register_internal_class_ex(&ce, php_pdo_get_exception_base(0 TSRMLS_CC), NULL TSRMLS_CC);
   ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:39:0,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_API.h:290:28: note: declared here
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^
/root/tmp/pear/PDO/pdo.c: In function 'zm_info_pdo':
/root/tmp/pear/PDO/pdo.c:371:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default]
  while (SUCCESS == zend_hash_get_current_data_ex(&pdo_driver_hash, (void**)&pdriver, &pos)) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:171:30: note: expected 'HashPosition *' but argument is of type 'void **'
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
/root/tmp/pear/PDO/pdo.c:371:2: error: too many arguments to function 'zend_hash_get_current_data_ex'
  while (SUCCESS == zend_hash_get_current_data_ex(&pdo_driver_hash, (void**)&pdriver, &pos)) {
  ^
In file included from /opt/cpanel/ea-php70/root/usr/include/php/Zend/zend.h:36:0,
                 from /opt/cpanel/ea-php70/root/usr/include/php/main/php.h:35,
                 from /root/tmp/pear/PDO/pdo.c:28:
/opt/cpanel/ea-php70/root/usr/include/php/Zend/zend_hash.h:171:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
                              ^
make: *** [pdo.lo] Error 1
ERROR: `make' failed
@cPanelLauren @cPanelMichael
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!