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

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to