Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Posts
    1

    Unanswered: Pro*C Compilation Error

    I am getting the following compilation error in Pro*C:
    PCC-F-02104, Unable to connect to Oracle. This occurs when i try to compile using a makefile. I am able to compile at the command prompt without any errors.


    Could please suggest me to resolve this error?

  2. #2
    Join Date
    Mar 2002
    Location
    Reading, UK
    Posts
    1,137
    It sounds like the precompiler is failing to connect to oracle. When it does the precompile proc connects to oracle to check the validity of any DML sql statements. For some reason when you use the makefile proc cant connect to your database. This suggests some problem with your environment variables possibly such as ORACLE_SID, ORACLE_HOME etc. See the SQLCHECK option for proc.

    Alan

Posting Permissions

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