제목 그대로 solaris11에 혹시 proc 사용해보신분 pcscfg.cfg설정을 알수 있을 까요?
아래는 제 pcscfg.cfg의 내용과 에러 입니다.
컴파일러는 gcc컴파일러와 developerstudio12.6라는 솔라리스 전용 컴파일러 가 있는데요
오라클 설치한 엔지니어는 developerstudio12.6로 설치했다고 합니다.
해서 pcscfg.cfg를 두가지로 만들어서 실험해봤는데 에러는 대동소이 한 것 같습니다.
따라서 솔라리스는 컴파일러를 참조 하지 않아도 되나 싶기도 하고
다변좀 부탁드립니다.
< pcscfg.cfg 1>
sys_include=($ORACLE_HOME/precomp/public,/usr/include,/usr/gcc/5/include,/usr/gcc/5/lib,/usr/gcc/5/lib/gcc,/usr/gcc/5/lib/gcc/x86_64-pc-solaris2.11/5.4.0/include)
include=$ORACLE_HOME/precomp/public
include=$ORACLE_HOME/rdbms/public
include=$ORACLE_HOME/plsql/public
include=$ORACLE_HOME/network/public
ltype=short
CODE=ANSI_C
define=__64BIT__
DEFINE=__sparc
또는
< pcscfg.cfg 2>
sys_include=($ORACLE_HOME/precomp/public,/usr/include,/opt/developerstudio12.6/include,/opt/developerstudio12.6/lib,/opt/developerstudio12.6/include/cc)
include=$ORACLE_HOME/precomp/public
include=$ORACLE_HOME/rdbms/public
include=$ORACLE_HOME/plsql/public
include=$ORACLE_HOME/network/public
ltype=short
CODE=ANSI_C
MODE=ANSI
DEFINE=__sparc
에러는 아래와 같습니다.
Syntax error at line 164, column 2, file /usr/include/sys/uio.h:
Error at line 164, column 2 in file /usr/include/sys/uio.h
uint64_t xu_hint_mask; /* bit mask, consumer specified hints */
.1
PCC-S-02201, Encountered the symbol "uint64_t" when expecting one of the followi
ng:
} 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 "uint64_t" to continue.
Syntax error at line 167, column 3, file /usr/include/sys/uio.h:
Error at line 167, column 3 in file /usr/include/sys/uio.h
uint64_t f_blksz; /* preferred write block size in byte */
..1
PCC-S-02201, Encountered the symbol "uint64_t" when expecting one of the followi
ng:
} 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 "uint64_t" to continue.
Syntax error at line 30, column 2, file /usr/include/sys/socket_impl.h:
Error at line 30, column 2 in file /usr/include/sys/socket_impl.h
sa_family_t sa_family; /* address family */
.1
PCC-S-02201, Encountered the symbol "sa_family_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 "sa_family_t" to continue.
Syntax error at line 34, column 2, file /usr/include/sys/un.h:
Error at line 34, column 2 in file /usr/include/sys/un.h
sa_family_t sun_family; /* AF_UNIX */
.1
PCC-S-02201, Encountered the symbol "sa_family_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 "sa_family_t" to continue.
Syntax error at line 76, column 2, file /usr/include/sys/socket_impl.h:
Error at line 76, column 2 in file /usr/include/sys/socket_impl.h
sa_family_t ss_family; /* Address family */
.1
PCC-S-02201, Encountered the symbol "sa_family_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 "sa_family_t" to continue.
Syntax error at line 79, column 2, file /usr/include/sys/socket_impl.h:
Error at line 79, column 2 in file /usr/include/sys/socket_impl.h
sockaddr_maxalign_t _ss_align;
.1
PCC-S-02201, Encountered the symbol "sockaddr_maxalign_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 "sockaddr_maxalign_t" to continue.
Syntax error at line 58, column 9, file /usr/include/netinet/in.h:
Error at line 58, column 9 in file /usr/include/netinet/in.h
typedef socklen_t *Psocklen_t;
........1
PCC-S-02201, Encountered the symbol "socklen_t" 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 "socklen_t" to continue.
Syntax error at line 118, column 27, file /usr/include/sys/poll.h:
Error at line 118, column 27 in file /usr/include/sys/poll.h
int poll(struct pollfd *, nfds_t, int);
..........................1
PCC-S-02201, Encountered the symbol "nfds_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 "auto," was substituted for "nfds_t" to continue.
Syntax error at line 54, column 9, file /usr/include/sys/machlock.h:
Error at line 54, column 9 in file /usr/include/sys/machlock.h
typedef lock_t disp_lock_t; /* dispatcher lock type */
........1
PCC-S-02201, Encountered the symbol "lock_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,
The symbol "enum," was substituted for "lock_t" to continue.
Syntax error at line 41, column 39, file /usr/include/sys/rwlock.h:
Error at line 41, column 39 in file /usr/include/sys/rwlock.h
typedef void krw_async_cb_f(krwlock_t *, void *);
......................................1
PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
, )
Syntax error at line 100, column 2, file /usr/include/sys/stream.h:
Error at line 100, column 2 in file /usr/include/sys/stream.h
kmutex_t q_lock; /* NOLK: structure lock */
.1
PCC-S-02201, Encountered the symbol "kmutex_t" when expecting one of the followi
ng:
} 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 "kmutex_t" to continue.
Syntax error at line 104, column 2, file /usr/include/sys/stream.h:
Error at line 104, column 2 in file /usr/include/sys/stream.h
kcondvar_t q_wait; /* NOLK: read/write sleep CV */
.1
PCC-S-02201, Encountered the symbol "kcondvar_t" when expecting one of the follo
wing:
} 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 "kcondvar_t" to continue.
Syntax error at line 266, column 2, file /usr/include/sys/stream.h:
Error at line 266, column 2 in file /usr/include/sys/stream.h
queue_t *l_qtop; /* lowest level write queue of upper stream */
.1
PCC-S-02201, Encountered the symbol "queue_t" when expecting one of the followin
g:
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 "queue_t" to continue.
Syntax error at line 268, column 2, file /usr/include/sys/stream.h:
Error at line 268, column 2 in file /usr/include/sys/stream.h
queue_t *l_qbot; /* highest level write queue of lower stream */
.1
PCC-S-02201, Encountered the symbol "queue_t" when expecting one of the followin
g:
} 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 "queue_t" to continue.
Syntax error at line 308, column 2, file /usr/include/sys/stream.h:
Error at line 308, column 2 in file /usr/include/sys/stream.h
db_xtn_id_t db_xtn_id_top;
.1
PCC-S-02201, Encountered the symbol "db_xtn_id_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 "db_xtn_id_t" to continue.
Syntax error at line 311, column 4, file /usr/include/sys/stream.h:
Error at line 311, column 4 in file /usr/include/sys/stream.h
pf_fwdata_t *s_pf_fwdata;
...1
PCC-S-02201, Encountered the symbol "pf_fwdata_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 "pf_fwdata_t" to continue.
Syntax error at line 312, column 4, file /usr/include/sys/stream.h:
Error at line 312, column 4 in file /usr/include/sys/stream.h
mactun_xtndata_t *s_mactun_data;
...1
PCC-S-02201, Encountered the symbol "mactun_xtndata_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 "mactun_xtndata_t" to continue.
Syntax error at line 351, column 2, file /usr/include/sys/stream.h:
Error at line 351, column 2 in file /usr/include/sys/stream.h
frtn_t *db_frtnp;
.1
PCC-S-02201, Encountered the symbol "frtn_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 "frtn_t" to continue.
Syntax error at line 383, column 2, file /usr/include/sys/stream.h:
Error at line 383, column 2 in file /usr/include/sys/stream.h
cred_t *db_credp; /* credential */
.1
PCC-S-02201, Encountered the symbol "cred_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 "cred_t" to continue.
Syntax error at line 384, column 2, file /usr/include/sys/stream.h:
Error at line 384, column 2 in file /usr/include/sys/stream.h
dblk_xtn_t *db_xtnp; /* dblk extension pointer */
.1
PCC-S-02201, Encountered the symbol "dblk_xtn_t" when expecting one of the follo
wing:
} 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 "dblk_xtn_t" to continue.
Syntax error at line 417, column 2, file /usr/include/sys/stream.h:
Error at line 417, column 2 in file /usr/include/sys/stream.h
queue_t *b_queue; /* for sync queues */
.1
PCC-S-02201, Encountered the symbol "queue_t" when expecting one of the followin
g:
} 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 "queue_t" to continue.
Syntax error at line 420, column 38, file /usr/include/sys/stream.h:
Error at line 420, column 38 in file /usr/include/sys/stream.h
typedef void (*pm_freefunc_t)(mblk_t *, dblk_t *);
.....................................1
PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
, )
Error at line 0, column 0 in file OraCommon.pc
PCC-F-02102, Fatal error while doing C preprocessing
부디 답변을 좀 부탁드립니다.
월요일날 반드시 처리가 끝나야 합니다. 도와주세요 ㅜㅜ
|