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 1930 게시물 읽기
No. 1930
Re: proc c++ file compile error
작성자
김기정
작성일
2000-11-03 11:01
조회수
6,160

오라클 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

::

[Top]
No.
제목
작성자
작성일
조회
1918time series 사용방법
이명용
2000-11-02
4101
1934┕>Re: time series 사용방법
지나가는이
2000-11-03 11:21:31
3990
1914책 '대용량데이타베이스솔루션'을 읽다가..
이명용
2000-11-02
4021
1922┕>Re: 책 '대용량데이타베이스솔루션'을 읽다가..
지나가던이
2000-11-02 17:58:04
4574
1911[질문] java.library.path 설정하기...
서현수
2000-11-01
6253
1912┕>Re: [질문] java.library.path 설정하기...
jg
2000-11-01 13:00:26
5301
1910proc c++ file compile error
이강석
2000-11-01
5440
1930┕>Re: proc c++ file compile error
김기정
2000-11-03 11:01:10
6160
1909알짜6.1에 8.1.6 EE 설치시 문제 [급]
김성민
2000-11-01
4297
1916┕>Re: 알짜6.1에 8.1.6 EE 설치시 문제 [급]
이경록
2000-11-02 00:45:49
4753
1955 ┕>Re: Re: 알짜6.1에 8.1.6 EE 설치시 문제 [급]
김성민
2000-11-06 13:40:51
4553
1908proc로 컴파일후 gcc로 컴파일시 오라클 헤더파일을 못찾습니다.
이창대
2000-11-01
4769
1906오라클에서 oodb를 지원하는지요..
sunstart
2000-10-31
4394
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.021초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다