Re: DBD::Oracle 1.18 installation problem



Lampang, Arman Elianto wrote:
<snipped>
erl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
-DORA_OCI_VERSION=\"8.1.
7.0\" Oracle.c
"Oracle.xs", line 269: undefined symbol: startp
"Oracle.xs", line 269: warning: argument #4 is incompatible with
prototype:
prototype: pointer to unsigned int :
"/u01/app/oracle/product/8.1.7/rdbm
s/demo/ociap.h", line 5838
argument : pointer to int
cc: acomp failed for Oracle.c
*** Error code 2
make: Fatal error: Command failed for target `Oracle.o'
I use perl 5.6.1 bundled with Solaris 10 and I got this error message
Do anyone can help me ?
regards
AEL
Edit Oracle.xs and a little before line 269 you will see startp definition commented out - uncomment it and try again.

Martin
.



Relevant Pages

  • Re: Unions Redux
    ... pointer casting. ... union U {double a; unsigned int b;} u; ... valid and aliasing rules don't work here. ...
    (comp.lang.c)
  • compiling ibcs on Debian 3.0 / 2.4.19 kernel and on Debian 2.2r5 / 2.2.26 kernel
    ... emulate.c:482: warning: initialization from incompatible pointer type ...
    (comp.os.linux.misc)
  • Re: confusion: casting function pointers
    ... pointer from the 'actual/other modules' that takes arguments of type ... list to types of void *). ... int main{ ... without a prototype, a number of special "promotion" rules take ...
    (comp.lang.c)
  • Re: Initializer element not constant
    ... unsigned int, which I assume is 32 bits, would cause a nasty run-time ... problem, since first if any of the upper 32 bits of the pointer are 1, ... an object of this type with static storage duration you are trying to ... So your compiler, with one set of options, is quite free to reject ...
    (comp.lang.c)
  • Re: unsigned __int64 typecast bug?
    ... The typecast does the correct thing for an unsigned int, ... I don't know if the conversion sequence from 32 bit pointer to 64 bit ... The compiler will sign-extend the pointer when it is assigned ...
    (microsoft.public.vc.language)