env_plsql.mk PROC 컴파일 질문입니다.
include $(ORACLE_HOME)/plsql/lib/env_plsql.mk
위의 include 가 포함이 되면
/home/oracle/product/10.2.0/bin/proc THREADS=YES, CHAR_MAP=VARCHAR2, DBMS=V8 threads=true include=../../inc include=include=./ include=../../common/kcase/basecrypto/kcsp include=../../extinc/ossinc include=/usr/include include=/home/oracle/product/10.2.0/precomp/public/ include=/home/oracle/product/10.2.0/rdbms/demo/ include=/home/oracle/product/10.2.0/rdbms/public/ include=/home/oracle/product/10.2.0/network/public/ include=/home/oracle/product/10.2.0/rdbms/demo include=/home/oracle/product/10.2.0/network/public define=RFC3280 include=../../common/kcase/basecrypto/kcsp/ iname=ORA_event.pc
Pro*C/C++: Release 10.2.0.1.0 - Production on Tue Nov 23 17:17:25 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /home/oracle/product/10.2.0/precomp/admin/pcscfg.cfg
gcc -c -I../../inc -I../../common/kcase/basecrypto/kcsp/ -I/home/oracle/product/10.2.0/precomp/public/ -I/home/oracle/product/10.2.0/rdbms/demo/ -I/home/oracle/product/10.2.0/rdbms/public/ -I/home/oracle/product/10.2.0/network/public/ -c -D_REENTRANT -DOS_UNIX -DHSM_LUNA -DNO_ENCRYPT_USER_PKEY -DDEBUG -DKOCA -DKOREA_STANDARD -DPKI_ONLY -DNO_CHINA -DOCSP_AIA_ADD -DPUBLIC_CERT_EXPRESSION -DLOW_BYTE -DNEW_APPLY -DPG -DCROSS_VID -DUSER_PAGING -DPKCS_11 -DSTANDALONE_DAEMON -DNOT_USE_IC_CARD -DRFC3280 -DDEBUG2 -DPRIKEY_EXT -DBANK -DFORK -DPUBLIC_CA -DMAKE_BANK_KMCERT -xO3 -Xa -xstrconst -dalign -xF -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC -DPRECOMP -I/home/oracle/product/10.2.0/precomp/hdrs -I/home/oracle/product/10.2.0/precomp/public -I/home/oracle/product/10.2.0/precomp/include -I/home/oracle/product/10.2.0/oracore/include -I/home/oracle/product/10.2.0/oracore/public -I/home/oracle/product/10.2.0/oracore/port/include -I/home/oracle/product/10.2.0/xdk/include -I/home/oracle/product/10.2.0/xdk/public -I/home/oracle/product/10.2.0/nlsrtl/include -I/home/oracle/product/10.2.0/slax/include -I. -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT -c ORA_event.c
gcc: PIC: 해당 파일이나 디렉토리가 없음
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/specs
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-K'
Configured with: ./configure
Thread model: posix
gcc version 3.4.6
gcc: language code=abs44 not recognized
*** Error code 1
make: Fatal error: Command failed for target `ORA_event.o'
[testca:/data/newCA/CrossCertGWCA/opers/oracle]$
위와같이 PIC, -Xa, -K 와 같은 에러가 발생합니다.
설정에서 잘못 되어진건지 도저히 알수가 없네요
도와주십시오~
솔라리스/스팍에서 실행하신 것 같군요.
GNU C Compiler용 옵션이 아닙니다.
실행하시는 플랫폼이 솔라리스/스팍으로 보이네요.
썬 스튜디오 C 컴파일러를 설치해서 실행해 보세요.
--
종이한장 * 이성으로 비관하더라도 의지로 낙관하라! (그람시)
gcc 로 꼭 컴파일을 해야하는 사항이라서 gcc 로
gcc 로 꼭 컴파일을 해야하는 사항이라서
gcc 로 컴파일 해야한다면 다른 방법이 없을까요?
두가지 고치면 될수도..
PIC-->-fPIC
xcode=abs44
이 부분 제거..
이렇게 고쳐도 에러 날수도.
즐린
댓글 달기