Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PCC-S-02201, Encountered the symbol "extern" when expecting one of the following

AmarendraJan 20 2022

when i am trying to compile proc program, geting below error, gcc is upgarded to 8 in linux machine, not able to resolve the issue, please help and give your suggetions.
System default option values taken from: /app/oracle/product/client19c_32/precomp/admin/pcscfg.cfg

Syntax error at line 62, column 1, file /usr/include/bits/mathcalls.h:
Error at line 62, column 1 in file /usr/include/bits/mathcalls.h
__MATHCALL_VEC (cos,, (_Mdouble_ __x));
1
PCC-S-02201, Encountered the symbol "extern" when expecting one of the following
:

; , = ( [
The symbol ";" was substituted for "extern" to continue.

Syntax error at line 64, column 1, file /usr/include/bits/mathcalls.h:
Error at line 64, column 1 in file /usr/include/bits/mathcalls.h
__MATHCALL_VEC (sin,, (_Mdouble_ __x));
1
PCC-S-02201, Encountered the symbol "extern" when expecting one of the following
:

; , = ( [
The symbol ";" was substituted for "extern" to continue.

Syntax error at line 95, column 1, file /usr/include/bits/mathcalls.h:
Error at line 95, column 1 in file /usr/include/bits/mathcalls.h
__MATHCALL_VEC (exp,, (_Mdouble_ __x));
1
PCC-S-02201, Encountered the symbol "extern" when expecting one of the following
:

; , = ( [
The symbol ";" was substituted for "extern" to continue.

Syntax error at line 104, column 1, file /usr/include/bits/mathcalls.h:
Error at line 104, column 1 in file /usr/include/bits/mathcalls.h
__MATHCALL_VEC (log,, (_Mdouble_ __x));
1
PCC-S-02201, Encountered the symbol "extern" when expecting one of the following
:

; , = ( [
The symbol ";" was substituted for "extern" to continue.

sys_include=(/app/oracle/product/client19c_32/precomp/public,/usr/include,/usr/include/c++/8,/usr/lib/gcc/x86_64-redhat-linux/8/32,/usr/lib/gcc/x86_64-redhat-linux/8/include,/usr/include/c++/8/x86_64-redhat-linux/32,/usr/include/linux,/usr/lib)
ltype=short
define=__x86_64__
define=_LONG_LONG
define=__STDC__
CLOSE_ON_COMMIT=NO
CODE=ANSI_C
COMP_CHARSET=SINGLE_BYTE
DBMS=V8
DYNAMIC=ORACLE
HOLD_CURSOR=YES
RELEASE_CURSOR=NO
MAXOPENCURSORS=80
MODE=ORACLE
PREFETCH=10
SQLCHECK=SYNTAX
TYPE_CODE=ORACLE
UNSAFE_NULL=YES
LINES=NO
CHAR_MAP=STRING
ORACA=YES

Thanks in advance,
Amar

Comments
Post Details
Added on Jan 20 2022
8 comments
3,636 views