oracle关于proc编译报错,aix下编译proc报错

刚学proc,在aix下编译的时候报错,具体情况:

Aix系统版本6.1.0.0,64位操作系统。

数据库 oracle 10

xlC 8.0

xlC.adt.include            8.0.0.0  COMMITTED  C Set ++ Application

xlC.aix61.rte             10.1.0.3  COMMITTED  XL C/C++ Runtime for AIX 6.1

xlC.cpp                    9.0.0.0  COMMITTED  C for AIX Preprocessor

xlC.msg.en_US.cpp          9.0.0.0  COMMITTED  C for AIX Preprocessor

xlC.msg.en_US.rte         10.1.0.3  COMMITTED  XL C/C++ Runtime

xlC.rte                   10.1.0.3  COMMITTED  XL C/C++ Runtime

xlC.sup.aix50.rte          9.0.0.1  COMMITTED  XL C/C++ Runtime for AIX 5.2

下面是报错信息(文件中肯定没有特殊符号):

Pro*C/C++: Release 10.2.0.4.0 - Production on Thu May 17 14:45:55 2012

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Error at line 0, column 0 in file DbsTest.pc

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

; : an identifier, end-exec, random_terminal

Error at line 0, column 0 in file DbsTest.pc

PCC-F-02102, Fatal error while doing C preprocessing

Error at line 165, column 2 in file /usr/include/sys/dir.h

165          uint64_t        d_offset;       /* real off after this entry */

165  .1

165  PCC-S-02201, Encountered the symbol "uint64_t" when expecting one of th

e following:

char, const, double, enum, float, int, long, ulong_varchar,

OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,

OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,

OCIRaw, OCIString, short, signed, sql_context, sql_cursor,

struct, union, unsigned, utext, uvarchar, varchar, void,

volatile, a typedef name,

Error at line 751, column 38 in file /usr/include/sys/ras.h

751  #define AVOWX(_cond, _kerrno, _data, ... /* detail data*/)

\

751  .....................................1

751  PCC-S-02014, Encountered the symbol "..." when expecting one of the fol

lowing:

an identifier, 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,

Error at line 758, column 2 in file /usr/include/sys/ras.h

758  #endif /* !defined(__cplusplus) && ... */

758  .1

758  PCC-S-02014, Encountered the symbol "endif" when expecting one of the f

ollowing:

a numeric constant, newline, define, error, if, ifdef,

ifndef, include, line, pragma, undef,

an immediate preprocessor command, a C token,

。。。。。

问问坛子里的兄弟姐妹,有没有遇到这个问题的啊,怎么解决的,给个建议啊

首先不是字符集的问题,比较简单的pc程序可以编译过去。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值