Solution for selecting proc errors in Linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.