- 论坛徽章:
- 0
|
PROC*的程序solaris8预编译可以通过solaris10就不行,郁闷。
solaris10上和solaris8上数据库都是9i的,编译器都是gcc2.95.3。
solairs10上出错如下:(非常急,在线等!)
proc ...
proc iname=collectproc.pc include=/export/home/oracle/app/product/9.2.0.1/rdbms/demo include=/export/home/oracle/app/product/9.2.0.1/precomp/public CHAR_MAP=STRING
Pro*C/C++: Release 9.2.0.7.0 - Production on Thu Sep 28 21:00:41 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /export/home/oracle/app/product/9.2.0.1/precomp/admin/pcscfg.cfg
Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
Error at line 69, column 2 in file /usr/include/sys/uio.h
lloff_t _uio_offset; /* file offset */
.1
PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
g:
} 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,
The symbol "enum," was substituted for "lloff_t" to continue.
Syntax error at line 72, column 2, file /usr/include/sys/uio.h:
Error at line 72, column 2 in file /usr/include/sys/uio.h
lloff_t _uio_limit; /* u-limit (maximum byte offset) */
.1
PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
g:
} 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,
The symbol "enum," was substituted for "lloff_t" to continue.
Syntax error at line 107, column 2, file /usr/include/sys/resource.h:
Error at line 107, column 2 in file /usr/include/sys/resource.h
rlim_t rlim_cur; /* current limit */
.1
PCC-S-02201, Encountered the symbol "rlim_t" when expecting one of the 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, |
|