Precompile Program with #include "pthread" Fails With PCC-S-02201 (Doc ID 222505.1)

Last updated on AUGUST 08, 2017

Applies to:

Precompilers - Version 9.2.0.8 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Jul-2013***

Symptoms

Precompiling a program fails with:

Syntax error at line ###, column ###, file /usr/include/sys/var.h: __cptr64        ve_lock;   /* RO: ptr to end of recordlock table*/
PCC-S-02201, Encountered the symbol '%s' when expecting one of the following

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