Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003
    Posts
    2

    Question Unanswered: Strange Problem of proc with oci.h

    I have Oracle client (programmer) 8.1.7 installed on Red Hat 7.2.

    When I precompile $ORALCE_HOME/precomp/demo/proc/sample4.pc ,
    the process of 'proc' do not complete , but increasing it's memory usage rapidly.

    And the same problem appealed when I precompiled one of my own pro*c program.

    I find that it was because of the header file "oci.h".

    It was good that I precompil sample1.pc.

    And it's good too when I precompile my own pro*c program after I had deleted the included line "oci.h".

  2. #2
    Join Date
    Jan 2003
    Location
    Woking
    Posts
    107

    Re: Strange Problem of proc with oci.h

    Originally posted by cairong
    I have Oracle client (programmer) 8.1.7 installed on Red Hat 7.2.

    When I precompile $ORALCE_HOME/precomp/demo/proc/sample4.pc ,
    the process of 'proc' do not complete , but increasing it's memory usage rapidly.

    And the same problem appealed when I precompiled one of my own pro*c program.

    I find that it was because of the header file "oci.h".

    It was good that I precompil sample1.pc.

    And it's good too when I precompile my own pro*c program after I had deleted the included line "oci.h".
    Hi,
    Are you using the default make file (*.mk file) or is it a customized file.
    because the paths for the libraries and headers are present in the
    make file. verify it.
    nn

  3. #3
    Join Date
    Apr 2003
    Posts
    2

    Re: Strange Problem of proc with oci.h

    Originally posted by NoviceNo1
    Hi,
    Are you using the default make file (*.mk file) or is it a customized file.
    because the paths for the libraries and headers are present in the
    make file. verify it.

    Thanks for reply !

    I used my own compiling command --

    proc include=/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include include=/$ORACLE_HOME/rdbms/demo include=/$ORACLE_HOME/rdbms/public include=/$ORACLE_HOME/network/public include=/$ORACLE_HOME/plsql/public iname=sample4.pc

    It didn't complete and none of any error message.

    But it completed quickly when I executed this ---

    proc include=/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include include=/$ORACLE_HOME/rdbms/demo include=/$ORACLE_HOME/rdbms/public include=/$ORACLE_HOME/network/public include=/$ORACLE_HOME/plsql/public iname=sample1.pc

    When I deleted the line "#include <oci.h>" of sample4.pc, the proc reported errors as expect.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •