>> Delete No. 39375 article
No. [질문]Oracle에서 pro*c사용하는데 make 하는부분에서
에러입니다.

등록 2002-01-11 00:13:00 By localhost     조회 2
이름 지니    

		안녕하세요...
 만 하루가 채 안되어 다시 질문을 올립니다..
 이자리를 빌어 지난번 고마운 답변을 주신 조준기님께 감사의 말씀을 드립니다.
 실은 그 답변에 대한 질문입니다.
 지난번 LD_LIBRARY_PATH문제를 지적해 주셨는데 바로 그 문제가 발생하고 있습니다.
 즉 /usr/lib이외에는 라이브러리화일(*.a, *.so)를 넣어도 찾지 못한다는 사실입니다.
 /$ORACLE_HOME/lib에 있는 라이브러리도 전혀 읽지 못하고, /usr/lib에
 복사해 주었을때만 인식을 하고 넘어갑니다.
 일단 이 문제는 이렇고, make에 대해서 하나 더 여쭙겠습니다.
 make -f demo_proc.mk sample1 요렇게 해주는 부분입니다.
 여기서도 각종 헤더파일들을 찾습니다만(ex. stdio.h, stdarg.h등) 의 파일이 여러군데
 존재하는데, 어떤 파일인지도 잘 모르겠고 임의로 하나를 정해주면 아래와 같은
 알도 못하겠는 에러가 나는 겁니다.
 물론 echo $LD_LIBRARY_PATH도 잘 나오고, ldconfig도 실행하였습니다. 물론 ld.so.conf
 역시 수정해 주었구요...
 Oracle배우기 힘이 드는 군요... 근데다가 일은 당장 눈앞에 떨어졌으니...
 참, 눈앞이 깜깜합니다.
 ##################################################################################################
에러내용 입니다.
#############################################################################################################33
 make -f /home/oracle/precomp/demo/proc/demo_proc.mk OBJS=sample1.o EXE=sample1 build LIBDIR=lib CFLAGS=" -O3   -fPIC -
DPRECOMP -I. -I/home/oracle/precomp/public -I/home/oracle/rdbms/public -I/home/oracle/rdbms/demo -I/home/oracle/plsql/pu
blic -I/home/oracle/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DS
LMXMX_ENABLE -D_REENTRANT -DNS_THREADS   " LFLAGS="" make[1]: 들어감 `/home/oracle/precomp/demo/proc' 디렉토리 p
roc  iname=sample1  Pro*C/C++: Release 9.0.1.0.0 - Production on Thu Jan 10 19:56:54 2002  (c) Copyright 2001 Oracle Co
rporation.  All rights reserved.  System default option values taken from: /home/oracle/precomp/admin/pcscfg.cfg
 Syntax error at line 48, column 3, file /usr/include/bits/pthreadtypes.h:
Error at line 48, column 3 in file /usr/include/bits/pthreadtypes.h
  size_t __guardsize;
..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 51, column 3, file /usr/include/bits/pthreadtypes.h:
Error at line 51, column 3 in file /usr/include/bits/pthreadtypes.h
  size_t __stacksize;
..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 38, column 9, file /usr/include/sys/select.h:
Error at line 38, column 9 in file /usr/include/sys/select.h
typedef __sigset_t sigset_t;
........1
PCC-S-02201, Encountered the symbol "__sigset_t" when expecting one of the follo
wing:
    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,
The symbol "enum," was substituted for "__sigset_t" to continue.
 Syntax error at line 65, column 5, file /usr/include/sys/select.h:
Error at line 65, column 5 in file /usr/include/sys/select.h
    __fd_mask __fds_bits[__FD_SETSIZE / __NFDBITS];
....1
PCC-S-02201, Encountered the symbol "__fd_mask" when expecting one of the follow
ing:
    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 "__fd_mask" to continue.
 Syntax error at line 75, column 9, file /usr/include/sys/select.h:
Error at line 75, column 9 in file /usr/include/sys/select.h
typedef __fd_mask fd_mask;
........1
PCC-S-02201, Encountered the symbol "__fd_mask" when expecting one of the follow
ing:
    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,
The symbol "enum," was substituted for "__fd_mask" to continue.
 Syntax error at line 96, column 32, file /usr/include/sys/select.h:
Error at line 96, column 32 in file /usr/include/sys/select.h
extern int select (int __nfds, fd_set *__restrict __readfds,
...............................1
PCC-S-02201, Encountered the symbol "fd_set" 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 "fd_set" to continue.
 Syntax error at line 97, column 6, file /usr/include/sys/select.h:
Error at line 97, column 6 in file /usr/include/sys/select.h
                   fd_set *__restrict __writefds,
.....1
PCC-S-02201, Encountered the symbol "fd_set" 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 "fd_set" to continue.
 Syntax error at line 98, column 6, file /usr/include/sys/select.h:
Error at line 98, column 6 in file /usr/include/sys/select.h
                   fd_set *__restrict __exceptfds,
.....1
PCC-S-02201, Encountered the symbol "fd_set" 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 "fd_set" to continue.
 Syntax error at line 72, column 5, file /usr/include/wchar.h:
Error at line 72, column 5 in file /usr/include/wchar.h
    wint_t __wch;
....1
PCC-S-02201, Encountered the symbol "wint_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 "wint_t" to continue.
 Syntax error at line 29, column 3, file /usr/include/_G_config.h:
Error at line 29, column 3 in file /usr/include/_G_config.h
  __mbstate_t __state;
..1
PCC-S-02201, Encountered the symbol "__mbstate_t" when expecting one of the foll
owing:
    } 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 "__mbstate_t" to continue.
 Syntax error at line 34, column 3, file /usr/include/_G_config.h:
Error at line 34, column 3 in file /usr/include/_G_config.h
  __mbstate_t __state;
..1
PCC-S-02201, Encountered the symbol "__mbstate_t" when expecting one of the foll
owing:
    } 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 "__mbstate_t" to continue.
 Syntax error at line 71, column 26, file /usr/include/gconv.h:
Error at line 71, 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 84, column 7, file /usr/include/gconv.h:
Error at line 84, column 7 in file /usr/include/gconv.h
                                  size_t *);
......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 93, column 6, file /usr/include/gconv.h:
Error at line 93, column 6 in file /usr/include/gconv.h
                                        size_t *);
.....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 102, column 3, file /usr/include/gconv.h:
Error at line 102, column 3 in file /usr/include/gconv.h
  __gconv_trans_fct __trans_fct;
..1
PCC-S-02201, Encountered the symbol "__gconv_trans_fct" when expecting one of th
e 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,
 Syntax error at line 0, column 0, file sample1.pc:
Error at line 0, column 0 in file sample1.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
    ; : an identifier, end-exec, random_terminal
 Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing
make[1]: 나감 `/home/oracle/precomp/demo/proc' 디렉토리
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved