RE: [PECL-DEV] CVS oci8 build is broken

From: Date: Wed, 21 Jun 2006 15:48:44 +0000
Subject: RE: [PECL-DEV] CVS oci8 build is broken
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3925@lists.php.net to get a copy of this message
Hmm, I thought we were using branches at some point. Am I dreaming? >-----Original Message----- >From: Antony Dovgal [mailto:antony@zend.com] >Sent: Wednesday, June 21, 2006 3:53 AM >To: Enver ALTIN >Cc: pecl-dev@lists.php.net; wez@php.net; andi@zend.com >Subject: Re: [PECL-DEV] CVS oci8 build is broken > >This is yet another argument against using symlinks between >PHP and PECL. >And yet another argument for using branches in PECL instead of >blindly assuming that PECL HEAD should compile with any PHP >version on earth. > >Fixed in CVS, though. > >On 21.06.2006 14:14, Enver ALTIN wrote: >> Hi, >> >> I'm trying to get oci8 from CVS going with no luck: >> >> /bin/sh /home/skyblue/cvs/pecl/oci8/libtool >--mode=compile gcc -I. -I/home/skyblue/cvs/pecl/oci8 >-DPHP_ATOM_INC -I/home/skyblue/cvs/pecl/oci8/include >-I/home/skyblue/cvs/pecl/oci8/main >-I/home/skyblue/cvs/pecl/oci8 -I/usr/include/php4 >-I/usr/include/php4/main -I/usr/include/php4/Zend >-I/usr/include/php4/TSRM >-I/opt/oracleinstantclient/sdk/include -DHAVE_CONFIG_H >-march=i686 -mcpu=pentium4 -O2 -fomit-frame-pointer -c >/home/skyblue/cvs/pecl/oci8/oci8.c -o oci8.lo >> gcc -I. -I/home/skyblue/cvs/pecl/oci8 -DPHP_ATOM_INC >-I/home/skyblue/cvs/pecl/oci8/include >-I/home/skyblue/cvs/pecl/oci8/main >-I/home/skyblue/cvs/pecl/oci8 -I/usr/include/php4 >-I/usr/include/php4/main -I/usr/include/php4/Zend >-I/usr/include/php4/TSRM >-I/opt/oracleinstantclient/sdk/include -DHAVE_CONFIG_H >-march=i686 -mcpu=pentium4 -O2 -fomit-frame-pointer -c >/home/skyblue/cvs/pecl/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o >> /home/skyblue/cvs/pecl/oci8/oci8.c:53: warning: >parameter names (without types) in function declaration >> /home/skyblue/cvs/pecl/oci8/oci8.c:375: error: `oci' >undeclared here (not in a function) >> /home/skyblue/cvs/pecl/oci8/oci8.c:375: error: >initializer element is not constant >> /home/skyblue/cvs/pecl/oci8/oci8.c:375: error: (near >initialization for `oci8_module_entry.global_startup_func') >> /home/skyblue/cvs/pecl/oci8/oci8.c:376: error: `oci' >undeclared here (not in a function) >> /home/skyblue/cvs/pecl/oci8/oci8.c:376: error: >initializer element is not constant >> /home/skyblue/cvs/pecl/oci8/oci8.c:376: error: (near >initialization for `oci8_module_entry.global_shutdown_func') >> /home/skyblue/cvs/pecl/oci8/oci8.c:377: warning: >initialization makes integer from pointer without a cast >> /home/skyblue/cvs/pecl/oci8/oci8.c:378: warning: >initialization makes integer from pointer without a cast >> /home/skyblue/cvs/pecl/oci8/oci8.c:379: warning: >excess elements in struct initializer >> /home/skyblue/cvs/pecl/oci8/oci8.c:379: warning: (near >initialization for `oci8_module_entry') >> /home/skyblue/cvs/pecl/oci8/oci8.c:380: warning: >excess elements in struct initializer >> /home/skyblue/cvs/pecl/oci8/oci8.c:380: warning: (near >initialization for `oci8_module_entry') >> /home/skyblue/cvs/pecl/oci8/oci8.c: In function >`PHP_GINIT_FUNCTION': >> /home/skyblue/cvs/pecl/oci8/oci8.c:467: error: >incompatible types in initialization >> /home/skyblue/cvs/pecl/oci8/oci8.c:467: error: >incompatible types in initialization >> /home/skyblue/cvs/pecl/oci8/oci8.c:467: error: >incompatible types in initialization >> /home/skyblue/cvs/pecl/oci8/oci8.c:467: error: >incompatible type for argument 1 of `memset' >> make: *** [oci8.lo] Error 1 >> >> Could you please help me get it compiled? I'm trying to fix an issue >> I'm having with persistent Oracle connections. >> >> Thanks, > > >-- >Wbr, >Antony Dovgal >

« previous php.pecl.dev (#3925) next »