#21795 [NEW]: Undeclared statement in oci8.c
| From: | chris at schaake dot nu | Date: | Tue, 21 Jan 2003 14:37:57 +0000 |
| Subject: | #21795 [NEW]: Undeclared statement in oci8.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30830@lists.php.net to get a copy of this message | ||
From: chris@schaake.nu
Operating system: Redhat 7.1
PHP version: 4.3.0
PHP Bug Type: Compile Failure
Bug description: Undeclared statement in oci8.c
When building php4.3.0 with option --with-oci8 I get the following error
message when running 'make'
/bin/sh libtool --silent --mode=compile gcc -Iext/oci8/
-I/usr/src/php-4.3.0/ext/oci8/ -DPHP_ATOM_INC -I/usr/src/php-4.3.0/include
-I/usr/src/php-4.3.0/main -I/usr/src/php-4.3.0 -I/usr/src/php-4.3.0/Zend
-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/oracle/rdbms/demo
-I/usr/oracle/network/public -I/usr/oracle/plsql/public
-I/usr/src/php-4.3.0/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/usr/src/php-4.3.0/TSRM -g -O2
-prefer-pic -c /usr/src/php-4.3.0/ext/oci8/oci8.c -o ext/oci8/oci8.lo
/usr/src/php-4.3.0/ext/oci8/oci8.c: In function `zif_ocierror':
/usr/src/php-4.3.0/ext/oci8/oci8.c:4266: `OCI_ATTR_STATEMENT' undeclared
(first use in this function)
/usr/src/php-4.3.0/ext/oci8/oci8.c:4266: (Each undeclared identifier is
reported only once
/usr/src/php-4.3.0/ext/oci8/oci8.c:4266: for each function it appears
in.)
make: *** [ext/oci8/oci8.lo] Error 1
PHP 4.2.3 works fine with the same configure options.
(./configure --prefix=/usr --with-config-file-path=/etc --enable-pic
--enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs
--with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd
--with-jpeg=/usr --with-png --with-zlib --with-gdbm --enable-debugger
--enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-yp --enable-ftp
--enable-wddx --with-mysql --with-oci8 --with-xml --enable-sigchild
--with-ldap --with-expat --enable-xslt --with-xslt-sablot --with-dom
--with-pear)
--
Edit bug report at http://bugs.php.net/?id=21795&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21795&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21795&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21795&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21795&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21795&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21795&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21795&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21795&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21795&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21795&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21795&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21795&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21795&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21795&r=gnused