Oracle Pro-C が RHEL 8.7 以降で「構文エラー」 PCC-S-02014 で終了する
Issue
- Oracle Pro-C が RHEL 8.7 で「構文エラー」PCC-S-02014 で終了します。
- OS を OL8.5 から OL8.7 にアップグレードした後、Pro*C のプリコンパイルが PCC-S-02014 で失敗します (文書 ID 2931232.1)。
- RHEL 8.7 にアップグレードした後、
glibc-headersパッケージによりsys/cdefs.hでビルドエラーが発生します。
Syntax error at line 500, column 20, file /usr/include/sys/cdefs.h:
Error at line 500, column 20 in file /usr/include/sys/cdefs.h
#include <bits/long-double.h>
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 564, column 2, file /usr/include/sys/cdefs.h:
Error at line 564, column 2 in file /usr/include/sys/cdefs.h
#endif /* sys/cdefs.h */
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,
The symbol "define," was substituted for "endif" to continue.
Syntax error at line 30, column 1, file /usr/include/bits/types.h:
Error at line 30, column 1 in file /usr/include/bits/types.h
typedef unsigned char __u_char;
PCC-S-02201, Encountered the symbol "typedef" when expecting one of the following:
; , = ( [
The symbol ";" was substituted for "typedef" to continue.
Environment
- Red Hat Enterprise Linux (RHEL) 8.7 以降
glibc-headers-2.28-211.el8以降- Oracle データベース 11.2/11g リリース 2/11gR2
- Oracle Pro-C コンパイラー
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.