From: renneyt at yahoo dot com
Operating system: SunOS 5.7 Generic_106541-25
PHP version: 5.0.0b3 (beta3)
PHP Bug Type: Compile Failure
Bug description: compile error
Description:
------------
cc: WorkShop Compilers 5.0 98/12/15 C 5.0
CFLAGS=-mt -fast -xCC
Oracle 8.1.7.0.0
./configure --with-pgsql --with-oracle
--with-apxs2=/usr/local/apache2/bin/apxs --with-oci8
--with-unixODBC --with-pgsql --enable-sockets --enable-dba
--with-dbm --with-zlib --enab
le-sysvmsg --enable-sysvsem --enable-sysvshm
--disable-libxml
----
/bin/sh /opt/sft/php5-200401230230/libtool --silent --preserve-dup-deps
--mode=compile cc -I
ext/oci8/ -I/opt/sft/php5-200401230230/ext/oci8/ -DPHP_ATOM_INC
-I/opt/sft/php5-200401230230/
include -I/opt/sft/php5-200401230230/main -I/opt/sft/php5-200401230230
-I/opt/sft/php5-200401
230230/Zend -I/usr/local/include
-I/u01/app/oracle/product/primary/rdbms/public -I/u01/app/or
acle/product/primary/rdbms/demo -I/usr/local/pgsql/include
-D_POSIX_PTHREAD_SEMANTICS -I/opt
/sft/php5-200401230230/TSRM -mt -fast -xCC -prefer-pic -c
/opt/sft/php5-200401230230/ext/oc
i8/oci8.c -o ext/oci8/oci8.lo
"/opt/sft/php5-200401230230/Zend/zend_constants.h", line 65: warning:
syntax error: empty de
claration
"/opt/sft/php5-200401230230/Zend/zend_ini.h", line 85: warning: syntax
error: empty declarat
ion
"/opt/sft/php5-200401230230/Zend/zend_ini.h", line 111: warning: syntax
error: empty declara
tion
"/opt/sft/php5-200401230230/Zend/zend_ini.h", line 175: warning: syntax
error: empty declara
tion
"/opt/sft/php5-200401230230/Zend/zend_ini.h", line 181: warning: syntax
error: empty declara
tion
"/opt/sft/php5-200401230230/Zend/zend_ini.h", line 194: warning: syntax
error: empty declara
tion
"/opt/sft/php5-200401230230/Zend/zend_ini.h", line 196: warning: syntax
error: empty declara
tion
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 840: syntax error
before or at: *
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 841: undefined symbol:
descr
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 841: left operand of
"->" must be pointer
to struct/union
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 841: non-unique member
requires struct/uni
on pointer: type
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 841: left operand of
"->" must be pointer
to struct/union
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 841: non-unique member
requires struct/uni
on pointer: type
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 841: left operand of
"->" must be pointer
to struct/union
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 842: warning: improper
pointer/integer com
bination: arg #1
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 843: left operand of
"->" must be pointer
to struct/union
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 4052: warning: argument
#3 is incompatible
with prototype:
prototype: pointer to uint :
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 218
argument : pointer to int
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 4129: warning: argument
#3 is incompatible
with prototype:
prototype: pointer to uint :
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 218
argument : pointer to int
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 4807: warning:
initializer does not fit or
is out of range: -1
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6012: warning:
assignment type mismatch:
pointer to uchar "=" pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6013: warning:
assignment type mismatch:
pointer to uchar "=" pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6014: warning:
assignment type mismatch:
pointer to uchar "=" pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6018: warning: argument
#1 is incompatible
with prototype:
prototype: pointer to const char : "/usr/include/string.h", line
71
argument : pointer to uchar
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6018: warning: argument
#1 is incompatible
with prototype:
prototype: pointer to const char : "/usr/include/string.h", line
71
argument : pointer to uchar
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6018: warning: argument
#1 is incompatible
with prototype:
prototype: pointer to const char : "/usr/include/string.h", line
71
argument : pointer to uchar
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6332: warning: argument
#2 is incompatible
with prototype:
prototype: pointer to uchar :
"/u01/app/oracle/product/primary/rdbms/demo/orl.h", lin
e 2135
argument : pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6369: warning: argument
#3 is incompatible
with prototype:
prototype: pointer to uchar :
"/u01/app/oracle/product/primary/rdbms/demo/orl.h", lin
e 2559
argument : pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6514: warning: argument
#7 is incompatible
with prototype:
prototype: pointer to uint :
"/u01/app/oracle/product/primary/rdbms/demo/orl.h", line
2083
argument : pointer to int
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6514: warning: argument
#8 is incompatible
with prototype:
prototype: pointer to uchar :
"/u01/app/oracle/product/primary/rdbms/demo/orl.h", lin
e 2083
argument : pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6531: warning:
assignment type mismatch:
pointer to char "=" pointer to uchar
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6531: warning: argument
#1 is incompatible
with prototype:
prototype: pointer to const char : "/usr/include/string.h", line
71
argument : pointer to uchar
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6679: warning: argument
#2 is incompatible
with prototype:
prototype: pointer to uchar :
"/u01/app/oracle/product/primary/rdbms/demo/orl.h", lin
e 2135
argument : pointer to char
"/opt/sft/php5-200401230230/ext/oci8/oci8.c", line 6716: warning: argument
#3 is incompatible
with prototype:
prototype: pointer to uchar :
"/u01/app/oracle/product/primary/rdbms/demo/orl.h", lin
e 2559
argument : pointer to char
cc: acomp failed for /opt/sft/php5-200401230230/ext/oci8/oci8.c
gmake: *** [ext/oci8/oci8.lo] Error 1
--
Edit bug report at http://bugs.php.net/?id=27016&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27016&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27016&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27016&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27016&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27016&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27016&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27016&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27016&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27016&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27016&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27016&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27016&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27016&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27016&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27016&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27016&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27016&r=float