Error Message
Proc parse = Full dbaccess. PC
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
System Default Option values taken from:/home/Oracle/APP/product/9.2.0/precomp/admin/pcscfg. cfg
Error at line 34, column 11 in file/usr/include/stdio. h
# Include <stddef. h>
... 1
PCC-S-02015, unable to open include file
Error at line 31, column 10 in file/usr/include/bits/types. h
# Include <stddef. h>
... 1
PCC-S-02015, unable to open include file
Error at line 14, column 10 in file/usr/include/_ g_config.h
# Include <stddef. h>
... 1
PCC-S-02015, unable to open include file
Error at line 48, column 10 in file/usr/include/wchar. h
# Include <stddef. h>
... 1
PCC-S-02015, unable to open include file
Error at line 48, column 10 in file/usr/include/wchar. h
# Include <stddef. h>
... 1
PCC-S-02015, unable to open include file
Error at line 31, column 10 in file/usr/include/gconv. h
# Include <stddef. h>
... 1
PCC-S-02015, unable to open include file
Syntax error at line 72, column 26, file/usr/include/gconv. h:
Error at line 72, column 26 in file/usr/include/gconv. h
Unsigned char **, size_t *, Int, INT );
...................... 1
PCC-S-02201, encountered the symbol "size_t" 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 "size_t" to continue.
Syntax error at line 88, column 7, file/usr/include/gconv. h:
Error at line 88, column 7 in file/usr/include/gconv. h
...........
The cause of the above exception is that the corresponding lib file cannot be found during proc compilation. The solution is:
1. Vim $ ORACLE_HOME/precomp/admin/pcscfg. cfg
Add the corresponding include directory to the pcscft. cfg file.
Find the corresponding include directory as follows:
Find/usr-name stddef. h to find its exact location. Find the real path of stddef. h and take the includ path in the GCC directory, for example:
/Usr/lib/GCC/i386-redhat-linux/4.1.1/include/stddef. h