오라클 8.1.5 를 쓰는것 같은데
그거 않되는거 되게 많습니다.
나도 8.1.5때문에 몇주 고생했습니다..
sys_include PATH를 바꾸세요..
>>이강석 님께서 쓰시길<<
:: 오라클 예제 프로그램중
:: C file은 컴파일이 되는데, C++은 컴파일이 안됩니다.
::
:: [명령문]
:: make -f demo_proc.mk cppdemo1
:: [결 과]
:: make -f /u01/oracle/precomp/demo/proc/demo_proc.mk USER=scott/tiger SCRIPT=cppde
:: mo2 sqlplus_
:: make[1]: Entering directory `/u01/oracle/precomp/demo/proc'
:: # You must run the .sql script, cppdemo2,
:: # before precomping this sample.
:: make[1]: Leaving directory `/u01/oracle/precomp/demo/proc'
:: make -f /u01/oracle/precomp/demo/proc/demo_proc.mk PROCFLAGS="sqlcheck=full user
:: =scott/tiger code=cpp sys_include='(/opt/SUNWspro/SC4.0/include/CC,/usr/include)
:: '" PCCSRC=empclass I_SYM=include= pc1
:: make[1]: Entering directory `/u01/oracle/precomp/demo/proc'
:: proc sqlcheck=full user=scott/tiger code=cpp sys_include='(/opt/SUNWspro/SC4.0/i
:: nclude/CC,/usr/include)' iname=empclass include=. include=/u01/oracle/precomp/pu
:: blic include=/u01/oracle/rdbms/public include=/u01/oracle/rdbms/demo include=/u0
:: 1/oracle/plsql/public include=/u01/oracle/network/public
::
:: Pro*C/C++: Release 8.1.5.0.0 - Production on Tue Oct 31 18:50:03 2000
::
:: (c) Copyright 1999 Oracle Corporation. All rights reserved.
::
:: System default option values taken from: /u01/oracle/precomp/admin/pcscfg.cfg
::
:: 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
:: Error at line 33, column 10 in file /usr/include/stdlib.h
:: #include <stddef.h>
:: .........1
:: PCC-S-02015, unable to open include file
:: Error at line 124, column 10 in file /usr/include/sys/types.h
:: #include <stddef.h>
:: .........1
:: PCC-S-02015, unable to open include file
:: Error at line 25, column 10 in file /usr/include/alloca.h
:: #include <stddef.h>
:: .........1
:: PCC-S-02015, unable to open include file
:: Error at line 33, column 7 in file empclass.pc
:: emp_package.open_cursor(:emp_cursor);
:: ......1
:: PLS-S-00201, identifier 'EMP_PACKAGE.OPEN_CURSOR' must be declared
:: Error at line 33, column 7 in file empclass.pc
:: emp_package.open_cursor(:emp_cursor);
:: ......1
:: PLS-S-00000, Statement ignored
:: Semantic error at line 32, column 5, file empclass.pc:
:: BEGIN
:: ....1
:: PCC-S-02346, PL/SQL found semantic errors
:: PCC-W-02105, Unable to open list file
:: make[1]: *** [pc1] Error 1
:: make[1]: Leaving directory `/u01/oracle/precomp/demo/proc'
:: make: *** [empclass.o] Error 2
::
|