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.
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.