PHP 4.0 Bug #10245: Error when compiling with Oracle support
| From: | mmontero at mail dot communityconnect dot com | Date: | Mon, 09 Apr 2001 15:47:25 +0000 |
| Subject: | PHP 4.0 Bug #10245: Error when compiling with Oracle support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51210@lists.php.net to get a copy of this message | ||
From: mmontero@mail.communityconnect.com
Operating system: RedHat Linux 7.0
PHP version: 4.0 Latest CVS (09/04/2001)
PHP Bug Type: Compile Failure
Bug description: Error when compiling with Oracle support
When compiling the latest version with Oracle support I get the following:
oracle.c: In function `php_minit_oracle':
oracle.c:294: warning: passing arg 1 of `zend_register_list_destructors_ex' from incompatible
pointer type
oracle.c:295: warning: passing arg 2 of `zend_register_list_destructors_ex' from incompatible
pointer type
oracle.c: In function `php_info_oracle':
oracle.c:1534: `PHP_ORACLE_DIR' undeclared (first use in this function)
oracle.c:1534: (Each undeclared identifier is reported only once
oracle.c:1534: for each function it appears in.)
oracle.c:1535: `PHP_ORACLE_SHARED_LIBADD' undeclared (first use in this function)
make[3]: *** [oracle.lo] Error 1
make[3]: Leaving directory `/usr/src/INSTALLED_SOFTWARE/php4/ext/oracle'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/INSTALLED_SOFTWARE/php4/ext/oracle'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/INSTALLED_SOFTWARE/php4/ext'
make: *** [all-recursive] Error 1
I have configured with the following:
"./configure" \
"--with-config-file-path=/mnt/raid/RAID00_5/opt/common/linux/php/config" \
"--with-mysql=/opt/db/mysql/product/3.23.29a-gamma/" \
"--with-oracle=/opt/db/oracle/product/current/" \
"--with-mcrypt=/usr/local/lib/" \
"--prefix=/web/webny/adm/php" \
"--with-oci8=/opt/db/oracle/product/current/" \
"--with-curl=/usr/local/lib/" \
"--disable-posix " \
"$@"
I downloaded and installed the latest CVS tree on April 6th without this warning.
Thanks.
--
Edit Bug report at: http://bugs.php.net/?id=10245&edit=1