Unable To Precompile On SLES10 Error PCC-S-02014 (Doc ID 786236.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version: 11.1.0.6.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

On SLES10 some precompilations (that usually  get to include compiler.h and sigcontext.h)
crash with the following error

 

************************************************************* 
Pro*C/C++: Release 11.1.0.6.0 - Production on Mon Jul 23 09:11:57 2007 

Copyright (c) 1982, 2007, Oracle. All rights reserved. 

System default option values taken from: 
/ade/aime5_loc/oracle/precomp/admin/pcscfg.cfg 

Syntax error at line 29, column 32, file /usr/include/linux/compiler.h: 
Error at line 29, column 32 in file /usr/include/linux/compiler.h 
# define __builtin_warning(x, y...) (1) 
...............................1 
PCC-S-02014, Encountered the symbol "..." when expecting one of the 
following: 

, ) 
The symbol ")" was substituted for "..." to continue. 

Syntax error at line 42, column 26, file /usr/include/linux/compiler.h: 
Error at line 42, column 26 in file /usr/include/linux/compiler.h 
# include <linux/compiler-gcc4.h> 
.........................1 
PCC-S-02014, Encountered the symbol "-" when expecting one of the following: 

: [ ] > + / . .. an identifier, a numeric constant, define, 
elif, else, endif, error, if, ifdef, ifndef, include, line, 
pragma, undef, exec, sql, begin, end, var, type, oracle, 
an immediate preprocessor command, a C token, create, 
function, package, procedure, trigger, or, replace, 

Syntax error at line 43, column 2, file /usr/include/linux/compiler.h: 
Error at line 43, column 2 in file /usr/include/linux/compiler.h 
#elif __GNUC__ == 3 
.1 
PCC-S-02014, Encountered the symbol "elif" when expecting one of the 
following: 

a numeric constant, newline, define, error, if, ifdef, 
ifndef, include, line, pragma, undef, 
an immediate preprocessor command, a C token, 
The symbol "newline," was substituted for "elif" to continue. 

Syntax error at line 44, column 26, file /usr/include/linux/compiler.h: 
Error at line 44, column 26 in file /usr/include/linux/compiler.h 
# include <linux/compiler-gcc3.h> 
.........................1 
PCC-S-02014, Encountered the symbol "-" when expecting one of the following: 

: [ ] > + / . .. an identifier, a numeric constant, define, 
elif, else, endif, error, if, ifdef, ifndef, include, line, 
pragma, undef, exec, sql, begin, end, var, type, oracle, 
an immediate preprocessor command, a C token, create, 
function, package, procedure, trigger, or, replace, 

Syntax error at line 45, column 2, file /usr/include/linux/compiler.h: 
Error at line 45, column 2 in file /usr/include/linux/compiler.h 
#else 
.1 
PCC-S-02014, Encountered the symbol "else" when expecting one of the 
following: 

a numeric constant, newline, define, error, if, ifdef, 
ifndef, include, line, pragma, undef, 
an immediate preprocessor command, a C token, 
The symbol "define," was substituted for "else" to continue. 

Syntax error at line 47, column 2, file /usr/include/linux/compiler.h: 
Error at line 47, column 2 in file /usr/include/linux/compiler.h 
#endif 
.1 
PCC-S-02014, Encountered the symbol "endif" when expecting one of the 
following: 

a numeric constant, newline, define, error, if, ifdef, 
ifndef, include, line, pragma, undef, 
an immediate preprocessor command, a C token, 

Syntax error at line 79, column 25, file /usr/include/asm/sigcontext.h: 
Error at line 79, column 25 in file /usr/include/asm/sigcontext.h 
struct _fpstate __user * fpstate; 
........................1 
PCC-S-02201, Encountered the symbol "*" when expecting one of the following: 

; , : ( [ 
The symbol "," was substituted for "*" to continue. 

a: line 1: 24936: Memory fault(coredump) 

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