Bug #75603 [NEW]: Error during installation PDO_OCI-1.0
| From: | spereuda at gmail dot com | Date: | Thu, 30 Nov 2017 16:06:29 +0000 |
| Subject: | Bug #75603 [NEW]: Error during installation PDO_OCI-1.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-212843@lists.php.net to get a copy of this message | ||
From: spereuda at gmail dot com
Operating system: Oracle Linux 6.8, x86_64
PHP version: 7.0.26
Package: PDO OCI
Bug Type: Bug
Bug description:Error during installation PDO_OCI-1.0
Description:
------------
---
From manual page: http://www.php.net/ref.pdo-oci
---
# make
/bin/sh /opt/PDO_OCI-1.0/libtool --mode=compile cc -I -I.
-I/opt/PDO_OCI-1.0 -DPHP_ATOM_INC -I/opt/PDO_OCI-1.0/include
-I/opt/PDO_OCI-1.0/main -I/opt/PDO_OCI-1.0
-I/var/local/php/php-7.1.2/include/php
-I/var/local/php/php-7.1.2/include/php/main
-I/var/local/php/php-7.1.2/include/php/TSRM
-I/var/local/php/php-7.1.2/include/php/Zend
-I/var/local/php/php-7.1.2/include/php/ext
-I/var/local/php/php-7.1.2/include/php/ext/date/lib
-I/usr/include/oracle/12.2/client -DHAVE_CONFIG_H -g -O2 -c
/opt/PDO_OCI-1.0/oci_driver.c -o oci_driver.lo
libtool: compile: cc -I -I. -I/opt/PDO_OCI-1.0 -DPHP_ATOM_INC
-I/opt/PDO_OCI-1.0/include -I/opt/PDO_OCI-1.0/main -I/opt/PDO_OCI-1.0
-I/var/local/php/php-7.1.2/include/php
-I/var/local/php/php-7.1.2/include/php/main
-I/var/local/php/php-7.1.2/include/php/TSRM
-I/var/local/php/php-7.1.2/include/php/Zend
-I/var/local/php/php-7.1.2/include/php/ext
-I/var/local/php/php-7.1.2/include/php/ext/date/lib
-I/usr/include/oracle/12.2/client -DHAVE_CONFIG_H -g -O2 -c
/opt/PDO_OCI-1.0/oci_driver.c -fPIC -DPIC -o .libs/oci_driver.o
/opt/PDO_OCI-1.0/oci_driver.c: In function
âpdo_oci_fetch_error_funcâ:
/opt/PDO_OCI-1.0/oci_driver.c:51: error: too many arguments to function
âadd_next_index_stringâ
/opt/PDO_OCI-1.0/oci_driver.c: In function âoci_handle_preparerâ:
/opt/PDO_OCI-1.0/oci_driver.c:238: warning: passing argument 5 of
âpdo_parse_paramsâ from incompatible pointer type
/var/local/php/php-7.1.2/include/php/ext/pdo/php_pdo_driver.h:678: note:
expected âsize_t *â but argument is of type âint *â
/opt/PDO_OCI-1.0/oci_driver.c: At top level:
/opt/PDO_OCI-1.0/oci_driver.c:411: warning: initialization from
incompatible pointer type
/opt/PDO_OCI-1.0/oci_driver.c:412: warning: initialization from
incompatible pointer type
/opt/PDO_OCI-1.0/oci_driver.c:413: warning: initialization from
incompatible pointer type
make: *** [oci_driver.lo] Error 1
Test script:
---------------
# make
/bin/sh /opt/PDO_OCI-1.0/libtool --mode=compile cc -I -I.
-I/opt/PDO_OCI-1.0 -DPHP_ATOM_INC -I/opt/PDO_OCI-1.0/include
-I/opt/PDO_OCI-1.0/main -I/opt/PDO_OCI-1.0
-I/var/local/php/php-7.1.2/include/php
-I/var/local/php/php-7.1.2/include/php/main
-I/var/local/php/php-7.1.2/include/php/TSRM
-I/var/local/php/php-7.1.2/include/php/Zend
-I/var/local/php/php-7.1.2/include/php/ext
-I/var/local/php/php-7.1.2/include/php/ext/date/lib
-I/usr/include/oracle/12.2/client -DHAVE_CONFIG_H -g -O2 -c
/opt/PDO_OCI-1.0/oci_driver.c -o oci_driver.lo
libtool: compile: cc -I -I. -I/opt/PDO_OCI-1.0 -DPHP_ATOM_INC
-I/opt/PDO_OCI-1.0/include -I/opt/PDO_OCI-1.0/main -I/opt/PDO_OCI-1.0
-I/var/local/php/php-7.1.2/include/php
-I/var/local/php/php-7.1.2/include/php/main
-I/var/local/php/php-7.1.2/include/php/TSRM
-I/var/local/php/php-7.1.2/include/php/Zend
-I/var/local/php/php-7.1.2/include/php/ext
-I/var/local/php/php-7.1.2/include/php/ext/date/lib
-I/usr/include/oracle/12.2/client -DHAVE_CONFIG_H -g -O2 -c
/opt/PDO_OCI-1.0/oci_driver.c -fPIC -DPIC -o .libs/oci_driver.o
/opt/PDO_OCI-1.0/oci_driver.c: In function
âpdo_oci_fetch_error_funcâ:
/opt/PDO_OCI-1.0/oci_driver.c:51: error: too many arguments to function
âadd_next_index_stringâ
/opt/PDO_OCI-1.0/oci_driver.c: In function âoci_handle_preparerâ:
/opt/PDO_OCI-1.0/oci_driver.c:238: warning: passing argument 5 of
âpdo_parse_paramsâ from incompatible pointer type
/var/local/php/php-7.1.2/include/php/ext/pdo/php_pdo_driver.h:678: note:
expected âsize_t *â but argument is of type âint *â
/opt/PDO_OCI-1.0/oci_driver.c: At top level:
/opt/PDO_OCI-1.0/oci_driver.c:411: warning: initialization from
incompatible pointer type
/opt/PDO_OCI-1.0/oci_driver.c:412: warning: initialization from
incompatible pointer type
/opt/PDO_OCI-1.0/oci_driver.c:413: warning: initialization from
incompatible pointer type
make: *** [oci_driver.lo] Error 1
Expected result:
----------------
Hello!
I'm trying to install PDO_OCI-1.0(you can find in atach
PDO_OCI-1.0.tgz), but when I run the make command, I get the following
error:
# make
/bin/sh /opt/PDO_OCI-1.0/libtool --mode=compile cc -I -I.
-I/opt/PDO_OCI-1.0 -DPHP_ATOM_INC -I/opt/PDO_OCI-1.0/include
-I/opt/PDO_OCI-1.0/main -I/opt/PDO_OCI-1.0
-I/var/local/php/php-7.1.2/include/php
-I/var/local/php/php-7.1.2/include/php/main
-I/var/local/php/php-7.1.2/include/php/TSRM
-I/var/local/php/php-7.1.2/include/php/Zend
-I/var/local/php/php-7.1.2/include/php/ext
-I/var/local/php/php-7.1.2/include/php/ext/date/lib
-I/usr/include/oracle/12.2/client -DHAVE_CONFIG_H -g -O2 -c
/opt/PDO_OCI-1.0/oci_driver.c -o oci_driver.lo
libtool: compile: cc -I -I. -I/opt/PDO_OCI-1.0 -DPHP_ATOM_INC
-I/opt/PDO_OCI-1.0/include -I/opt/PDO_OCI-1.0/main -I/opt/PDO_OCI-1.0
-I/var/local/php/php-7.1.2/include/php
-I/var/local/php/php-7.1.2/include/php/main
-I/var/local/php/php-7.1.2/include/php/TSRM
-I/var/local/php/php-7.1.2/include/php/Zend
-I/var/local/php/php-7.1.2/include/php/ext
-I/var/local/php/php-7.1.2/include/php/ext/date/lib -
Please help me to resolve this bug. Thank you.
--
Edit bug report at https://bugs.php.net/bug.php?id=75603&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75603&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75603&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75603&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75603&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75603&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75603&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75603&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75603&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75603&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75603&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75603&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75603&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75603&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75603&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75603&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75603&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75603&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75603&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75603&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75603&r=mysqlcfg