php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #10636 php_oci8.c -- undefined constants
Submitted: 2001-05-03 11:52 UTC Modified: 2002-06-08 11:15 UTC
From: cynic@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.5 OS: NT 5 SP 1
Private report: No CVE-ID: None
 [2001-05-03 11:52 UTC] cynic@php.net
this is what I got when I tried to build php_oci8.dll from the latest snapshot:

--------------------Configuration: oci8 - Win32 Release_TS--------------------
Compiling...
oci8.c
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(2839) : warning C4018: '>=' : signed/unsigned mismatch
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3130) : warning C4018: '!=' : signed/unsigned mismatch
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3215) : warning C4013: 'OCILobCreateTemporary' undefined; assuming extern returning int
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3220) : error C2065: 'OCI_TEMP_CLOB' : undeclared identifier
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3231) : warning C4013: 'OCILobOpen' undefined; assuming extern returning int
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3234) : error C2065: 'OCI_LOB_READWRITE' : undeclared identifier
D:\compile\php\php4-200105030645\ext\oci8\oci8.c(3298) : warning C4013: 'OCILobClose' undefined; assuming extern returning int
Error executing xicl6.exe.

php_oci8.dll - 2 error(s), 5 warning(s)


I haven't tried to build the oci extension for several months, but it used to work, and I haven't touched the orant directory since, nor the include nor library paths in MSVC.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-03 13:36 UTC] cynic@php.net
oh, it's actually php4-200105030645, not 4.0.5
 [2001-05-07 11:33 UTC] cynic@php.net
thies sez:

    what version of oci are compiling against? i bet it's 8.0.x!

    please take out the HAVE_OCI8_TEMP_LOB=1 in the
    compiler-setting for oci8 - and you should be all set.

    aou could also upgrade the client to 8.1.x to make the error
    go-away!


really, this is the case. thies, do you think you could add a note on this to the manual?
 [2001-05-07 11:34 UTC] cynic@php.net
-> docuprob
 [2001-07-22 19:13 UTC] joey@php.net
Had an empty status, appears to be open?
 [2002-06-08 11:15 UTC] mfischer@php.net
Document where? We aren't documenting how to compile certain extension itself in the manual. Reopen if you've an idea about this (and if this issue is still valid).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC