php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10245 Error when compiling with Oracle support
Submitted: 2001-04-09 11:47 UTC Modified: 2001-04-09 11:51 UTC
From: mmontero at mail dot communityconnect dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (09/04/2001) OS: RedHat Linux 7.0
Private report: No CVE-ID: None
 [2001-04-09 11:47 UTC] mmontero at mail dot communityconnect dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-09 11:51 UTC] jmoore@php.net
Jani fixed this in CVS.

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC