zoukankan      html  css  js  c++  java
  • 11g编译bbed

    报错如下:

    make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed
    
    Linking BBED utility (bbed)
    rm -f /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/bbed
    gcc -o /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/bbed -m64 -z noexecstack -L/u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ -L/u01/app/oracle/product/11.2.0/db_1/lib/ -L/u01/app/oracle/product/11.2.0/db_1/lib/stubs/  /u01/app/oracle/product/11.2.0/db_1/lib/s0main.o /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ssbbded.o /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/sbbdpt.o `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   `cat /u01/app/oracle/product/11.2.0/db_1/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -lm    `cat /u01/app/oracle/product/11.2.0/db_1/lib/sysliblist` -ldl -lm   -L/u01/app/oracle/product/11.2.0/db_1/lib
    gcc: /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ssbbded.o: No such file or directory
    gcc: /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/sbbdpt.o: No such file or directory
    make: *** [/u01/app/oracle/product/11.2.0/db_1/rdbms/lib/bbed] Error 1

    缺少两个库文件,从10g或网搜这两个文件及bbedus.msb,拷贝到对应的目录,再次编译,ok。

    [oracle@rac1:/u01/app/oracle/product/11.2.0/db_1/rdbms/lib]make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed
    
    Linking BBED utility (bbed)
    rm -f /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/bbed
    gcc -o /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/bbed -m64 -z noexecstack -L/u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ -L/u01/app/oracle/product/11.2.0/db_1/lib/ -L/u01/app/oracle/product/11.2.0/db_1/lib/stubs/  /u01/app/oracle/product/11.2.0/db_1/lib/s0main.o /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ssbbded.o /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/sbbdpt.o `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/app/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   `cat /u01/app/oracle/product/11.2.0/db_1/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -lm    `cat /u01/app/oracle/product/11.2.0/db_1/lib/sysliblist` -ldl -lm   -L/u01/app/oracle/product/11.2.0/db_1/lib

    使用bbed,如下:

    [oracle@rac1:/u01/app/oracle/product/11.2.0/db_1/rdbms/lib]bbed
    Password: [密码blockedit]
    
    BBED: Release 2.0.0.0.0 - Limited Production on Mon Mar 20 11:43:03 2017
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    ************* !!! For Oracle Internal Use only !!! ***************
    
    BBED> help all
    SET DBA [ dba | file#, block# ]
    SET FILENAME 'filename'
    SET FILE file#
    SET BLOCK [+/-]block#
    SET OFFSET [ [+/-]byte offset | symbol | *symbol ]
    SET BLOCKSIZE bytes
    SET LIST[FILE] 'filename'
    SET WIDTH character_count
    SET COUNT bytes_to_display
    SET IBASE [ HEX | OCT | DEC ]
    SET OBASE [ HEX | OCT | DEC ]
    SET MODE  [ BROWSE | EDIT ]
    SET SPOOL [ Y | N ]
    SHOW [ <SET parameter> | ALL ]
    INFO
    MAP[/v] [ DBA | FILENAME | FILE | BLOCK ]
    DUMP[/v] [ DBA | FILENAME | FILE | BLOCK | OFFSET | COUNT ]
    PRINT[/x|d|u|o|c] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
    EXAMINE[/Nuf] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
    </Nuf>:
    N - a number which specifies a repeat count.
    u - a letter which specifies a unit size:
      b - b1, ub1 (byte)
      h - b2, ub2 (half-word)
      w - b4, ub4(word)
      r - Oracle table/index row
    f - a letter which specifies a display format:
      x - hexadecimal
      d - decimal
      u - unsigned decimal
      o - octal
      c - character (native)
      n - Oracle number
      t - Oracle date
      i - Oracle rowid
    FIND[/x|d|u|o|c] numeric/character string [ TOP | CURR ]
    COPY [ DBA | FILE | FILENAME | BLOCK ] TO [ DBA | FILE | FILENAME | BLOCK ]
    MODIFY[/x|d|u|o|c] numeric/character string
          [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
    ASSIGN[/x|d|u|o] <target spec>=<source spec>
    <target spec> : [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
    <source spec> : [ value | <target spec options> ]
    SUM [ DBA | FILE | FILENAME | BLOCK ] [ APPLY ]
    PUSH [ DBA | FILE | FILENAME | BLOCK | OFFSET ]
    POP [ALL]
    REVERT [ DBA | FILE | FILENAME | BLOCK ]
    UNDO
    HELP [ <bbed command> | ALL ]
    VERIFY [ DBA | FILE | FILENAME | BLOCK ]
    CORRUPT [ DBA | FILE | FILENAME | BLOCK ]
  • 相关阅读:
    UVALive 7276 Wooden Signs
    hdu4291 A Short problem
    A
    hdu4686 Arc of Dream
    thinkphp5 模型的 更新操作
    thinkphp5 模型的 新增操作
    thinkphp 模型的创建
    thinkphp5 增删改查操作
    tp5 的查询构造器
    thinkphp5 数据库的原生查询
  • 原文地址:https://www.cnblogs.com/likingzi/p/6587336.html
Copyright © 2011-2022 走看看