red hat 9 上的 oracle9.2.0.4的 Pro*C 编译问题
我的系统是Red Hat9
数据库版本是Oracle9.2.0.4
Pro*C已经配置成功,在$ORACLE_HOME/precomp/demo/proc中可以把sample1.pc 等文件转化成功。
但是在我自己开发的程序总是提示定义:
PCC-S-02201, Encountered the symbol "HZPYTableStruct" when expecting one of the
following:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "HZPYTableStruct" to continue.
HZPYTableStruct是我自己定义的一个结构,这个结构已经定义,在Window系统上使用Pro*C预编译的时候并没有错误,不知道为什么在Linux出现错误了。
如果有那位大虾知道这个问题,请不吝赐教。谢谢!!