使用PROC编译.pc文件时错误情况及处理
来源:互联网 发布:vm不能安装mac os x 编辑:程序博客网 时间:2024/06/04 18:05
使用PROC编译test.pc时没有生成.c文件出现如下情况:
Pro*C/C++: Release 11.2.0.1.0 - Production on Fri Jun 23 20:46:54 2017
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
System default option values taken from: /usr/oracle/product/11.2.0/db_1/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 15, column 10 in file /usr/include/_G_config.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Error at line 52, column 11 in file /usr/include/wchar.h
# include <stddef.h>
..........1
PCC-S-02015, unable to open include file
Error at line 53, column 11 in file /usr/include/libio.h
# include <stdarg.h>
..........1
PCC-S-02015, unable to open include file
Syntax error at line 332, column 3, file /usr/include/libio.h:
Error at line 332, column 3 in file /usr/include/libio.h
size_t __pad5;
..1
PCC-S-02201, Encountered the symbol "size_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 "size_t" to continue.
Syntax error at line 364, column 62, file /usr/include/libio.h:
Error at line 364, column 62 in file /usr/include/libio.h
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
.............................................................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 373, column 6, file /usr/include/libio.h:
Error at line 373, column 6 in file /usr/include/libio.h
size_t __n);
.....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 416, column 34, file /usr/include/libio.h:
Error at line 416, column 34 in file /usr/include/libio.h
extern int __underflow (_IO_FILE *);
.................................1
PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
, )
Syntax error at line 417, column 30, file /usr/include/libio.h:
Error at line 417, column 30 in file /usr/include/libio.h
extern int __uflow (_IO_FILE *);
.............................1
PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
, )
Syntax error at line 418, column 33, file /usr/include/libio.h:
Error at line 418, column 33 in file /usr/include/libio.h
extern int __overflow (_IO_FILE *, int);
................................1
PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
, )
Syntax error at line 460, column 31, file /usr/include/libio.h:
Error at line 460, column 31 in file /usr/include/libio.h
extern int _IO_getc (_IO_FILE *__fp);
..............................1
PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
, )
Syntax error at line 461, column 31, file /usr/include/libio.h:
Error at line 461, column 31 in file /usr/include/libio.h
extern int _IO_putc (int __c, _IO_FILE *__fp);
..............................1
PCC-S-02201, Encountered the symbol "_IO_FILE" when expecting one of the followi
ng:
... auto, char, const, double, enum, float, int, long,
编辑
/usr/oracle/product/11.2.0/db_1/precomp/admin/pcscfg.cfg文件,将所缺的路径添加上
"sys_include= "
即可生成对应的.c文件
- 使用PROC编译.pc文件时错误情况及处理
- 使用PROC编译.pc文件成.c后遇到的问题
- 编译时出现类名.o错误的时候的四种处理情况
- 注意使用 /proc文件
- android 编译过程及错误处理
- android编译错误及问题处理整理
- 编译ncurses错误处理及解决办法
- 编译ncurses错误处理及解决办法
- 编译ncurses错误处理及解决办法
- 编译ncurses错误处理及解决办法
- proc系统文件及编程
- 编译内核时错误处理
- C#编译时出现“不安全代码只会在使用 /unsafe 编译的情况下出现”错误的解决
- 文件上传的两种情况及mock时对应处理办法
- 编译错误的处理及译编过程及清理
- linux下编译.pc文件
- 使用proc_create创建proc文件
- df和du显示的磁盘空间使用情况不一致的原因及处理(文件删除后磁盘空间不释放)
- IOS使用16进制颜色例如#ff9719
- Quartz
- 一张图理清CNN脉络 RCNN SPP FASTRCNN FASTERRCNN 到 MSCNN
- python 爬虫 基本抓取
- Java A instanceof B vs B.isInstance(A) vs B.class.isAssignableFrom(A.class)
- 使用PROC编译.pc文件时错误情况及处理
- Mysql中MyISAM与InnoDB的区别
- 记一次Docker生产环境搭建
- Bytecode Outline plugin for Eclipse
- flex中的flex-direction
- 数据结构实验之串三:KMP应用
- 百度地图多边形消失的问题解决
- ARM裸机点LED
- Linux Tomcat JVM 参数调优