oci8 installation problem
Posted: 2020/05/13 02:35:32
sir i have install oracle 12.2( 64 bit) and remi-php7.2 with instantclient 12.2 in centos 7 but oci8 cant install because of below error
from /var/tmp/oci8/oci8.c:49:
/usr/include/oracle/12.2/client64/ociap.h7: error: initializing argument 1 of 'sword OCISessionPoolDestroy(OCISPool*, OCIError*, ub4)' [-fpermissive]
sword OCISessionPoolDestroy (OCISPool *spoolhp,
^
In file included from /var/tmp/oci8/oci8.c:49:0:
/var/tmp/oci8/oci8.c46: error: invalid conversion from 'void*' to 'OCIError*' [-fpermissive]
(dvoid *) session_pool->err, OCI_SPD_FORCE));
^
/var/tmp/oci8/php_oci8_int.h:302:8: note: in definition of macro 'PHP_OCI_CALL'
func params; \
^
In file included from /usr/include/oracle/12.2/client64/oci.h0,
from /var/tmp/oci8/php_oci8_int.h:58,
from /var/tmp/oci8/oci8.c:49:
/usr/include/oracle/12.2/client64/ociap.h7: error: initializing argument 2 of 'sword OCISessionPoolDestroy(OCISPool*, OCIError*, ub4)' [-fpermissive]
sword OCISessionPoolDestroy (OCISPool *spoolhp,
^
make: *** [oci8.lo] Error 1
ERROR: `make' failed
anyone can help me please
from /var/tmp/oci8/oci8.c:49:
/usr/include/oracle/12.2/client64/ociap.h7: error: initializing argument 1 of 'sword OCISessionPoolDestroy(OCISPool*, OCIError*, ub4)' [-fpermissive]
sword OCISessionPoolDestroy (OCISPool *spoolhp,
^
In file included from /var/tmp/oci8/oci8.c:49:0:
/var/tmp/oci8/oci8.c46: error: invalid conversion from 'void*' to 'OCIError*' [-fpermissive]
(dvoid *) session_pool->err, OCI_SPD_FORCE));
^
/var/tmp/oci8/php_oci8_int.h:302:8: note: in definition of macro 'PHP_OCI_CALL'
func params; \
^
In file included from /usr/include/oracle/12.2/client64/oci.h0,
from /var/tmp/oci8/php_oci8_int.h:58,
from /var/tmp/oci8/oci8.c:49:
/usr/include/oracle/12.2/client64/ociap.h7: error: initializing argument 2 of 'sword OCISessionPoolDestroy(OCISPool*, OCIError*, ub4)' [-fpermissive]
sword OCISessionPoolDestroy (OCISPool *spoolhp,
^
make: *** [oci8.lo] Error 1
ERROR: `make' failed
anyone can help me please