본문 바로가기

DATABASE

[ORACLE] PCC-S-02015 에러 처리방안

Pro*C/C++: Release 10.2.0.1.0 - Production on Tue Apr 3 21:43:45 2007

Copyright (c) 1982, 2005, Oracle. All rights reserved.

System default option values taken from: /home/oracle/product/10.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 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>

................


; : an identifier, end-exec, random_terminal

Error at line 0, column 0 in file orafun.pc
PCC-F-02102, Fatal error while doing C preprocessing

1. /home/oracle/product/10.1/precomp/admin/pcscfg.cfg 파일을 찾아 연다

sys_include=(/ade/aime_rdbms_9819/oracle/precomp/public,/usr/include,/usr/lib/gcc/i386-redhat-linux/3.4.6/include,/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include,/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include,/usr/lib/gcc-lib/i386-redhat-linux7/2.96/include)
ltype=short

대략 위와 같은 내용이 들어 있다.

빨간색 글을 잘 보면 자신의 gcc를 찾아 내용을 보고 패스가 맞는지 확인 후에 맞지 않으면 위와 같이 추가해준다.

그럼 모든것이 한방에 해결된다.

된장 찾아다니기 힘드네.. ㅡㅡ;;;

oracle을 깔때 분명 잘못 준것같음...

오라클을 깔때 Pro*c 쓸 사람이 까는것도 하나의 방법임.