Home > database >  On the PHP centos6.5 compile oracle extension is always not success!
On the PHP centos6.5 compile oracle extension is always not success!

Time:09-27

Here is part of the error message, excuse me somebody know
The/usr/include/oracle/12.1/client64 ociap. H: 11097: note: expected 'struct OCIEnv *' regress argument is of type 'const struct zend_ini_entry *'
/home/oracleclient/oci8-2.1.3/oci8. C: 3232: warning: passing argument of 3 'OCISessionGet from incompatible pointer type
/usr/include/oracle/12.1/client64 ociap. H: 11097: note: expected 'struct OCISvcCtx * *' regress argument is of type 'const struct zend_ini_entry (*) [1]'
/home/oracleclient/oci8-2.1.3/oci8. C: 3232: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3247: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3247: error: 'php_oci_connection has no member named "SVC"
/home/oracleclient/oci8-2.1.3/oci8. C: 3247: error: 'php_oci_connection has no member named' server '
/home/oracleclient/oci8-2.1.3/oci8. C: 3247: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3249: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3249: error: 'php_oci_connection has no member named "SVC"
/home/oracleclient/oci8-2.1.3/oci8. C: 3249: error: 'php_oci_connection has no member named' session '
/home/oracleclient/oci8-2.1.3/oci8. C: 3249: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3252: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3252: error: 'php_oci_connection has no member named' session '
/home/oracleclient/oci8-2.1.3/oci8. C: 3252: error: 'php_oci_connection has no member named' next_pingp
'/home/oracleclient/oci8-2.1.3/oci8. C: 3252: warning: passing argument 1 of 'OCIContextGetValue discards the qualifiers from pointer target type
/usr/include/oracle/12.1/client64 ociap. H: 8007: note: expected "void *" regress argument is of type 'const struct zend_ini_entry *'
/home/oracleclient/oci8-2.1.3/oci8. C: 3252: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3258: error: 'php_oci_connection has no member named' next_pingp
'/home/oracleclient/oci8-2.1.3/oci8. C: 3264: error: 'php_oci_connection has no member named' next_pingp
'/home/oracleclient/oci8-2.1.3/oci8. C: 3264: error: invalid operands to binary & gt; (have 'zend_ini_entry' and 'int')
/home/oracleclient/oci8-2.1.3/oci8. C: 3264: error: 'php_oci_connection has no member named' next_pingp
'/home/oracleclient/oci8-2.1.3/oci8. C: 3264: error: invalid operands to binary & gt;=(have 'time_t' and 'zend_ini_entry)
/home/oracleclient/oci8-2.1.3/oci8. C: 3267: error: 'php_oci_connection has no member named' next_pingp
'/home/oracleclient/oci8-2.1.3/oci8. C: 3267: error: 'zend_oci_globals has no member named' ping_interval
'/home/oracleclient/oci8-2.1.3/oci8. C: 3267: error: the assignment of the read - only the location '* (const struct zend_ini_entry *) & amp; '
/home/oracleclient/oci8-2.1.3/oci8. C: 3270: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3270: error: 'php_oci_connection has no member named "SVC"
/home/oracleclient/oci8-2.1.3/oci8. C: 3270: error: 'php_oci_connection has no member named "err"
/home/oracleclient/oci8-2.1.3/oci8. C: 3270: warning: passing argument 1 of 'OCISessionRelease from incompatible pointer type
The/usr/include/oracle/12.1/client64 ociap. H: 11104: note: expected 'struct OCISvcCtx *' regress argument is of type 'const struct zend_ini_entry *'
/home/oracleclient/oci8-2.1.3/oci8. C: 3270: warning: passing argument of 2 'OCISessionRelease from incompatible pointer type
The/usr/include/oracle/12.1/client64 ociap. H: 11104: note: expected 'struct OCIError *' regress argument is of type 'const struct zend_ini_entry *'
/home/oracleclient/oci8-2.1.3/oci8. C: 3270: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3271: error: 'php_oci_connection has no member named "SVC"
/home/oracleclient/oci8-2.1.3/oci8. C: 3272: error: 'php_oci_connection has no member named' server '
/home/oracleclient/oci8-2.1.3/oci8. C: 3273: error: 'php_oci_connection has no member named' session '
/home/oracleclient/oci8-2.1.3/oci8. C: 3276: error: 'php_oci_connection has no member named "SVC"
/home/oracleclient/oci8-2.1.3/oci8. C: 3278: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3278: error: 'php_oci_connection has no member named "SVC"
/home/oracleclient/oci8-2.1.3/oci8. C: 3278: error: 'zend_oci_globals has no member named' in_call
'/home/oracleclient/oci8-2.1.3/oci8. C: 3286: error: 'php_oci_connection has no member named' is_stub
'nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related