database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Q&A 3673 게시물 읽기
No. 3673
Re: proc에러!!!!! 정말 궁금합니다.(왕초보)
작성자
firebird
작성일
2001-04-14 01:09
조회수
4,616

PRO*C가 표준 C/C++ 헤더 파일을 처리하다가 내는 에러메시지입니다.

디폴트로 PRO*C PARSE 옵션이 FULL로 되어 있기 때문에 모든 C 헤더 파일을

PRO*C가 처리하려고 시도하는데 그때 이런 에러들이 납니다.

PARSE=NONE, 이나 PARSE=PARTIAL 옵션을 주고 컴파일하세요.

 

전에 오라클 설치 씨디 안에서 C 헤더들을 대체하는 파일들이 제공되었던거 같은데

이건 저도 안 찾아봐서 모르겠네요. 필요하시면 설치 씨디 안에서 한번 찾아보세요.

개인적으로는 별로 권장할 방법은 아닙니다만...

 

참, 그리고 PARSE 옵션이 NONE 또는 PARTIAL로 되어 있을 경우의 주의 사항은

PRO*C가 EXEC 으로 시작되는 부분만 처리하기 때문에 오라클에서 참조할 호스트

변수들은 반드시 EXEC SQL BEGIN DECLARE SECTION....EXEC SQL END DECLARE SECTION

사이에서 정의하셔야 한다는 점만 유의하시면 됩니다.

 

>>왕초보 님께서 쓰시길<<

 

:: $ORACLE_HOME/precomp/demo/proc에서

:: make -f demo_proc.mk sample1를 실행하면 다음과같은 에러가~~~

:: 제발 알려주셔요!!!

::

:: [oracle@test proc]$ make -f demo_proc.mk sample1

:: make -f /home/oracle/app/oracle/product/8.0.5/precomp/demo/proc/demo_proc.mk OBd

:: make[1]: Entering directory `/home/oracle/app/oracle/product/8.0.5/precomp/demo'

:: /home/oracle/app/oracle/product/8.0.5/bin/proc iname=sample1

::

:: Pro*C/C++: Release 8.0.5.0.0 - Production on Thu Apr 12 16:35:35 2001

::

:: (c) Copyright 1998 Oracle Corporation. All rights reserved.

::

:: System default option values taken from: /home/oracle/app/oracle/product/8.0.5/g

::

:: Error at line 33, column 11 in file /usr/include/stdio.h

:: # include <stddef.h>

:: ..........1

:: PCC-S-02015, unable to open include file

:: Error at line 38, column 11 in file /usr/include/stdio.h

:: # include <stdarg.h>

:: ..........1

:: PCC-S-02015, unable to open include file

:: Error at line 29, 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 11 in file /usr/include/libio.h

:: # include <stdarg.h>

:: ..........1

:: PCC-S-02015, unable to open include file

:: Syntax error at line 368, column 19, file /usr/include/libio.h:

:: Error at line 368, column 19 in file /usr/include/libio.h

:: extern _IO_size_t _IO_sgetn __P ((_IO_FILE *, void *, _IO_size_t));

:: ..................1

:: PCC-S-02201, Encountered the symbol "_IO_sgetn" when expecting one of the follow

:: ing:

::

:: ; , = ( [

:: The symbol ";" was substituted for "_IO_sgetn" to continue.

::

:: Syntax error at line 446, column 15, file /usr/include/stdio.h:

:: Error at line 446, column 15 in file /usr/include/stdio.h

:: extern size_t fread __P ((void *__restrict __ptr, size_t __size,

:: ..............1

:: PCC-S-02201, Encountered the symbol "fread" when expecting one of the following:

::

:: ; , = ( [

:: The symbol ";" was substituted for "fread" to continue.

::

:: Syntax error at line 449, column 15, file /usr/include/stdio.h:

:: Error at line 449, column 15 in file /usr/include/stdio.h

:: extern size_t fwrite __P ((__const void *__restrict __ptr, size_t __size,

:: ..............1

:: PCC-S-02201, Encountered the symbol "fwrite" when expecting one of the following

:: :

::

:: ; , = ( [

:: The symbol ";" was substituted for "fwrite" to continue.

::

:: Syntax error at line 454, column 15, file /usr/include/stdio.h:

:: Error at line 454, column 15 in file /usr/include/stdio.h

:: extern size_t fread_unlocked __P ((void *__restrict __ptr, size_t __size,

:: ..............1

:: PCC-S-02201, Encountered the symbol "fread_unlocked" when expecting one of the f

:: ollowing:

::

:: ; , = ( [

:: The symbol ";" was substituted for "fread_unlocked" to continue.

::

:: Syntax error at line 456, column 15, file /usr/include/stdio.h:

:: Error at line 456, column 15 in file /usr/include/stdio.h

:: extern size_t fwrite_unlocked __P ((__const void *__restrict __ptr,

:: ..............1

:: PCC-S-02201, Encountered the symbol "fwrite_unlocked" when expecting one of the

:: following:

::

:: ; , = ( [

:: The symbol ";" was substituted for "fwrite_unlocked" to continue.

::

:: Error at line 33, column 10 in file /usr/include/string.h

:: #include <stddef.h>

:: .........1

:: PCC-S-02015, unable to open include file

:: Syntax error at line 92, column 15, file /usr/include/string.h:

:: Error at line 92, column 15 in file /usr/include/string.h

:: extern size_t strxfrm __P ((char *__restrict __dest,

:: ..............1

:: PCC-S-02201, Encountered the symbol "strxfrm" when expecting one of the followin

:: g:

::

:: ; , = ( [

:: The symbol ";" was substituted for "strxfrm" to continue.

::

:: Syntax error at line 158, column 15, file /usr/include/string.h:

:: Error at line 158, column 15 in file /usr/include/string.h

:: extern size_t strcspn __P ((__const char *__s, __const char *__reject));

:: ..............1

:: PCC-S-02201, Encountered the symbol "strcspn" when expecting one of the followin

:: g:

::

:: ; , = ( [

:: The symbol ";" was substituted for "strcspn" to continue.

::

:: Syntax error at line 161, column 15, file /usr/include/string.h:

:: Error at line 161, column 15 in file /usr/include/string.h

:: extern size_t strspn __P ((__const char *__s, __const char *__accept));

:: ..............1

:: PCC-S-02201, Encountered the symbol "strspn" when expecting one of the following

:: :

::

:: ; , = ( [

:: The symbol ";" was substituted for "strspn" to continue.

::

:: Syntax error at line 207, column 15, file /usr/include/string.h:

:: Error at line 207, column 15 in file /usr/include/string.h

:: extern size_t strlen __P ((__const char *__s));

:: ..............1

:: PCC-S-02201, Encountered the symbol "strlen" when expecting one of the following

:: :

::

:: ; , = ( [

:: The symbol ";" was substituted for "strlen" to continue.

::

:: Error at line 33, column 10 in file /usr/include/stdlib.h

:: #include <stddef.h>

:: .........1

:: PCC-S-02015, unable to open include file

:: Syntax error at line 80, column 15, file /usr/include/stdlib.h:

:: Error at line 80, column 15 in file /usr/include/stdlib.h

:: extern size_t __ctype_get_mb_cur_max __P ((void));

:: ..............1

:: PCC-S-02201, Encountered the symbol "__ctype_get_mb_cur_max" when expecting one

:: of the following:

::

:: ; , = ( [

:: The symbol ";" was substituted for "__ctype_get_mb_cur_max" to continue.

::

:: Error at line 125, column 10 in file /usr/include/sys/types.h

:: #include <stddef.h>

:: .........1

:: PCC-S-02015, unable to open include file

:: Syntax error at line 346, column 16, file /usr/include/stdlib.h:

:: Error at line 346, column 16 in file /usr/include/stdlib.h

:: extern int32_t random __P ((void));

:: ...............1

:: PCC-S-02201, Encountered the symbol "random" when expecting one of the following

:: :

::

:: ; , = ( [

:: The symbol ";" was substituted for "random" to continue.

::

:: Syntax error at line 370, column 5, file /usr/include/stdlib.h:

:: Error at line 370, column 5 in file /usr/include/stdlib.h

:: int32_t *fptr; /* Front pointer. */

:: ....1

:: PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the followin

:: g:

::

:: char, const, double, enum, float, int, long, OCIBFileLocator

:: OCIBlobLocator, OCIClobLocator, OCIDate, OCINumber, OCIRaw,

:: OCIString, short, signed, sql_context, sql_cursor, struct,

:: union, unsigned, varchar, void, volatile, a typedef name,

:: The symbol "enum," was substituted for "int32_t" to continue.

::

:: Syntax error at line 371, column 5, file /usr/include/stdlib.h:

:: Error at line 371, column 5 in file /usr/include/stdlib.h

:: int32_t *rptr; /* Rear pointer. */

:: ....1

:: PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the followin

:: g:

::

:: } char, const, double, enum, float, int, long,

:: OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDate,

:: OCINumber, OCIRaw, OCIString, short, signed, sql_context,

:: sql_cursor, struct, union, unsigned, varchar, void, volatile,

:: a typedef name,

:: The symbol "enum," was substituted for "int32_t" to continue.

::

:: Syntax error at line 372, column 5, file /usr/include/stdlib.h:

:: Error at line 372, column 5 in file /usr/include/stdlib.h

:: int32_t *state; /* Array of state values. */

:: ....1

:: PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the followin

:: g:

::

:: } char, const, double, enum, float, int, long,

:: OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDate,

:: OCINumber, OCIRaw, OCIString, short, signed, sql_context,

:: sql_cursor, struct, union, unsigned, varchar, void, volatile,

:: a typedef name,

:: The symbol "enum," was substituted for "int32_t" to continue.

::

:: Syntax error at line 376, column 5, file /usr/include/stdlib.h:

:: Error at line 376, column 5 in file /usr/include/stdlib.h

:: int32_t *end_ptr; /* Pointer behind state table. */

:: ....1

:: PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the followin

:: g:

::

:: } char, const, double, enum, float, int, long,

:: OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDate,

:: OCINumber, OCIRaw, OCIString, short, signed, sql_context,

:: sql_cursor, struct, union, unsigned, varchar, void, volatile,

:: a typedef name,

:: The symbol "enum," was substituted for "int32_t" to continue.

::

:: Error at line 25, column 10 in file /usr/include/alloca.h

:: #include <stddef.h>

:: .........1

:: PCC-S-02015, unable to open include file

:: Syntax error at line 634, column 14, file /usr/include/stdlib.h:

:: Error at line 634, column 14 in file /usr/include/stdlib.h

:: extern div_t div __P ((int __numer, int __denom)) __attribute__ ((__const__));

:: .............1

:: PCC-S-02201, Encountered the symbol "div" when expecting one of the following:

::

:: ; , = ( [

:: The symbol ";" was substituted for "div" to continue.

::

:: Syntax error at line 635, column 15, file /usr/include/stdlib.h:

:: Error at line 635, column 15 in file /usr/include/stdlib.h

:: extern ldiv_t ldiv __P ((long int __numer, long int __denom))

:: ..............1

:: PCC-S-02201, Encountered the symbol "ldiv" when expecting one of the following:

::

:: ; , = ( [

:: The symbol ";" was substituted for "ldiv" to continue.

::

:: Syntax error at line 706, column 15, file /usr/include/stdlib.h:

:: Error at line 706, column 15 in file /usr/include/stdlib.h

:: extern size_t mbstowcs __P ((wchar_t *__restrict __pwcs,

:: ..............1

:: PCC-S-02201, Encountered the symbol "mbstowcs" when expecting one of the followi

:: ng:

::

:: ; , = ( [

:: The symbol ";" was substituted for "mbstowcs" to continue.

::

:: Syntax error at line 709, column 15, file /usr/include/stdlib.h:

:: Error at line 709, column 15 in file /usr/include/stdlib.h

:: extern size_t wcstombs __P ((char *__restrict __s,

:: ..............1

:: PCC-S-02201, Encountered the symbol "wcstombs" when expecting one of the followi

:: ng:

::

:: ; , = ( [

:: The symbol ";" was substituted for "wcstombs" to continue.

::

:: Syntax error at line 60, column 12, file sample1.pc:

:: Error at line 60, column 12 in file sample1.pc

:: size_t buf_len, msg_len;

:: ...........1

:: PCC-S-02201, Encountered the symbol "buf_len" when expecting one of the followin

:: g:

::

:: ; , = : ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>=

:: &&= ||= ^= | & == != <= >= << >> ++ -- ->

:: The symbol ";" was substituted for "buf_len" to continue.

::

:: Error at line 0, column 0 in file sample1.pc

:: PCC-F-02102, Fatal error while doing C preprocessing

:: make[1]: *** [sample1.o] Error 1

:: make[1]: Leaving directory `/home/oracle/app/oracle/product/8.0.5/precomp/demo/'

:: make: *** [sample1] Error

::

:: 왕초보가. 죄송합니다.

[Top]
No.
제목
작성자
작성일
조회
3676[질문]ORDB와 RDB중 어느 것이 질의 시간이 더 빠른가요?
궁금이
2001-04-14
2000
3674[참고] 오라클 설치에 관해서 문제가 있는 분들께....
firebird
2001-04-14
1583
3671기록생성 오류는 어찌해요?
최윤미
2001-04-13
1621
3670proc에러!!!!! 정말 궁금합니다.(왕초보)
왕초보
2001-04-13
2220
3673┕>Re: proc에러!!!!! 정말 궁금합니다.(왕초보)
firebird
2001-04-14 01:09:46
4616
3665비밀번호를 어떻게 바꾸나요?
왕초보
2001-04-13
1491
3668┕>Re: 비밀번호를 어떻게 바꾸나요?
최성준
2001-04-13 13:33:03
1755
3659수세리눅스 7.1K에서 오라클 인스톨..??
lisync
2001-04-12
1745
3675┕>Re: 수세리눅스 7.1K에서 오라클 인스톨..??
정하영
2001-04-14 10:02:26
1543
3658부팅시 오라클을 자동으루 올라오게 하려면 ?
워니
2001-04-12
1546
3664┕>Re: 부팅시 오라클을 자동으루 올라오게 하려면 ?
firebird
2001-04-13 01:31:57
2010
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.021초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다