php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40297 oci8.c compilation error
Submitted: 2007-01-31 12:28 UTC Modified: 2007-01-31 14:09 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: aevdokimov at sitels dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.0 OS: Solaris 9 SPARC
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aevdokimov at sitels dot ru
New email:
PHP Version: OS:

 

 [2007-01-31 12:28 UTC] aevdokimov at sitels dot ru
Description:
------------
When compiling PHP 5.2.0 with Oracle support, compilation fails:

# make
/bin/sh /opt/distrib/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile /opt/distrib/php-5.2.0/meta_ccld  -Iext/oci8/ -I/opt/distrib/php-5.2.0/ext/oci8/ -DPHP_ATOM_INC -I/opt/distrib/php-5.2.0/include -I/opt/distrib/php-5.2.0/main -I/opt/distrib/php-5.2.0 -I/opt/distrib/php-5.2.0/ext/date/lib -I/oracle/92/rdbms/public -I/oracle/92/rdbms/demo -I/oracle/92/plsql/public -I/opt/distrib/php-5.2.0/TSRM -I/opt/distrib/php-5.2.0/Zend  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -I/usr/local/include -g -mt -DZTS   -c /opt/distrib/php-5.2.0/ext/oci8/oci8.c -o ext/oci8/oci8.lo
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 434: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
        argument : pointer to unsigned char
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 649: undefined symbol: le_collection
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 914: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
        argument : pointer to unsigned char
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 921: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/opt/distrib/php-5.2.0/Zend/zend_alloc.h", line 50
        argument : pointer to unsigned char
"/opt/distrib/php-5.2.0/ext/oci8/oci8.c", line 921: warning: assignment type mismatch:
        pointer to unsigned char "=" pointer to char
cc: acomp failed for /opt/distrib/php-5.2.0/ext/oci8/oci8.c
*** Error code 1
make: Fatal error: Command failed for target `ext/oci8/oci8.lo'

I'm using 64-bit Oracle 9.2.0.8 EE (server installation), $ORACLE_HOME is /oracle/92


Expected result:
----------------
Successful compilation


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-31 12:43 UTC] tony2001@php.net
Could you please upload your config.log somewhere?
I'm just curious why collections support is missing in your Oracle version.
 [2007-01-31 12:52 UTC] aevdokimov at sitels dot ru
Hi!

Try this link - http://www.my-files.ru/config.log
 [2007-01-31 14:09 UTC] aevdokimov at sitels dot ru
I've noticed some wierd messages in config.log complaining on duplicate software installed in /usr/local (there are some freeware packages from sunfreeware.com) and /opt/esw, which is used as a root for all freeware that is compiled and installed on this machine. Removing /usr/local/... from my environment variables ($PATH, $LD_LIBRARY_PATH, etc.) has not helped - it seems to me that this path is hardcoded into PHP (I do now that /usr/local is 'standard' location for software in Linux, but not for Solaris). So I've removed /usr/local directory from my machine and compilation succeeded. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 08:01:27 2024 UTC