Pro*C Precompilation Fails With PCC-S-02201 And PCC-F-02102 (Doc ID 1265149.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 18th Mar 2016***

Symptoms

Precompilation fails with PCC-S-02201 and PCC-F-02102. 
Actual Error Message: 
PCC-S-02201, Encountered the symbol "lwp_mutex_t" when expecting one of the following:
  } char, const, double, enum, float, int, long, ulong_varchar,
  OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
  OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
  OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
  struct, union, unsigned, utext, uvarchar, varchar, void,
  volatile, a typedef name,
Syntax error at line 0, column 0, file /t1vps/NC11_CORE_consol_prd_080710/dll//reversaldll.pc:
Error at line 0, column 0 in file /t1vps/NC11_CORE_consol_prd_080710/dll//reversaldll.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:   
; : an identifier, end-exec, random_terminal
Error at line 0, column 0 in file /t1vps/NC11_CORE_consol_prd_080710/dll//reversaldll.pc  
PCC-F-02102, Fatal error while doing C preprocessing
- Precompiler works for other programs that do not contain synch.h

Changes

Migrating to another Operating System or changing the Operating System version e.g., Solaris x86-64 bit Version 9 to Solaris x86-64 bit Version 10. 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms