From: aevdokimov at sitels dot ru
Operating system: Solaris 9 SPARC
PHP version: 5.2.0
PHP Bug Type: Compile Failure
Bug description: oci8.c compilation error
Description:
------------
When compiling PHP 5.2.0 with Oracle support, compilation fails:
# make
/bin/sh /opt/distrib/php-5.2.0/libtool --silent --preserve-dup-deps
--mode=compile /opt/distrib/php-5.2.0/meta_ccld -Iext/oci8/
-I/opt/distrib/php-5.2.0/ext/oci8/ -DPHP_ATOM_INC
-I/opt/distrib/php-5.2.0/include -I/opt/distrib/php-5.2.0/main
-I/opt/distrib/php-5.2.0 -I/opt/distrib/php-5.2.0/ext/date/lib
-I/oracle/92/rdbms/public -I/oracle/92/rdbms/demo
-I/oracle/92/plsql/public -I/opt/distrib/php-5.2.0/TSRM
-I/opt/distrib/php-5.2.0/Zend -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include -g -mt -DZTS
-c /opt/distrib/php-5.2.0/ext/oci8/oci8.c -o ext/oci8/oci8.lo
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 434: warning: argument #1
is incompatible with prototype:
prototype: pointer to const char :
"/usr/include/iso/string_iso.h", line 70
argument : pointer to unsigned char
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 649: undefined symbol:
le_collection
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 914: warning: argument #1
is incompatible with prototype:
prototype: pointer to const char :
"/usr/include/iso/string_iso.h", line 70
argument : pointer to unsigned char
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 921: warning: argument #1
is incompatible with prototype:
prototype: pointer to const char :
"/opt/distrib/php-5.2.0/Zend/zend_alloc.h", line 50
argument : pointer to unsigned char
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 921: warning: assignment
type mismatch:
pointer to unsigned char "=" pointer to char
cc: acomp failed for /opt/distrib/php-5.2.0/ext/oci8/oci8.c
*** Error code 1
make: Fatal error: Command failed for target `ext/oci8/oci8.lo'
I'm using 64-bit Oracle 9.2.0.8 EE (server installation), $ORACLE_HOME is
/oracle/92
Expected result:
----------------
Successful compilation
--
Edit bug report at http://bugs.php.net/?id=40297&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=40297&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=40297&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=40297&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40297&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=40297&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40297&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40297&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40297&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40297&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40297&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=40297&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=40297&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40297&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40297&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40297&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40297&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40297&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40297&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40297&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40297&r=mysqlcfg