问题描述
如何编译tuxedo程序编译时有那些选项,其含义是什么?如以下这个程序:#include<atmi.h>/*TUXEDOHeaderFile*/#include<string.h>#include<stdio.h>#include<stdlib.h>#include<sqlcpr.h>#include<setjmp.h>#include<userlog.h>/*TUXEDOHeaderFile*/EXECSQLBEGINDECLARESECTION;VARCHARusername[12];VARCHARpassword[12];VARCHARdbname[12];EXECSQLENDDECLARESECTION;EXECSQLDECLAREdblinkDATABASE;EXECSQLINCLUDEsqlca;inttpsvrinit(intargc,char**argv){strcpy(username.arr,"bill");username.len=strlen(username.arr);strcpy(password.arr,"bill");password.len=strlen(password.arr);strcpy(dbname.arr,"v2p");dbname.len=strlen(dbname.arr);EXECSQLWHENEVERSQLERRORGOTOfailed;EXECSQLCONNECT:usernameIDENTIFIEDBY:passwordATdblinkUSING:dbname;userlog("connectdbsuccess");return0;failed:userlog("connectdbfailed");return-1;}UPDATE_DATA(TPSVCINFO*rqst){charename[20];strcpy(ename,'daizhq');EXECSQLWHENEVERSQLERRORGOTOfailed;EXECSQLATdblinkSAVEPOINTbefore;EXECSQLATdblinkUPDATEcustsetname=:enamewherecust_id=24602290;EXECSQLATdblinkDELETEcustwherecust_id=12345678;EXECSQLATdblinkCOMMITWORK;tpreturn(TPSUCCESS,0,rqst->data,0,0);failed:EXECSQLWHENEVERSQLERRORCONTINUE;EXECSQLATdblinkROLLBACKTOSAVEPOINTbefore;tpreturn(TPFAIL,0,rqst->data,0,0);}voidtpsvrdone(){EXECSQLWHENEVERSQLERRORCONTINUE;EXECSQLATdblinkCOMMITWORKRELEASE;}我现在已用prociname=/home/bill/ver2/src/simpserv_ora.pconame=/home/bill/ver2/src/simpserv_ora.csqlcheck=fulllines=yesuserid=bill/bill@v2pinclude=/oracle9/app/oracle/product/9.2.0/precomp/publicinclude=/home/bill/ver2/includeinclude=/home/bill/tuxedo71/include生成了c文件在执行cc-I.-I/oracle9/app/oracle/product/9.2.0/precomp/public-I/home/bill/ver2/include-I/home/bill/tuxedo71/include-I/home/bill/tuxedo71/lib-g-o/home/bill/ver2/src/simpserv_ora.o-c"-bnoquiet"buildserver-v-rOracle_XA-o/home/bill/ver2/bin/SIMPSERV_ORA-f/home/bill/ver2/obj/simpserv_ora.o-l"-lnon_ws_mcci-lmcci"-sSIMPSERV_ORA/home/bill/ver2/src/simpserv_ora.c出错:cc:1501-228inputfilebuildservernotfoundcc:1501-228inputfileOracle_XAnotfoundcc:1501-208commandoptionlismissingasubargumentunlink:/tmp/xlcW0oCEbEaunlink:/tmp/xlcW1oDEbEbunlink:/tmp/xlcW2oGEbEcmake:Theerrorcodefromthelastcommandis40.应如何解决