Forum Stats

  • 3,814,069 Users
  • 2,258,812 Discussions
  • 7,892,521 Comments

Discussions

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

Amarendra
Amarendra Member Posts: 2 Green Ribbon

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

Answers