<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    java思維

    正在學(xué)習(xí)中:(

    PCC-S-02014, Encountered the symbol "..." when expecting one of the following:

    proc cpp_suffix=cpp code=cpp txsPublic.pcc define=__linux UNSAFE_NULL=YES MODE=ORACLE DBMS=V8 CHAR_MAP=STRING INCLUDE=/home/tax/100/src/public/include INCLUDE=/home/tax/100/src/server/include INCLUDE=/usr/oracle/product/9.2.0/precomp/public

    Pro*C/C++: Release 9.2.0.6.0 - Production on Fri Nov 24 17:07:54 2006
    Syntax error at line 52, column 37, file /usr/include/c++/3.4.3/bits/concept_check.h:
    Error at line 52, column 37 in file /usr/include/c++/3.4.3/bits/concept_check.h
    #define __glibcxx_function_requires(...)
    ....................................1
    PCC-S-02014, Encountered the symbol "..." when expecting one of the following:

    ?? ) an identifier, define, elif, else, endif, error, if, ifdef,
    ?? ifndef,
    解決方法:
    1、配置好?$ORACLE_HOME/precomp/admin/pcscfg.cfg?文件
    ???根據(jù)你的系統(tǒng)不同,大概像這樣

    				
    sys_include=(/usr/lib/gcclib/i386redhatlinux/3.2.2/include,/u01/oracle/product/8.1.7/precomp/public,/usr/include,/usr/include/sys)
    include=(/u01/oracle/product/8.1.7/precomp/public)
    include=/u01/oracle/product/8.1.7/precomp/hdrs
    include=/u01/oracle/product/8.1.7/tpcc2x_2/src
    include=/u01/oracle/product/8.1.7/precomp/precomp/include
    include=/u01/oracle/product/8.1.7/precomp/oracore/include
    include=/u01/oracle/product/8.1.7/precomp/oracore/public
    include=/u01/oracle/product/8.1.7/precomp/rdbms/include
    include=/u01/oracle/product/8.1.7/precomp/rdbms/public
    include=/u01/oracle/product/8.1.7/precomp/rdbms/demo
    include=/u01/oracle/product/8.1.7/precomp/nlsrtl/include
    include=/u01/oracle/product/8.1.7/precomp/nlsrtl/public
    include=/u01/oracle/product/8.1.7/precomp/network_src/include
    include=/u01/oracle/product/8.1.7/precomp/network_src/public
    include=/u01/oracle/product/8.1.7/precomp/network/include
    include=/u01/oracle/product/8.1.7/precomp/network/public
    include=/u01/oracle/product/8.1.7/precomp/plsql/public
    ltype=short


    ???
    2、預(yù)編譯的時(shí)候加上?parse=none?選項(xiàng)
    ????proc?iname=***??parse=none

    3、編譯的時(shí)候要鏈接oracle的庫文件,?加選項(xiàng)?-lclntsh
    ?????下面是我參照別的網(wǎng)友的一個(gè)makefile文件,
    ???

    INCLDIR=?-I.?-I/u01/oracle/product/8.1.7/precomp/public?-I/u01/oracle/product/8.1.7/rdbms/public?-I/u01/oracle/product/8.1.7/rdbms/demo?-I/u01/oracle/product/8.1.7/plsql/public?-I/u01/oracle/product/8.1.7/network/public?

    DFLAGS=?-DPRECOMP?-DLINUX?-D_GNU_SOURCE?-DSLTS_ENABLE?-DSLMXMX_ENABLE?-D_REENTRANT?-DNS_THREADS

    CFLAGS=?-O3

    LIBPATH=?-L/u01/oracle/product/8.1.7/lib/

    LIBS=-lclntsh?`cat?/u01/oracle/product/8.1.7/lib/sysliblist`?-ldl?-lm

    myproc:myproc.pc
    proc?parse=no?iname=myproc.pc?include=$(ORACLE_HOME)/precomp/public
    gcc??-o?$@?$@.c?-I$(ORACLE_HOME)/precomp/public?-L$(ORACLE_HOME)/lib?-lclntsh?-lclient8?$(LIBPATH)?$(LIBS)

    clean:
    rm?*.lis?myproc.c?myproc

    posted on 2006-11-24 11:04 john 閱讀(11484) 評(píng)論(6)  編輯  收藏 所屬分類: Oracle Technology

    評(píng)論

    # re: PCC-S-02014, Encountered the symbol "..." when expecting one of the following: 2006-11-26 22:21 開發(fā)工程師

    預(yù)編譯的時(shí)候加上 parse=none 選項(xiàng)
    proc iname=*** parse=none
    即可解決錯(cuò)誤提示。  回復(fù)  更多評(píng)論   

    # re: PCC-S-02014, Encountered the symbol "..." when expecting one of the following:[未登錄] 2009-01-08 10:51 thomas

    我也碰到了這個(gè)問題,但是加上parse=none后,所有的預(yù)編譯全部忽略了,而我代碼中有很多宏定義,還要去掉這些宏定義,否則報(bào)錯(cuò)。不知道還有沒有其他的解決辦法?  回復(fù)  更多評(píng)論   

    # re: PCC-S-02014, Encountered the symbol "..." when expecting one of the following: 2009-01-08 21:30 yuli

    把這些宏定義放到 EXEC SQL BEGIN DECLARE SECTION;

    EXEC SQL END DECLARE SECTION;

    之間,再試試!  回復(fù)  更多評(píng)論   

    # re: PCC-S-02014, Encountered the symbol "..." when expecting one of the following:[未登錄] 2009-01-13 11:45 thomas

    @yuli
    感謝!我試了一下,可行,兄弟聯(lián)系方式是什么?我yangbo0824@msn.com  回復(fù)  更多評(píng)論   

    # re: PCC-S-02014, Encountered the symbol "..." when expecting one of the following:[未登錄] 2010-09-07 11:02 xiaoyu

    這個(gè)問題我也遇到了,不過我的原因是使用條件編譯時(shí)少了一個(gè)#endif。加上后就編譯就通過了。
    所以建議還是先檢查一下是不是在使用條件編譯時(shí)缺少了什么。  回復(fù)  更多評(píng)論   

    # re: PCC-S-02014, Encountered the symbol "..." when expecting one of the following:[未登錄] 2010-09-09 15:20 風(fēng)

    ORA-06550: line 5, column 11:
    PLS-00103: Encountered the symbol "PRO_GETNAME" when expecting one of the following:

    := . ( @ % ; immediate
    The symbol ":=" was substituted for "PRO_GETNAME" to continue.  回復(fù)  更多評(píng)論   

    主站蜘蛛池模板: 亚洲成人免费电影| 亚洲v高清理论电影| 91免费国产自产地址入| 香蕉免费看一区二区三区| 亚洲色欲色欲www在线播放| 亚洲黄色在线视频| 国产亚洲一区二区在线观看| 国产成人免费网站在线观看| 无人在线观看免费高清视频 | 免费国产黄线在线观看| 美女被cao网站免费看在线看| 一级免费黄色大片| 精品国产亚洲AV麻豆| 亚洲中文无码永久免| 亚洲一级片在线播放| 亚洲电影在线播放| 亚洲视频免费在线播放| 亚洲成人免费在线| 久久久久久久亚洲Av无码| 亚洲AV综合色区无码一区爱AV| 亚洲自偷自偷偷色无码中文| 亚洲男人av香蕉爽爽爽爽| 亚洲国产香蕉人人爽成AV片久久 | 亚洲视频在线播放| 久久久久亚洲av无码尤物| 久久精品国产精品亚洲精品| 久久久久亚洲AV无码专区网站| 亚洲 小说区 图片区 都市| 亚洲A∨午夜成人片精品网站| 免费在线观看中文字幕| 免费少妇a级毛片| 亚洲综合国产精品第一页 | 你好老叔电影观看免费| a级毛片免费观看视频| 久久久久久成人毛片免费看 | 亚洲国产美女视频| 亚洲精品福利你懂| 亚洲另类无码专区首页| 国产亚洲精品美女久久久久| 美景之屋4在线未删减免费| 免费夜色污私人影院网站电影|