From:             
Operating system: RedHat Entreprise Linux 5 x86_64
PHP version:      5.4.0
Package:          Compile Failure
Bug Type:         Bug
Bug description:Compile failure with OCI8 - instantclient 11.2

Description:
------------
Trying to compile PHP 5.4.0 with Oracle Instant Client 11.2 and I receive
the following error:

~# ./configure ...
--with-oci8=instantclient,/usr/lib/oracle/11.2/client64/lib \
...

~# make
....
/bin/sh /data/pkgs/ws/php-5.4.0/libtool --silent --preserve-dup-deps
--mode=compile /data/pkgs/ws/php-5.4.0/meta_ccld -DLDAP_DEPRECATED=1
-Iext/ldap/ -I/data/pkgs/ws/php-5.4.0/ext/ldap/ -DPHP_ATOM_INC
-I/data/pkgs/ws/php-5.4.0/include -I/data/pkgs/ws/php-5.4.0/main
-I/data/pkgs/ws/php-5.4.0 -I/data/pkgs/ws/php-5.4.0/ext/date/lib
-I/data/pkgs/ws/php-5.4.0/ext/ereg/regex -I/usr/include/libxml2
-I/usr/kerberos/include -I/usr/include/freetype2
-I/data/pkgs/ws/php-5.4.0/ext/mbstring/oniguruma
-I/data/pkgs/ws/php-5.4.0/ext/mbstring/libmbfl
-I/data/pkgs/ws/php-5.4.0/ext/mbstring/libmbfl/mbfl -I/usr//include/mysql
-I/usr/include/mysql -I/usr/include/oracle/11.2/client64
-I/data/pkgs/ws/php-5.4.0/ext/sqlite3/libsqlite
-I/data/pkgs/ws/php-5.4.0/TSRM -I/data/pkgs/ws/php-5.4.0/Zend  -D_REENTRANT
 -I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS  -c
/data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c -o ext/ldap/ldap.lo
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:68:1: attention : «
LBER_CLASS_UNIVERSAL » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:52:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:69:1: attention : «
LBER_CLASS_APPLICATION » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:53:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:70:1: attention : «
LBER_CLASS_CONTEXT » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:54:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:71:1: attention : «
LBER_CLASS_PRIVATE » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:55:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:72:1: attention : «
LBER_CLASS_MASK » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:56:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:75:1: attention : «
LBER_PRIMITIVE » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:59:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:76:1: attention : «
LBER_CONSTRUCTED » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:60:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:77:1: attention : «
LBER_ENCODING_MASK » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:61:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:79:1: attention : «
LBER_BIG_TAG_MASK » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:63:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:80:1: attention : «
LBER_MORE_TAG_MASK » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:64:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:88:1: attention : « LBER_ERROR »
redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:74:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:89:1: attention : « LBER_DEFAULT
» redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:75:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:92:1: attention : « LBER_BOOLEAN
» redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:78:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:93:1: attention : « LBER_INTEGER
» redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:79:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:94:1: attention : «
LBER_BITSTRING » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:80:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:95:1: attention : «
LBER_OCTETSTRING » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:81:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:96:1: attention : « LBER_NULL »
redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:82:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:97:1: attention : «
LBER_ENUMERATED » redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:83:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:98:1: attention : « LBER_SEQUENCE
» redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:84:1: attention : ceci est la localisation d'une
précédente définition
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:99:1: attention : « LBER_SET »
redéfini
Dans le fichier inclus à partir de
/data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:27,
          à partir de /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/lber.h:85:1: attention : ceci est la localisation d'une
précédente définition
In file included from /data/pkgs/ws/php-5.4.0/ext/ldap/php_ldap.h:30,
                 from /data/pkgs/ws/php-5.4.0/ext/ldap/ldap.c:45:
/usr/include/oracle/11.2/client64/ldap.h:183: erreur: redefinition of
'struct berval'
make: *** [ext/ldap/ldap.lo] Erreur 1
~#



-- 
Edit bug report at https://bugs.php.net/bug.php?id=61474&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=61474&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=61474&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=61474&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=61474&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61474&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=61474&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=61474&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=61474&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=61474&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=61474&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=61474&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=61474&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=61474&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=61474&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=61474&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61474&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=61474&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=61474&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=61474&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=61474&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=61474&r=mysqlcfg

Reply via email to