How to compile bbed tools in oracle9i
Last Update:2017-02-28
Source: Internet
Author: User
oracle| compilation
[Oracle@jumper oracle]$ CD $ORACLE _home/rdbms/lib
[Oracle@jumper lib]$ make-f ins_rdbms.mk $ORACLE _home/rdbms/lib/bbed
Linking bbed utility (bbed)
Rm-f/opt/oracle/product/9.2.0/rdbms/lib/bbed
Gcc-o/opt/oracle/product/9.2.0/rdbms/lib/bbed-l/opt/oracle/product/9.2.0/rdbms/lib/-L/opt/oracle/product/9.2.0 /lib/-l/opt/oracle/product/9.2.0/lib/stubs/ /opt/oracle/product/9.2.0/lib/s0main.o/opt/oracle/product/ 9.2.0/RDBMS/LIB/SSBBDED.O/OPT/ORACLE/PRODUCT/9.2.0/RDBMS/LIB/SBBDPT.O ' Cat/opt/oracle/product/9.2.0/lib/ldflags ' -LNSSLB9-LNCRYPT9-LNSGR9-LNZJS9-LN9-LNL9/OPT/ORACLE/PRODUCT/9.2.0/RDBMS/LIB/DEFOPT.O- ldbtools9-lclntsh ' cat/opt/oracle/product/9.2.0/lib/ldflags ' -lnsslb9-lncrypt9-lnsgr9- Lnzjs9-ln9-lnl9-lnro9 ' cat/opt/oracle/product/9.2.0/lib/ldflags ' -lnsslb9-lncrypt9-lnsgr9- lnzjs9-ln9-lnl9-lclient9 -lvsn9-lwtc9-lcommon9-lgeneric9-lwtc9-lmm-lnls9 -lcore9-lnls9-lcore9-lnls 9-lxml9-lcore9-lunls9-lnls9 ' cat/opt/oracle/product/9.2.0/lib/ldflags ' -lnsslb9-lncrypt9- Lnsgr9-lnzjs9-ln9-lnl9-lnro9 ' Cat/opt/oracle/product/9.2.0/lib/ldflags '  &NBsp; -lnsslb9-lncrypt9-lnsgr9-lnzjs9-ln9-lnl9-lclient9 -lvsn9-lwtc9-lcommon9-lgeneric9 -ltrace9 -lnls9 -lcore9-lnls9-lcore9-lnls9-lxml9-lcore9-lunls9-lnls9-lclient9 -lvsn9-lwtc9-lcommon9-lgeneric 9-lnls9 -lcore9-lnls9-lcore9-lnls9-lxml9-lcore9-lunls9-lnls9 ' Cat/opt/oracle/product/9.2.0/lib /sysliblist '-wl,-rpath,/opt/oracle/product/9.2.0/lib:/lib:/usr/lib-lm ' cat/opt/oracle/product /9.2.0/lib/sysliblist '-ldl-lm
[Oracle@jumper lib]$./bbed
Password:
Bbed:release 2.0.0.0.0-limited Production on Sat Dec 4 08:05:54 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
************* !!! For Oracle Internal with only!!! ***************
Bbed> Help
Help [<bbed command> | ALL]
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 | Blocks] 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]
Bbed>