#21795 [Opn->Fbk]: Undeclared statement in oci8.c
| From: | sniper@php.net | Date: | Thu, 23 Jan 2003 16:34:09 +0000 |
| Subject: | #21795 [Opn->Fbk]: Undeclared statement in oci8.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31075@lists.php.net to get a copy of this message | ||
ID: 21795
Updated by: sniper@php.net
Reported By: chris@schaake.nu
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Redhat 7.1
PHP Version: 4.3.0
New Comment:
And the used Oracle version here is?
Previous Comments:
------------------------------------------------------------------------
[2003-01-21 08:37:57] chris@schaake.nu
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 this bug report at http://bugs.php.net/?id=21795&edit=1