LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 793|回复: 1

十万火急啊,请大家救救我!!!!

[复制链接]
发表于 2005-11-23 15:23:07 | 显示全部楼层 |阅读模式
我再AIX Unix下编译pro*c出错,因为我在做电信的销帐程序维护,程序是用pro*c写的,有很多个后缀为pc的pro*c源文件,我通过makefile输入make命令进行编译,但提示出错,一下是出错信息:
Target "/oracle/o8i/app/oracle/product/8.1.7/lib/libclntsh.a" is up to date.

请各位老大尽快回复我啊,十万火急,等着救命啊,小弟先谢了。
makefile如下:
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk

CC=cc
CPP=xlC
PROC=proc

BINDIR= ./bin
PUBLICDIR= ./public
QUERYDIR= ./Query
WRIOFFQUEDIR= ./WriOffQue
WRITEOFFDIR= ./WriteOff
AIDQUEDIR= ./AidQue
AIDFUNCDIR= ./AidFunc
STAFFDIR= ./Staff
PROCESSDIR= ./Process
SERIALDIR= ./Serial

PROCFLAGS= char_map=string parse=full include=$(PUBLICDIR) include=${TUXDIR}/include
PROCPLSFLAGS= $(PROCFLAGS) sqlcheck=semantics unsafe_null=yes MODE=ORACLE and DBMS=V8 userid=xxx/xxx@njjf

QUERY: $(BINDIR)/Query
WRIOFFQUE: $(BINDIR)/WriOffQue
WRITEOFF: $(BINDIR)/WriteOff
AIDQUE: $(BINDIR)/AidQue
AIDFUNC: $(BINDIR)/AidFunc
STAFF: $(BINDIR)/Staff
PROCESS: $(BINDIR)/Process
SERIAL: $(BINDIR)/Serial

ALL: $(BINDIR)/Query \
     $(BINDIR)/WriOffQue \
     $(BINDIR)/WriteOff  \
     $(BINDIR)/AidQue    \
     $(BINDIR)/AidFunc   \
     $(BINDIR)/Staff     \
     $(BINDIR)/Process   \
     $(BINDIR)/Serial    \
     $(BINDIR)/lijin

PUBLIC= $(PUBLICDIR)/ErrorMsg.h  \
        $(PUBLICDIR)/WriteOff.h  \
        $(PUBLICDIR)/Pack.h      \
        $(PUBLICDIR)/CltTxID.h   \
        $(PUBLICDIR)/StaffRole.h \
        $(PUBLICDIR)/CheckDB.h

OBJPUBLIC= $(PUBLICDIR)/CltTxID.o   \
           $(PUBLICDIR)/ErrorMsg.o  \
           $(PUBLICDIR)/Pack.o      \
           $(PUBLICDIR)/ServInit.o  \
           $(PUBLICDIR)/StaffRole.o \
           $(PUBLICDIR)/CheckDB.o

OBJQUERY= $(QUERYDIR)/CycleChargeQue.o \
          $(QUERYDIR)/TicketQue.o      \
          $(QUERYDIR)/AcctItemQue1.o   \
          $(QUERYDIR)/AcctItemQue2.o   \
          $(QUERYDIR)/BalanceQue.o     \
          $(QUERYDIR)/ValidatePasswd.o \
          $(QUERYDIR)/UpdatePasswd.o   \
          $(QUERYDIR)/POC97AndBill.o
SCVQUERY= CycleChargeQue,TicketQue,AcctItemQue1,AcctItemQue2,BalanceQue,ValidatePasswd,UpdatePasswd,POC97AndBill

OBJWRIOFFQUE= $(WRIOFFQUEDIR)/AccNbrQue.o     \
              $(WRIOFFQUEDIR)/A97NbrQue.o     \
              $(WRIOFFQUEDIR)/AccA97NbrQue.o  \
              $(WRIOFFQUEDIR)/SymAccNbrQue.o  \
              $(WRIOFFQUEDIR)/PayCardQue.o    \
              $(WRIOFFQUEDIR)/AccNbrQueAcct.o \
              $(WRIOFFQUEDIR)/A97NbrQueServ.o
SCVWRIOFFQUE= AccNbrQue,A97NbrQue,AccA97NbrQue,SymAccNbrQue,PayCardQue,AccNbrQueAcct,A97NbrQueServ

OBJWRITEOFF= $(WRITEOFFDIR)/WriOffAcct.o  \
             $(WRITEOFFDIR)/WriOffServ.o  \
             $(WRITEOFFDIR)/AWriOffAcct.o \
             $(WRITEOFFDIR)/RWriOffAcct.o \
             $(WRITEOFFDIR)/AWriOffServ.o \
             $(WRITEOFFDIR)/RWriOffServ.o \
             $(WRITEOFFDIR)/BillFormat.o
SCVWRITEOFF= WriOffAcct,WriOffServ,AWriOffAcct,RWriOffAcct,AWriOffServ,RWriOffServ

OBJAIDQUE= $(AIDQUEDIR)/InvoiceInfoQue.o \
           $(AIDQUEDIR)/InvoiceQue.o     \
           $(AIDQUEDIR)/PaymentQue.o     \
           $(AIDQUEDIR)/TxQue.o          \
           $(AIDQUEDIR)/AcctInfoQue.o
SCVAIDQUE= InvoiceInfoQue,InvoiceQue,PaymentQue,TxQue,AcctInfoQue

OBJAIDFUNC= $(AIDFUNCDIR)/AntiInvoice.o   \
            $(AIDFUNCDIR)/ExptSettle.o    \
            $(AIDFUNCDIR)/Reprint.o       \
            $(AIDFUNCDIR)/Deposit.o       \
            $(AIDFUNCDIR)/BatchRollback.o \
            $(AIDFUNCDIR)/Deratelatefee.o
SCVAIDFUNC= AntiInvoice,ExptSettle,Reprint,Deposit,BatchRollback,Deratelatefee

OBJSTAFF= $(STAFFDIR)/StaffLogin.o   \
          $(STAFFDIR)/ChangePasswd.o \
          $(STAFFDIR)/DayReports.o   \
          $(STAFFDIR)/StaffReport.o  \
          $(STAFFDIR)/StaffLogView.o \
          $(STAFFDIR)/NbrRangeQue.o  \
          $(STAFFDIR)/StaffInvoice.o \
          $(STAFFDIR)/RegisterCard.o \
          $(STAFFDIR)/BillItemType.o \
          $(STAFFDIR)/HaltCard.o \
          $(STAFFDIR)/LogoutCard.o
SCVSTAFF= StaffLogin,ChangePasswd,DayReports,StaffReport,StaffLogView,NbrRangeQue,StaffInvoice,RegisterCard,BillItemType,HaltCard,LogoutCard

OBJPROCESS= $(PROCESSDIR)/RollBackPay.o \
            $(PROCESSDIR)/WriOffACK.o   \
            $(PROCESSDIR)/WriOffREV.o
SCVPROCESS= RollBackPay,WriOffACK,WriOffREV

OBJSERIAL= $(SERIALDIR)/Serial.o
SCVSERIAL= Serial,Debug

.SUFFIXES: .pc .c .o

.pc.c:
        $(PROC) $(PROCPLSFLAGS) iname=$*

.pc.o:
        $(PROC) $(PROCPLSFLAGS) iname=$*
        $(CC) -o $*.o -c $*.c -I$(PUBLICDIR) $(INCLUDE) -I${TUXDIR}/include

.c.o:
        $(CC) -o $*.o -c $*.c -I$(PUBLICDIR) $(INCLUDE) -I${TUXDIR}/include

#公用程序
$(PUBLICDIR)/CltTxID.o: $(PUBLICDIR)/CltTxID.c $(PUBLICDIR)/WriteOff.h

$(PUBLICDIR)/ErrorMsg.o: $(PUBLICDIR)/ErrorMsg.c $(PUBLICDIR)/ErrorMsg.h

$(PUBLICDIR)/Pack.o: $(PUBLICDIR)/Pack.c $(PUBLICDIR)/Pack.h

$(PUBLICDIR)/ServInit.o: $(PUBLICDIR)/ServInit.pc $(PUBLICDIR)/StaffRole.pc $(PUBLICDIR)/StaffRole.h
        $(PROC) $(PROCFLAGS) iname=$(PUBLICDIR)/ServInit
        $(CC) -o $(PUBLICDIR)/ServInit.o -c $(PUBLICDIR)/ServInit.c $(INCLUDE) -I${TUXDIR}/include

$(PUBLICDIR)/StaffRole.o: $(PUBLICDIR)/StaffRole.pc $(PUBLICDIR)/StaffRole.h $(PUBLICDIR)/ErrorMsg.h $(PUBLICDIR)/WriteOff.h

$(PUBLICDIR)/CheckDB.o: $(PUBLICDIR)/CheckDB.pc
        $(PROC) $(PROCFLAGS) iname=$(PUBLICDIR)/CheckDB
        $(CC) -o $(PUBLICDIR)/CheckDB.o -c $(PUBLICDIR)/CheckDB.c $(INCLUDE) -I${TUXDIR}/include

#查询
$(BINDIR)/Query: $(OBJPUBLIC) $(OBJQUERY)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(QUERYDIR)/Query \
                -f "$(OBJPUBLIC)" -f "$(OBJQUERY)" -s $(SCVQUERY)
        mv $(QUERYDIR)/Query $(BINDIR)/Query

$(QUERYDIR)/CycleChargeQue.o: $(QUERYDIR)/CycleChargeQue.pc $(PUBLIC)

$(QUERYDIR)/TicketQue.o: $(QUERYDIR)/TicketQue.pc $(PUBLIC)

$(QUERYDIR)/AcctItemQue1.o: $(QUERYDIR)/AcctItemQue1.pc $(PUBLIC)

$(QUERYDIR)/AcctItemQue2.o: $(QUERYDIR)/AcctItemQue2.pc $(PUBLIC)

$(QUERYDIR)/BalanceQue.o: $(QUERYDIR)/BalanceQue.pc $(PUBLIC)

$(QUERYDIR)/ValidatePasswd.o: $(QUERYDIR)/ValidatePasswd.pc $(PUBLIC)

$(QUERYDIR)/UpdatePasswd.o: $(QUERYDIR)/UpdatePasswd.pc $(PUBLIC)

$(QUERYDIR)/POC97AndBill.o: $(QUERYDIR)/POC97AndBill.pc $(PUBLIC)

#销帐查询
$(BINDIR)/WriOffQue: $(OBJPUBLIC) $(OBJWRIOFFQUE)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(WRIOFFQUEDIR)/WriOffQue \
                -f "$(OBJPUBLIC)" -f "$(OBJWRIOFFQUE)" -s $(SCVWRIOFFQUE)
        mv $(WRIOFFQUEDIR)/WriOffQue $(BINDIR)/WriOffQue

$(WRIOFFQUEDIR)/AccNbrQue.o: $(WRIOFFQUEDIR)/AccNbrQue.pc $(PUBLIC)

$(WRIOFFQUEDIR)/A97NbrQue.o: $(WRIOFFQUEDIR)/A97NbrQue.pc $(PUBLIC)

$(WRIOFFQUEDIR)/AccA97NbrQue.o: $(WRIOFFQUEDIR)/AccA97NbrQue.pc $(PUBLIC)

$(WRIOFFQUEDIR)/SymAccNbrQue.o: $(WRIOFFQUEDIR)/SymAccNbrQue.pc $(PUBLIC)

$(WRIOFFQUEDIR)/PayCardQue.o: $(WRIOFFQUEDIR)/PayCardQue.pc $(PUBLIC)

$(WRIOFFQUEDIR)/AccNbrQueAcct.o: $(WRIOFFQUEDIR)/AccNbrQueAcct.pc $(PUBLIC)

$(WRIOFFQUEDIR)/A97NbrQueServ.o: $(WRIOFFQUEDIR)/A97NbrQueServ.pc $(PUBLIC)

#销帐
$(BINDIR)/WriteOff: $(OBJPUBLIC) $(OBJWRITEOFF)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(WRITEOFFDIR)/WriteOff \
                -f "$(OBJPUBLIC)" -f "$(OBJWRITEOFF)" -s $(SCVWRITEOFF)
        mv $(WRITEOFFDIR)/WriteOff $(BINDIR)/WriteOff

$(WRITEOFFDIR)/WriOffAcct.o: $(WRITEOFFDIR)/WriOffAcct.pc $(PUBLIC)

$(WRITEOFFDIR)/AWriOffAcct.o: $(WRITEOFFDIR)/AWriOffAcct.c $(PUBLIC)

$(WRITEOFFDIR)/RWriOffAcct.o: $(WRITEOFFDIR)/RWriOffAcct.c $(PUBLIC)

$(WRITEOFFDIR)/WriOffServ.o: $(WRITEOFFDIR)/WriOffServ.pc $(PUBLIC)

$(WRITEOFFDIR)/AWriOffServ.o: $(WRITEOFFDIR)/AWriOffServ.c $(PUBLIC)

$(WRITEOFFDIR)/RWriOffServ.o: $(WRITEOFFDIR)/RWriOffServ.c $(PUBLIC)

$(WRITEOFFDIR)/BillFormat.o: $(WRITEOFFDIR)/BillFormat.pc $(PUBLIC)

#辅助查询
$(BINDIR)/AidQue: $(OBJPUBLIC) $(OBJAIDQUE)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(AIDQUEDIR)/AidQue \
                -f "$(OBJPUBLIC)" -f "$(OBJAIDQUE)" -s $(SCVAIDQUE)
        mv $(AIDQUEDIR)/AidQue $(BINDIR)/AidQue

$(AIDQUEDIR)/InvoiceInfoQue.o: $(AIDQUEDIR)/InvoiceInfoQue.pc $(PUBLIC)

$(AIDQUEDIR)/InvoiceQue.o: $(AIDQUEDIR)/InvoiceQue.pc $(PUBLIC)

$(AIDQUEDIR)/PaymentQue.o: $(AIDQUEDIR)/PaymentQue.pc $(PUBLIC)

$(AIDQUEDIR)/TxQue.o: $(AIDQUEDIR)/TxQue.pc $(PUBLIC)

$(AIDQUEDIR)/AcctInfoQue.o: $(AIDQUEDIR)/AcctInfoQue.pc $(PUBLIC)

#辅助功能
$(BINDIR)/AidFunc: $(OBJPUBLIC) $(OBJAIDFUNC)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(AIDFUNCDIR)/AidFunc \
                -f "$(OBJPUBLIC)" -f "$(OBJAIDFUNC)" -s $(SCVAIDFUNC)
        mv $(AIDFUNCDIR)/AidFunc $(BINDIR)/AidFunc

$(AIDFUNCDIR)/AntiInvoice.o: $(AIDFUNCDIR)/AntiInvoice.pc $(PUBLIC)

$(AIDFUNCDIR)/ExptSettle.o: $(AIDFUNCDIR)/ExptSettle.pc $(PUBLIC)

$(AIDFUNCDIR)/Reprint.o: $(AIDFUNCDIR)/Reprint.pc $(PUBLIC)

$(AIDFUNCDIR)/Deposit.o: $(AIDFUNCDIR)/Deposit.pc $(PUBLIC)

$(AIDFUNCDIR)/BatchRollback.o: $(AIDFUNCDIR)/BatchRollback.pc $(PUBLIC)

$(AIDFUNCDIR)/Deratelatefee.o: $(AIDFUNCDIR)/Deratelatefee.pc $(PUBLIC)

#员工功能
$(BINDIR)/Staff: $(OBJPUBLIC) $(OBJSTAFF)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(STAFFDIR)/Staff \
                -f "$(OBJPUBLIC)" -f "$(OBJSTAFF)" -s $(SCVSTAFF)
        mv $(STAFFDIR)/Staff $(BINDIR)/Staff

$(STAFFDIR)/StaffLogin.o: $(STAFFDIR)/StaffLogin.pc $(PUBLIC)

$(STAFFDIR)/ChangePasswd.o: $(STAFFDIR)/ChangePasswd.pc $(PUBLIC)

$(STAFFDIR)/DayReports.o: $(STAFFDIR)/DayReports.pc $(PUBLIC)

$(STAFFDIR)/StaffReport.o: $(STAFFDIR)/StaffReport.pc $(PUBLIC)

$(STAFFDIR)/StaffLogView.o: $(STAFFDIR)/StaffLogView.pc $(PUBLIC)

$(STAFFDIR)/NbrRangeQue.o: $(STAFFDIR)/NbrRangeQue.pc $(PUBLIC)

$(STAFFDIR)/StaffInvoice.o: $(STAFFDIR)/StaffInvoice.pc $(PUBLIC)

$(STAFFDIR)/RegisterCard.o: $(STAFFDIR)/RegisterCard.pc $(PUBLIC)

$(STAFFDIR)/BillItemType.o: $(STAFFDIR)/BillItemType.pc $(PUBLIC)

$(STAFFDIR)/HaltCard.o: $(STAFFDIR)/HaltCard.pc $(PUBLIC)

$(STAFFDIR)/LogoutCard.o: $(STAFFDIR)/LogoutCard.pc $(PUBLIC)

#处理功能
$(BINDIR)/Process: $(OBJPUBLIC) $(OBJPROCESS)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(PROCESSDIR)/Process \
                -f "$(OBJPUBLIC)" -f "$(OBJPROCESS)" -s $(SCVPROCESS)
        mv $(PROCESSDIR)/Process $(BINDIR)/Process

$(PROCESSDIR)/RollBackPay.o: $(PROCESSDIR)/RollBackPay.pc $(PUBLIC)

$(PROCESSDIR)/WriOffACK.o: $(PROCESSDIR)/WriOffACK.pc $(PUBLIC)

$(PROCESSDIR)/WriOffREV.o: $(PROCESSDIR)/WriOffREV.pc $(PUBLIC)

#产生流水
$(BINDIR)/Serial: $(OBJSERIAL)
        CFLAGS="-L/oracle/app/oracle/product/8.1.7/lib $(PROLDLIBS)" buildserver -o $(SERIALDIR)/Serial \
                -f "$(OBJSERIAL)" -s $(SCVSERIAL)
        mv $(SERIALDIR)/Serial $(BINDIR)/Serial

$(SERIALDIR)/Serial.o: $(SERIALDIR)/Serial.c

#系统参数设置程序
$(BINDIR)/lijin: ./Install/lijin.cpp
        $(CPP) ./Install/lijin.cpp -o ./Install/lijin -I/usr/include/sys -I/usr/include/arpa
        mv ./Install/lijin $(BINDIR)/lijin
发表于 2005-11-23 23:36:51 | 显示全部楼层
呵呵
你在那里的电信,如果是上海的咱们或许可以认识一下的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表