#21795 [Fbk->Opn]: Undeclared statement in oci8.c
| From: | chris at schaake dot nu | Date: | Fri, 24 Jan 2003 07:28:34 +0000 |
| Subject: | #21795 [Fbk->Opn]: Undeclared statement in oci8.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31116@lists.php.net to get a copy of this message | ||
ID: 21795
User updated by: chris@schaake.nu
Reported By: chris@schaake.nu
-Status: Feedback
+Status: Open
Bug Type: OCI8 related
Operating System: Redhat 7.1
PHP Version: 4.3.0
New Comment:
Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production
Previous Comments:
------------------------------------------------------------------------
[2003-01-23 10:34:09] sniper@php.net
And the used Oracle version here is?
------------------------------------------------------------------------
[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