- 论坛徽章:
- 0
|
在一台新主机上编译PRO*C程序时出现下列错误:
Pro*C/C++: Release 9.2.0.6.0 - Production on Thu Oct 16 20:01:24 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /oracle/app/product/9.2.0/precomp/admin/pcscfg.cfg
Syntax error at line 135, column 2, file /usr/include/standards.h:
Error at line 135, column 2 in file /usr/include/standards.h
#warning The -qdfp option is required to process DFP code in headers.
.1
PCC-S-02014, Encountered the symbol "warning" when expecting one of the followin
g:
a numeric constant, newline, define, elif, else, endif,
error, if, ifdef, ifndef, include, line, pragma, undef,
an immediate preprocessor command, a C token,
The symbol "newline," was substituted for "warning" to continue.
emis01:etl:/etl/run/ahetl/etlin/src$proc gettb_cde_good_phone_type.pc
Pro*C/C++: Release 9.2.0.6.0 - Production on Thu Oct 16 20:01:48 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /oracle/app/product/9.2.0/precomp/admin/pcscfg.cfg
Syntax error at line 135, column 2, file /usr/include/standards.h:
Error at line 135, column 2 in file /usr/include/standards.h
#warning The -qdfp option is required to process DFP code in headers.
.1
PCC-S-02014, Encountered the symbol "warning" when expecting one of the followin
g:
a numeric constant, newline, define, elif, else, endif,
error, if, ifdef, ifndef, include, line, pragma, undef,
an immediate preprocessor command, a C token,
The symbol "newline," was substituted for "warning" to continue.
其中/oracle/app/product/9.2.0/precomp/admin/pcscfg.cfg文件中内容如下:
sys_include=(/usr/include,/$ORACLE_HOME/precomp/public)
include=/usr/include
include=$ORACLE_HOME/precomp/public
include=$ORACLE_HOME/rdbms/demo
include=$ORACLE_HOME/otrace/public
include=$ORACLE_HOME/rdbms/public
include=$ORACLE_HOME/network/public
include=$ORACLE_HOME/plsql/public
DEFINE=__64BIT__
define=_IBM_C
define=_LONG_LONG
ltype=short
请各位帮忙指点 |
|