redhat下如何編譯bbed!
網上很多地方寫的編譯bbed的命令是:
make -f ins_rdbms.mk BBED=/opt/app/oracle/product/10.2.0/db_1/rdbms/lib/bbed /opt/app/oracle/product/10.2.0/db_1/bin/bbed
可是總是編譯不成功,在yxyup的幫助下總算編譯成功了:
make -f ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed
多謝yxyup!
順手記錄下大致過程,進入bbed時需要輸入default的password:blockedit
[@more@][oracle@xys lib]$ ls ins*
ins_rdbms.mk
[oracle@xys lib]$ make -f ins_rdbms.mk BBED=/opt/app/oracle/product/10.2.0/db_1/rdbms/lib/bbed /opt/app/oracle/product/10.2.0/db_1/bin/bbed
make: *** No rule to make target `/opt/app/oracle/product/10.2.0/db_1/bin/bbed'. Stop.
[oracle@xys lib]$ make -f ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed
Linking BBED utility (bbed)
rm -f /opt/app/oracle/product/10.2.0/db_1/bin/bbed
gcc -o /opt/app/oracle/product/10.2.0/db_1/bin/bbed -L/opt/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/opt/app/oracle/product/10.2.0/db_1/lib/ -L/opt/app/oracle/product/10.2.0/db_1/lib/stubs/ -L/usr/lib -lirc /opt/app/oracle/product/10.2.0/db_1/lib/s0main.o /opt/app/oracle/product/10.2.0/db_1/rdbms/lib/ssbbded.o /opt/app/oracle/product/10.2.0/db_1/rdbms/lib/sbbdpt.o `cat /opt/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 /opt/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lclntsh `cat /opt/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /opt/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /opt/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /opt/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /opt/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/opt/app/oracle/product/10.2.0/db_1/lib -lm `cat /opt/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/opt/app/oracle/product/10.2.0/db_1/lib
[oracle@xys lib]$ bbed
Password:
BBED: Release 2.0.0.0.0 - Limited Production on Tue Sep 16 10:05:05 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
************* !!! For Oracle Internal Use only !!! ***************
BBED> help
HELP [
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 [
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 ]
:
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]
BBED> show
BBED> show all
FILE# 0
BLOCK# 1
OFFSET 0
DBA 0x00000000 (0 0,1)
FILENAME
BIFILE bifile.bbd
LISTFILE
BLOCKSIZE 8192
MODE Browse
EDIT Unrecoverable
IBASE Dec
OBASE Dec
WIDTH 80
COUNT 512
LOGFILE log.bbd
SPOOL No
BBED>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1010702/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [BBED]Oracle 11.2.0.4 Centos6.5下編譯bbedOracleCentOS編譯
- 11g下編譯使用BBED編譯
- 【BBED】編譯及基本命令(1)編譯
- oracle11g 編譯BBED工具Oracle編譯
- oracle11g編譯生成bbedOracle編譯
- oracle10g bbed編譯與使用Oracle編譯
- [20121004]11G下編譯bbed.txt編譯
- 如何在Windows下使用make編譯MakefileWindows編譯
- redhat 6.5 gcc編譯器初識之一RedhatGC編譯
- ubuntu下編譯交叉編譯工具鏈Ubuntu編譯
- Golang在各平臺下如何交叉編譯Golang編譯
- win10環境下fortran怎麼編譯_win10環境下fortran如何編譯Win10編譯
- redhat 5下如何mount光碟機Redhat
- [bazel]-如何編譯編譯
- Windows下編譯OpenOCDWindows編譯
- Windows下編譯VLCWindows編譯
- Windows下編譯Caffe並編譯Matlab介面Windows編譯Matlab
- 如何在Linux下編譯安裝MariaDBLinux編譯
- Linux 下如何繞過編譯器優化Linux編譯優化
- 如何用在命令列下使用VS編譯器命令列編譯
- Linux下如何用GCC編譯動態庫LinuxGC編譯
- 編譯器如何生成彙編編譯
- 老話新說,RedHat 公司 推薦編譯核心方法(轉)Redhat編譯
- 如何用cmake編譯編譯
- python如何編譯Python編譯
- 在Windows下編譯WebRTCWindows編譯Web
- Windows下編譯使用AliyunOSSCSDKWindows編譯
- windows 下c++編譯WindowsC++編譯
- 【FFmpeg】Windows下FFmpeg編譯Windows編譯
- Windows下編譯fast rcnnWindows編譯ASTCNN
- cygwin下ndk編譯protobuf編譯
- Windows下編譯TriangleWindows編譯
- ES6 系列之 Babel 是如何編譯 Class 的(下)Babel編譯
- scss如何編譯成css?CSS編譯
- 如何編譯 Linux 核心編譯Linux
- CentOS 下編譯安裝 NginxCentOS編譯Nginx
- CentOS 下編譯安裝 apacheCentOS編譯Apache
- macOS 下編譯 cef3Mac編譯