Originally posted by: tauras2804
Hi
We are trying to build our 'C' application on AIX6.1 pointing to oracle 10.2.0.3 but we are not able to build it successfully because we are getting below error. However, the build is successful if we use oracle 11. Would appreciate for any kind of help or pointer. Thanks in advance.
*********************************************************************************************************************************************************
System default option values taken from: /usr1/arbor/3p/../3poracle/AIX/precomp/admin/pcscfg.cfg
Syntax error at line 148, column 2, file /usr/include/standards.h:
Error at line 148, 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.
Syntax error at line 77, column 50, file /usr1/arbor/3p/terrapin/AIX/include/sw_Types.h:
Error at line 77, column 50 in file /usr1/arbor/3p/terrapin/AIX/include/sw_Types
.h
FILE* stream);
.................................................1
PCC-S-02201, Encountered the symbol "FILE" 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 "FILE" to continue.
Syntax error at line 99, column 5, file /usr1/arbor/3p/terrapin/AIX/include/sw_Types.h:
Error at line 99, column 5 in file /usr1/arbor/3p/terrapin/AIX/include/sw_Types.
h
sw_dumpMethod dump;
....1
PCC-S-02201, Encountered the symbol "sw_dumpMethod" when expecting one of the fo
llowing:
} 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,
Syntax error at line 0, column 0, file ck_OracleBlobDB.pc:
Error at line 0, column 0 in file ck_OracleBlobDB.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
; : an identifier, end-exec, random_terminal
Error at line 0, column 0 in file ck_OracleBlobDB.pc
PCC-F-02102, Fatal error while doing C preprocessing
*********************************************************************************************************************************************************
Regards,
Vishal
#AIX-Forum