免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3209 | 回复: 3
打印 上一主题 下一主题

一个PRO*C编译的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-16 20:12 |只看该作者 |倒序浏览
在一台新主机上编译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

请各位帮忙指点

论坛徽章:
0
2 [报告]
发表于 2008-10-16 20:17 |只看该作者
这个文件在其它机器上是能编译的,是吧?

论坛徽章:
0
3 [报告]
发表于 2008-10-16 20:24 |只看该作者
原帖由 雨过白鹭洲 于 2008-10-16 20:17 发表
这个文件在其它机器上是能编译的,是吧?


是的,在其它主机上是可以用的

论坛徽章:
1
申猴
日期:2014-02-11 14:50:31
4 [报告]
发表于 2008-10-16 22:50 |只看该作者
oracle版本不一样?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP