Re: OCI8 compile error( dword not defined ) and PHP.4.2.2 Linux

From: Date: Thu, 22 Aug 2002 12:23:49 +0000
Subject: Re: OCI8 compile error( dword not defined ) and PHP.4.2.2 Linux
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-8190@lists.php.net to get a copy of this message
On Thu, Aug 22, 2002 at 10:39:23AM +0100, Miguel Carvalho wrote: > Hi, > > i'm trying to compile OCI8 support on PHP-4.2.2.2, on Redhat 7.2 but i get > an error that says that something like this: 'the dword type is not > defined'. > I have suceffuly installed the same Oracle version 8.0.2 on PHP-4.2.1 on a > Suse 7.x box. > I have also read at google that this is a header file version problem. > > We dont have any version later that 8.0.2. We are using OCI8 to connect to > a 7.x server. > I have inspected the source code of oci8.c and found that the problem > apears on parts of code that contains cast's to dword pointers. > Is there any other safe type that i case use intead of the dword type? > > If any one have another solution other that mine, please share it. add: typedef signed int dword; at the top of oci8.c. BTW: oracle 8.1 9.x are all downloadable from technet.oracle.com. 8.0.2 is _VERY_ old! tc

« previous php.install (#8190) next »