pro*c precompliler of oracle8 on linux
360895Oct 28 2002 — edited Dec 21 2006Hi,
I try to use the pro*c precompliler of oracle8 on linux and get folloging errors. I need help to solve this problem.
Thanks,
Yushe
Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Oct 28 13:31:48 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing
Error at line 43, column 9 in file /usr/lib/gcc-lib/i386-redhat-linux/2.96/incl
ude/stdarg.h
43 typedef __builtin_va_list __gnuc_va_list;
43 ........1
43 PCC-S-02201, Encountered the symbol "__builtin_va_list" 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,
The symbol "enum," was substituted for "__builtin_va_list" to continue.
Error at line 296, column 3 in file /usr/include/libio.h
296 IOlock_t _lock;
296 ..1
296 PCC-S-02201, Encountered the symbol "_IO_lock_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,
The symbol "enum," was substituted for "_IO_lock_t" to continue.
Error at line 396, column 34 in file /usr/include/libio.h
396 extern int __underflow (_IO_FILE *) __THROW;
396 .................................1
396 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 397, column 30 in file /usr/include/libio.h
397 extern int __uflow (_IO_FILE *) __THROW;
397 .............................1
397 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 398, column 33 in file /usr/include/libio.h
398 extern int __overflow (_IO_FILE *, int) __THROW;
398 ................................1
398 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 399, column 42 in file /usr/include/libio.h
399 extern IOwint_t __wunderflow (_IO_FILE *) __THROW;
399 .........................................1
399 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 400, column 38 in file /usr/include/libio.h
400 extern IOwint_t __wuflow (_IO_FILE *) __THROW;
400 .....................................1
400 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Oct 28 13:31:48 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Error at line 401, column 41 in file /usr/include/libio.h
401 extern IOwint_t __woverflow (_IO_FILE *, IOwint_t) __THROW;
401 ........................................1
401 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 426, column 31 in file /usr/include/libio.h
426 extern int IOgetc (_IO_FILE *__fp) __THROW;
426 ..............................1
426 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 427, column 31 in file /usr/include/libio.h
427 extern int IOputc (int __c, IOFILE *__fp) __THROW;
427 ..............................1
427 PCC-S-02201, Encountered the symbol "_IO_FILE" when expecting one of th
e 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 "_IO_FILE" to continue.
Error at line 428, column 31 in file /usr/include/libio.h
428 extern int IOfeof (_IO_FILE *__fp) __THROW;
428 ..............................1
428 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 429, column 33 in file /usr/include/libio.h
429 extern int IOferror (_IO_FILE *__fp) __THROW;
429 ................................1
429 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 431, column 39 in file /usr/include/libio.h
431 extern int IOpeekc_locked (_IO_FILE *__fp) __THROW;
431 ......................................1
431 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 437, column 37 in file /usr/include/libio.h
437 extern void IOflockfile (_IO_FILE *) __THROW;
437 ....................................1
437 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 438, column 39 in file /usr/include/libio.h
438 extern void IOfunlockfile (_IO_FILE *) __THROW;
438 ......................................1
438 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Oct 28 13:31:48 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Error at line 439, column 39 in file /usr/include/libio.h
439 extern int IOftrylockfile (_IO_FILE *) __THROW;
439 ......................................1
439 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 456, column 34 in file /usr/include/libio.h
456 extern int IOvfscanf (_IO_FILE * __restrict, const char * __restrict,
456 .................................1
456 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 457, column 4 in file /usr/include/libio.h
457 IOva_list, int *__restrict) __THROW;
457 ...1
457 PCC-S-02201, Encountered the symbol "__gnuc_va_list" 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 "auto," was substituted for "__gnuc_va_list" to continue.
Error at line 458, column 35 in file /usr/include/libio.h
458 extern int IOvfprintf (_IO_FILE __restrict, const char __restrict,
458 ..................................1
458 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 459, column 5 in file /usr/include/libio.h
459 IOva_list) __THROW;
459 ....1
459 PCC-S-02201, Encountered the symbol "__gnuc_va_list" 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 "auto," was substituted for "__gnuc_va_list" to continue.
Error at line 460, column 39 in file /usr/include/libio.h
460 extern IOssize_t IOpadn (_IO_FILE *, int, IOssize_t) __THROW;
460 ......................................1
460 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 461, column 39 in file /usr/include/libio.h
461 extern IOsize_t IOsgetn (_IO_FILE *, void *, IOsize_t) __THROW;
461 ......................................1
461 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Oct 28 13:31:48 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Error at line 463, column 42 in file /usr/include/libio.h
463 extern IOoff64_t IOseekoff (_IO_FILE *, IOoff64_t, int, int) __TH
ROW;
463 .........................................1
463 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 464, column 42 in file /usr/include/libio.h
464 extern IOoff64_t IOseekpos (_IO_FILE *, IOoff64_t, int) __THROW;
464 .........................................1
464 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 466, column 44 in file /usr/include/libio.h
466 extern void IOfree_backup_area (_IO_FILE *) __THROW;
466 ...........................................1
466 PCC-S-02201, Encountered the symbol "*" when expecting one of the follo
wing:
, )
Error at line 285, column 8 in file /usr/include/stdio.h
285 Gva_list __arg) __THROW;
285 .......1
285 PCC-S-02201, Encountered the symbol "__gnuc_va_list" 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 "__gnuc_va_list" to continue.
Error at line 287, column 56 in file /usr/include/stdio.h
287 extern int vprintf (__const char *__restrict __format, Gva_list __arg
)
287 .......................................................1
287 PCC-S-02201, Encountered the symbol "__gnuc_va_list" 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 "__gnuc_va_list" to continue.