CVS oci8 build is broken
| From: | Enver ALTIN | Date: | Wed, 21 Jun 2006 10:14:13 +0000 |
| Subject: | CVS oci8 build is broken | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-3921@lists.php.net to get a copy of this message | ||
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,
--
Enver