程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> 11G怎樣編譯BBED

11G怎樣編譯BBED

編輯:Oracle教程

[oracle@TEST02 lib]$ make -f ins_rdbms.mk /oracle/app/11gR1/db/rdbms/lib/bbed

Linking BBED utility (bbed)
rm -f /oracle/app/11gR1/db/rdbms/lib/bbed
gcc -o /oracle/app/11gR1/db/rdbms/lib/bbed -L/oracle/app/11gR1/db/rdbms/lib/ -L/oracle/app/11gR1/db/lib/ -L/oracle/app/11gR1/db/lib/stubs/ /oracle/app/11gR1/db/lib/s0main.o /oracle/app/11gR1/db/rdbms/lib/ssbbded.o /oracle/app/11gR1/db/rdbms/lib/sbbdpt.o `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/11gR1/db/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 /oracle/app/11gR1/db/lib/sysliblist` -Wl,-rpath,/oracle/app/11gR1/db/lib -lm `cat /oracle/app/11gR1/db/lib/sysliblist` -ldl -lm -L/oracle/app/11gR1/db/lib
gcc: /oracle/app/11gR1/db/rdbms/lib/ssbbded.o: No such file or directory
gcc: /oracle/app/11gR1/db/rdbms/lib/sbbdpt.o: No such file or directory
make: *** [/oracle/app/11gR1/db/rdbms/lib/bbed] Error 1


將提示缺少的2個文件ssbbded.o,sbbdpt.o從10G數據庫中拷貝到$ORACLE_HOME/rdbms/lib
[oracle@TEST02 lib]$ make -f ins_rdbms.mk /oracle/app/11gR1/db/rdbms/lib/bbed

Linking BBED utility (bbed)
rm -f /oracle/app/11gR1/db/rdbms/lib/bbed
gcc -o /oracle/app/11gR1/db/rdbms/lib/bbed -L/oracle/app/11gR1/db/rdbms/lib/ -L/oracle/app/11gR1/db/lib/ -L/oracle/app/11gR1/db/lib/stubs/ /oracle/app/11gR1/db/lib/s0main.o /oracle/app/11gR1/db/rdbms/lib/ssbbded.o /oracle/app/11gR1/db/rdbms/lib/sbbdpt.o `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /oracle/app/11gR1/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/11gR1/db/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 /oracle/app/11gR1/db/lib/sysliblist` -Wl,-rpath,/oracle/app/11gR1/db/lib -lm `cat /oracle/app/11gR1/db/lib/sysliblist` -ldl -lm -L/oracle/app/11gR1/db/lib
[oracle@TEST02 lib]$ echo $?
0

[oracle@TEST02 lib]$ ./bbed
Message 112 not found; No message file for product=RDBMS, facility=BBED
BBED-00113: file not found

[oracle@TEST02 lib]$
從10G數據庫中將$ORACLE_HOME/mesg/bbedus.msb拷貝到11G的$ORACLE_HOME/mesg
[oracle@TEST02 lib]$ mv ./bbedus.msb ../mesg/
[oracle@TEST02 lib]$ ./bbed
Password:

BBED: Release 2.0.0.0.0 - Limited Production on Mon Dec 30 11:48:50 2013

Copyright (c) 1982, 2007, Oracle. All rights reserved.

************* !!! For Oracle Internal Use only !!! ***************
BBED>
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>

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved