From: lbc102 at 163 dot com Operating system: linux 2.4.21-32.E PHP version: 5.1.4 PHP Bug Type: OCI8 related Bug description: oci8 make procedure mistake
Description: ------------ hi,seniors,i install oci8 with php5 and oracle10g,i find a mistake when i execute make like this: [EMAIL PROTECTED] php-5.1.4]# make /bin/sh /root/software/php-5.1.4/libtool --silent --preserve-dup-deps --mode=compile /root/software/php-5.1.4/meta_ccld -Iext/oci8/ -I/root/software/php-5.1.4/ext/oci8/ -DPHP_ATOM_INC -I/root/software/php-5.1.4/include -I/root/software/php-5.1.4/main -I/root/software/php-5.1.4 -I/usr/local/include/libxml2 -I/root/software/php-5.1.4/ext/date/lib -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/gd-2.0.28/ -I/usr/local/mysql/include -I/u01/app/oracle/product/10.1.0/db_1//rdbms/public -I/u01/app/oracle/product/10.1.0/db_1//rdbms/demo -I/u01/app/oracle/product/10.1.0/db_1//plsql/public -I/root/software/php-5.1.4/TSRM -I/root/software/php-5.1.4/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /root/software/php-5.1.4/ext/oci8/oci8_lob.c -o ext/oci8/oci8_lob.lo In file included from /root/software/php-5.1.4/ext/oci8/oci8_lob.c:43: /root/software/php-5.1.4/ext/oci8/php_oci8_int.h:328: syntax error before "oraub8" /root/software/php-5.1.4/ext/oci8/oci8_lob.c:150: syntax error before "oraub8" /root/software/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_callback': /root/software/php-5.1.4/ext/oci8/oci8_lob.c:155: `len' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:155: (Each undeclared identifier is reported only once /root/software/php-5.1.4/ext/oci8/oci8_lob.c:155: for each function it appears in.) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:156: `ctxp' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:158: `piece' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:162: `bufxp' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_read': /root/software/php-5.1.4/ext/oci8/oci8_lob.c:220: `oraub8' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:220: syntax error before "bytes_read" /root/software/php-5.1.4/ext/oci8/oci8_lob.c:248: `requested_len' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:259: `offset' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:288: `chars_read' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:289: `bytes_read' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:315: syntax error before ')' token /root/software/php-5.1.4/ext/oci8/oci8_lob.c:315: syntax error before ')' token /root/software/php-5.1.4/ext/oci8/oci8_lob.c:315: syntax error before "offset" make: *** [ext/oci8/oci8_lob.lo] Error 1 i ensure oci8_lob.c is the lastest version but i can not find the "oraub8" in any *.h head files,is this a bug or i miss some head files? help me thanks a lot Reproduce code: --------------- [EMAIL PROTECTED] php-5.1.4]# make /bin/sh /root/software/php-5.1.4/libtool --silent --preserve-dup-deps --mode=compile /root/software/php-5.1.4/meta_ccld -Iext/oci8/ -I/root/software/php-5.1.4/ext/oci8/ -DPHP_ATOM_INC -I/root/software/php-5.1.4/include -I/root/software/php-5.1.4/main -I/root/software/php-5.1.4 -I/usr/local/include/libxml2 -I/root/software/php-5.1.4/ext/date/lib -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/gd-2.0.28/ -I/usr/local/mysql/include -I/u01/app/oracle/product/10.1.0/db_1//rdbms/public -I/u01/app/oracle/product/10.1.0/db_1//rdbms/demo -I/u01/app/oracle/product/10.1.0/db_1//plsql/public -I/root/software/php-5.1.4/TSRM -I/root/software/php-5.1.4/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /root/software/php-5.1.4/ext/oci8/oci8_lob.c -o ext/oci8/oci8_lob.lo In file included from /root/software/php-5.1.4/ext/oci8/oci8_lob.c:43: /root/software/php-5.1.4/ext/oci8/php_oci8_int.h:328: syntax error before "oraub8" /root/software/php-5.1.4/ext/oci8/oci8_lob.c:150: syntax error before "oraub8" /root/software/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_callback': /root/software/php-5.1.4/ext/oci8/oci8_lob.c:155: `len' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:155: (Each undeclared identifier is reported only once /root/software/php-5.1.4/ext/oci8/oci8_lob.c:155: for each function it appears in.) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:156: `ctxp' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:158: `piece' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:162: `bufxp' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_read': /root/software/php-5.1.4/ext/oci8/oci8_lob.c:220: `oraub8' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:220: syntax error before "bytes_read" /root/software/php-5.1.4/ext/oci8/oci8_lob.c:248: `requested_len' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:259: `offset' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:288: `chars_read' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:289: `bytes_read' undeclared (first use in this function) /root/software/php-5.1.4/ext/oci8/oci8_lob.c:315: syntax error before ')' token /root/software/php-5.1.4/ext/oci8/oci8_lob.c:315: syntax error before ')' token /root/software/php-5.1.4/ext/oci8/oci8_lob.c:315: syntax error before "offset" make: *** [ext/oci8/oci8_lob.lo] Error 1 Expected result: ---------------- make procedure success -- Edit bug report at http://bugs.php.net/?id=38029&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38029&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38029&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38029&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38029&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38029&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38029&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38029&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38029&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38029&r=support Expected behavior: http://bugs.php.net/fix.php?id=38029&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38029&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38029&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38029&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38029&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38029&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38029&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38029&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38029&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38029&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38029&r=mysqlcfg