도와 주세요...
고수님들이 관심을 갖고 도와 주셨으면 합니다.
여러 사람한테 도움을 청했는데 아는 분이 없어서 답답할 따름입니다.
pro*c 컴파일을 하는데 자꾸 아래와 같은 에러가 납니다.
현재 오라클 버젼은 8i입니다.
green@swdmspt:/GNSFTP # make -f ha_load.mk
/opt/ansic/bin/cc +DA2.0W +DS2.0 -o recv_ha recv_ha.o FileLog.o AtvChk.o
Coping Object recv_ha ... To /GNSFTP/FTP/BIN
/oracle/ORA2/bin/proc iname=ha_load.pc
PCC-F-NOERRFILE, unable to open error message file, facility PR2
*** Error exit code 1
Stop.
ha_load.mk 내용입니다.
###############################################################
# Make file for Glonets I/F Application #
# Made by Byung Youn Lee #
# Remark : 64 bit OS dedicated #
###############################################################
ORA_HOME = /oracle/ORA2
OBJ = recv_ha.o FileLog.o AtvChk.o
OBJ1 = ha_load.o file_chk.o FileLog.o
SRC1 = ha_load.c file_chk.c FileLog.c
OBJ2 = ha_down.o file_chk.o FileLog.o
SRC2 = ha_down.c file_chk.c FileLog.c
OBJ3 = send_ha.o FileLog.o AtvChk.o
BIN = /GNSFTP/FTP/BIN
PROC = /$(ORA_HOME)/bin/proc
CC = /opt/ansic/bin/cc
PROCFLAGS =
CFLAGS = +DA2.0W +DS2.0 -DSS_64BIT_SERVER -I. \
-I/$(ORA_HOME)/precomp/public \
-I/$(ORA_HOME)/rdbms/public \
-I/$(ORA_HOME)/rdbms/demo \
-I/$(ORA_HOME)/plsql/public \
-I/$(ORA_HOME)/network/public
LIB = -L/$(ORA_HOME)/lib/ -lclntsh \
`cat /$(ORA_HOME)/lib/ldflags` \
`cat /$(ORA_HOME)/lib/sysliblist` -lm -lpthread -lpthread
all: recv_ha ha_load ha_down send_ha
.SUFFIXES: .exe .o .c .pc
.pc.c:
$(PROC) $(PROCFLAGS) iname=$*.pc
.pc.o:
$(PROC) $(PROCFLAGS) iname=$*.pc
$(CC) $(CFLAGS) -c $*.c
.c.o:
$(CC) $(CFLAGS) -c $*.c
recv_ha: $(OBJ)
$(CC) +DA2.0W +DS2.0 -o $@ $(OBJ)
@mv $@ $(BIN)
@echo "Coping Object " $@ "..." To $(BIN)
ha_load: $(OBJ1)
$(CC) +DA2.0W +DS2.0 -o $@ $(OBJ1) $(LIB)
@mv $@ $(BIN)
@echo "Coping Object " $@ "..." To $(BIN)
ha_down: $(OBJ2)
$(CC) +DA2.0W +DS2.0 -o $@ $(OBJ2) $(LIB)
@mv $@ $(BIN)
@echo "Coping Object " $@ "..." To $(BIN)
send_ha: $(OBJ3)
$(CC) +DA2.0W +DS2.0 -o $@ $(OBJ3)
@mv $@ $(BIN)
@echo "Coping Object " $@ "..." To $(BIN)