操作系统版本为
引用
[oracle@zhoul oracle]$ uname -a
Linux zhoul 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
在Oracle 9.2.0.4升级至9.2.0.6时报如下错误:
引用
- Linking Oracle
rm -f /oracle/app/product/9.2/db_1/rdbms/lib/oracle
gcc -o /oracle/app/product/9.2/db_1/rdbms/lib/oracle -L/oracle/app/product/9.2/db_1/rdbms/lib/ -L/oracle/app/product/9.2/db_1/lib/ -L/oracle/app/product/9.2/db_1/lib/stubs/ -Wl,-E `test -f /oracle/app/product/9.2/db_1/rdbms/lib/skgaioi.o && echo /oracle/app/product/9.2/db_1/rdbms/lib/skgaioi.o` /oracle/app/product/9.2/db_1/rdbms/lib/opimai.o /oracle/app/product/9.2/db_1/rdbms/lib/ssoraed.o /oracle/app/product/9.2/db_1/rdbms/lib/ttcsoi.o /oracle/app/product/9.2/db_1/lib/nautab.o /oracle/app/product/9.2/db_1/lib/naeet.o /oracle/app/product/9.2/db_1/lib/naect.o /oracle/app/product/9.2/db_1/lib/naedhs.o /oracle/app/product/9.2/db_1/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /oracle/app/product/9.2/db_1/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /oracle/app/product/9.2/db_1/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /oracle/app/product/9.2/db_1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /oracle/app/product/9.2/db_1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /oracle/app/product/9.2/db_1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /oracle/app/product/9.2/db_1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /oracle/app/product/9.2/db_1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /oracle/app/product/9.2/db_1/lib/sysliblist` -Wl,-rpath,/oracle/app/product/9.2/db_1/lib:/lib:/usr/lib -lm `cat /oracle/app/product/9.2/db_1/lib/sysliblist` -ldl -lm `test -f /oracle/app/product/9.2/db_1/rdbms/lib/skgaioi.o && echo -laio`
/oracle/app/product/9.2/db_1/lib//libserver9.a(krd.o): In function `krda1fbuf':
krd.c:(.text+0xcc92): undefined reference to `skgmmap_ro'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kse.o): In function `ksepop':
kse.c:(.text+0x498): undefined reference to `kgeclrsta'
kse.c:(.text+0x4a3): undefined reference to `kgechksta'
kse.c:(.text+0x4b6): undefined reference to `kgesetsta'
kse.c:(.text+0x4c7): undefined reference to `kgeclrsta'
/oracle/app/product/9.2/db_1/lib//libserver9.a(ksm.o): In function `ksmdmp_tpga':
ksm.c:(.text+0x1858): undefined reference to `kghdmp_new'
ksm.c:(.text+0x187e): undefined reference to `kghdmp_new'
ksm.c:(.text+0x1898): undefined reference to `kghdmp_new'
/oracle/app/product/9.2/db_1/lib//libserver9.a(ksm.o): In function `ksm_dump_sga_heap':
ksm.c:(.text+0x4998): undefined reference to `kghdmp_new'
/oracle/app/product/9.2/db_1/lib//libserver9.a(ksm.o): In function `ksm_4031_dump':
ksm.c:(.text+0x4b9f): undefined reference to `kghdsdump'
ksm.c:(.text+0x4bdb): undefined reference to `kghdsdump'
ksm.c:(.text+0x5168): undefined reference to `kghdsdump'
/oracle/app/product/9.2/db_1/lib//libserver9.a(ksm.o): In function `ksmhdm':
ksm.c:(.text+0x8769): undefined reference to `kghdmp_new'
ksm.c:(.text+0x87ac): undefined reference to `kghdmp_new'
ksm.c:(.text+0x8809): undefined reference to `kghdmp_new'
ksm.c:(.text+0x884d): undefined reference to `kghdmp_new'
ksm.c:(.text+0x8888): undefined reference to `kghdmp_new'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qm.o): In function `qm_initDirs':
qm.c:(.text+0x1a40): undefined reference to `qmxSetData0'
qm.c:(.text+0x1ad1): undefined reference to `qmxSetData0'
qm.c:(.text+0x1b62): undefined reference to `qmxSetData0'
qm.c:(.text+0x1bf3): undefined reference to `qmxSetData0'
qm.c:(.text+0x1c7f): undefined reference to `qmxSetData0'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qm.o):qm.c:(.text+0x1d1f): more undefined references to `qmxSetData0' follow
/oracle/app/product/9.2/db_1/lib//libserver9.a(kcl.o): In function `kclpto':
kcl.c:(.text+0x17a7): undefined reference to `skgmmap_ro'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kcl.o): In function `kclbr':
kcl.c:(.text+0xa737): undefined reference to `skgmmap_ro'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kcl.o): In function `kclswrite':
kcl.c:(.text+0xaf6c): undefined reference to `skgmmap_ro'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kcl.o): In function `kcllwr':
kcl.c:(.text+0xb8f9): undefined reference to `skgmmap_ro'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kcl.o): In function `kclsplit':
kcl.c:(.text+0x157ee): undefined reference to `skgmmap_ro'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kcl.o):kcl.c:(.text+0x16156): more undefined references to `skgmmap_ro' follow
/oracle/app/product/9.2/db_1/lib//libserver9.a(kks.o): In function `kkslod':
kks.c:(.text+0x1777): undefined reference to `kglatclr'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kokc.o): In function `kokcsodl':
kokc.c:(.text+0xd47): undefined reference to `kocdsfr'
/oracle/app/product/9.2/db_1/lib//libserver9.a(koka.o): In function `kokaclc':
koka.c:(.text+0x6330): undefined reference to `kgiCloseCursors'
/oracle/app/product/9.2/db_1/lib//libserver9.a(opifcs.o): In function `opifcs':
opifcs.c:(.text+0x57): undefined reference to `kgi_mark_csc'
opifcs.c:(.text+0xf5): undefined reference to `kgi_clear_csc'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kkxm.o): In function `kkxmindl':
kkxm.c:(.text+0x259): undefined reference to `kgmindl'
/oracle/app/product/9.2/db_1/lib//libserver9.a(psdicd.o): In function `psdres1':
psdicd.c:(.text+0x34c4): undefined reference to `kglgbo92'
/oracle/app/product/9.2/db_1/lib//libserver9.a(kaf9ir2.o): In function `kafger9ir2_srp':
kaf9ir2.c:(.text+0x28c): undefined reference to `kdr9ir2_pop'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qmts.o): In function `qmtsSetBoolean':
qmts.c:(.text+0x5bd0): undefined reference to `qmxSetData0'
qmts.c:(.text+0x5bee): undefined reference to `qmxSetData0'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qmts.o): In function `qmtsSetNumber':
qmts.c:(.text+0x5cc7): undefined reference to `qmxSetData0'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qmts.o): In function `qmtsSetNumber2':
qmts.c:(.text+0x5d8d): undefined reference to `qmxSetData0'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qmts.o): In function `qmtsSetVarchar':
qmts.c:(.text+0x5e3f): undefined reference to `qmxSetData0'
/oracle/app/product/9.2/db_1/lib//libserver9.a(qmts.o):qmts.c:(.text+0x5ed5): more undefined references to `qmxSetData0' follow
collect2: ld returned 1 exit status
make: *** [/oracle/app/product/9.2/db_1/rdbms/lib/oracle] Error 1
End output from spawned process.
----------------------------------
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ioracle' of makefile '/oracle/app/product/9.2/db_1/rdbms/lib/ins_rdbms.mk'. See '/oracle/app/oraInventory/logs/installActions2010-10-18_12-15-10PM.log' for details.
Exception Severity: 1
Calling Action unixActions10.1.0.3.0 make
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = /oracle/app/product/9.2/db_1/network/lib/ins_net_client.mk
installTarget = client_sharedlib
undoMakeFileName =
installArguments = ORACLE_HOME=/oracle/app/product/9.2/db_1,
logFile = /oracle/app/product/9.2/db_1/install/make.log
undoTarget =
progMsg = Building client shared libraries
The output of this make operation is also available at: '/oracle/app/product/9.2/db_1/install/make.log'
但升级至9.2.0.8没有任何问题,估计是Oracle patch一bug,在9.2.0.8上解决了。