Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ssdbaed.o not found in Oracle9i

Re: ssdbaed.o not found in Oracle9i

From: Vance Wu <vwu_at_anacomp.com>
Date: 12 Feb 2004 00:33:32 -0800
Message-ID: <c3d4638a.0402120033.28ee60f2@posting.google.com>


Mark.Powell_at_eds.com (Mark D Powell) wrote in message news:<2687bb95.0402111748.6a0544a3_at_posting.google.com>...
> vwu_at_anacomp.com (Vance Wu) wrote in message news:<c3d4638a.0402111144.2dee5b49_at_posting.google.com>...
> > Mark.Powell_at_eds.com (Mark D Powell) wrote in message news:<2687bb95.0402110558.3866c9a_at_posting.google.com>...
> > > vwu_at_anacomp.com (Vance Wu) wrote in message news:<c3d4638a.0402101207.1a1365ae_at_posting.google.com>...
> > > > Mark.Powell_at_eds.com (Mark D Powell) wrote in message news:<2687bb95.0402100614.1abe410b_at_posting.google.com>...
> > > > > Daniel Morgan <damorgan_at_x.washington.edu> wrote in message news:<1076393070.707414_at_yasure>...
> > > > > > Vance Wu wrote:
> > > > > >
>
> > > >
> > > > Hi Mark,
> > > >
> > > > -lepc -lncr -lsqlnet -lcv6 '
> > > > else
> > > > # oracle 8.1.7 - static
> > > > export ORACLELINK='$(ORACLE_HOME)/rdbms/lib/ssdbaed.o
> > > > $(ORACLE_HOME)/rdbms/lib/kpudfo.o $(ORACLE_HOME)/lib/nautab.o
> > > > $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o
> > > > $(ORACLE_HOME)/lib/naedhs.o -lnbeq8 -lnhost8 -lnus8 -lnldap8
> > > > -lldapclnt8 -lnsslb8 -lclntsh -lnoname8 -lntcp8 -lntcps8 -lnsslb8
> > > > -lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8
> > > > -lldapclnt8 -lnsslb8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8
> > > > -lntns8 -ln8 -lnl8 -lclient8 -lvsn8 -lcommon8 -lskgxp8 -lgeneric8 -lmm
> > > > -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lnbeq8 -lnhost8 -lnus8 -lnldap8
> > > > -lldapclnt8 -lnsslb8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8
> > > > -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8
> > > > -lnsslb8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8
> > > > -lnl8 -lclient8 -lvsn8 -lcommon8 -lskgxp8 -lgeneric8 -ltrace8 -lnls8
> > > > -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lcommon8 -lskgxp8
> > > > -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lld -lm /lib/crt0_r.o
> > > > -lc_r -lpthreads -lodm -lm -lsvld -lbsd_r -lld -lm
> > > > -bI:$(ORACLE_HOME)/lib/pw-syscall.exp -bI:$(ORACLE_HOME)/lib/ksms.imp
> > > > -lpthreads '
> > > > fi
> > > >
> > > >
> > > > Thanks.
> > >
> > > The code above is for a version 8.1.7 db. Did you rewrite your
> > > compile and link (make file) for version 9?
> > >
> > > Also, there is no need for you to explicitly use the Oracle ".o"
> > > files. These files are brought in by the Oracle compile script where
> > > necessary on your behalf when you run the pro*c, OCI, or Forms
> > > compiles.
> > >
> > > HTH -- Mark d Powell --
> >
> > Mark,
> >
> > Thanks for your help, the code is originally for version 8.1.5, I did
> > modify the make file to replace few obsolete libraries and compile
> > successfully in 8.1.7, I understand I need to modify for 9i such as
> > change all -l*8 to -l*9, but my first failure encountered is file
> > ssdbaed.o does not exist in 9i, my immediate problem is to find a
> > replacement for 9i, first I need to understand what this module is. I
> > browsed all Oracle8i documentations including programmer/developer
> > guides, release notes, also demo make file under
> > $ORACLE_HOME/rdbms/demo, and found nothing explains what information
> > this module might contain as well as other module located in
> > $ORACLE_HOME/rdbms/lib/*.o
> >
> > Do you know which Oracle documentation might contain information
> > relates to files in $ORACLE_HOME/rdbms/lib/*.o.
> >
> > Thanks in advanced,
> > Vance
>
> Vance, your posted code for 8.1.7 reference the missing module by name
> so since it does not exist in 9.2 your are going to get an error. We
> do not reference any Oracle object module by name in our compile/link
> script as we use the Oracle provided proc and provide a ton of local
> stuff to it. Oracle will link in the required .o files based on the
> features in use in the programs.
>
> I think Sybrand is correct, you need to get help from support. But
> based on past experience they are going to reference their sample file
> that is used to compile the demo programs. If that works it is your
> problem.
>
> HTH -- Mark D Powell --

Hi Sybrand and Mark,

Thanks to your enthusiastic help on this issue, I did follow Sybrand's suggestion to run dump and nm commands on the original 8.1.7 ssdbaed.o object file as follow:

oracle/LCRS6000 [/opt/oracle/product/8.1.7/rdbms/lib]> dump -acdgHhlnopRrsTtuv ssdbaed.o

ssdbaed.o:

         4      0x00000174             17                28     0x0000
Flags=( )
Timestamp = "Aug 25 02:35:04 2000"
Magic = 0x1df (32-bit XCOFF)
                        ***Optional Header***
0x00000000  0x00000010  0x00000000  0x00000000  0x00000000
                         Section Header for .text
0x00000000 0x00000000 0x00000000 0x00000148 0x00000000

0x00000000 0x0000 0x0000 0x00000020

                         Section Header for .data
0x00000000 0x00000000 0x00000010 0x00000148 0x00000160

0x00000000 0x0002 0x0000 0x00000040

                         Section Header for .bss
0x00000010 0x00000010 0x00000000 0x00000000 0x00000000

0x00000000 0x0000 0x0000 0x00000080

                         Section Header for .info
0x00000000 0x00000000 0x00000008 0x00000158 0x00000000

0x00000000 0x0000 0x0000 0x00000200

.data:
    0: 00000008 00000008 73716C64 62610000
.info:
    0: 00000000 00000000
.data:
        0x00000000  0x0000000c     0      0  0x001f   Pos_Rel  **No
Symbol**
        0x00000004  0x0000000c     0      0  0x001f   Pos_Rel  **No
Symbol**
[0]     m   0x00000000     debug     3    FILE          C:COM    
.file
[1]     a0                                                       
ssdbaed.c
[2]     a0                                                        Fri
Aug 25 02:35:04 2000
[3]     a0                                                        C
for AIX Compiler Version 5.0.1.0 ---
[4]     m   0x00000000     .text     1  static                   
.text
[5]     a5  0x00000000     0x0000     0x0000
[6]     m   0x00000000     .data     1  static                   
.data
[7]     a5  0x00000010     0x0002     0x0000
[8]     m   0x00000010      .bss     1  static                    .bss
[9]     a5  0x00000000     0x0000     0x0000
[10]    m   0x00000000     .data     1  unamex                    **No
Symbol**
[11]    a4  0x00000004       0    0     SD       TC    0    0
[12]    m   0x00000008     .data     1  unamex                    **No
Symbol**
[13]    a4  0x00000007       0    0     SD       RO    0    0
[14]    m   0x00000008     .info     0    info                    fdpr
[15]    m   0x00000004     .data     1  extern                   
sslpmexedesc
[16]    a4  0x00000004       0    0     SD       TD    0    0
             4   Fri Aug 25 02:35:04 2000
            30   C for AIX Compiler Version 5.0.1.0 ---
            70   sslpmexedesc

Loader section is not available
oracle/LCRS6000 [/opt/oracle/product/8.1.7/rdbms/lib]> nm -ACfhprTv

ssdbaed.o
ssdbaed.o: ssdbaed.c            f          -
ssdbaed.o: .text                t          0
ssdbaed.o: .data                d          0
ssdbaed.o: .bss                 b         16
ssdbaed.o: **_no_name_**        d          0       4
ssdbaed.o: **_no_name_**        d          8       7
ssdbaed.o: fdpr                 -          8
ssdbaed.o: sslpmexedesc         D          4       4
oracle/LCRS6000 [/opt/oracle/product/8.1.7/rdbms/lib]>

It doesn't provide symbol table for the routines, and based on the above information I still do not know what this object module use for.

Because we currently do not have Oracle support, my next step is to find an Oracle reference book (not an Oracle manual) that includes information of how to link Oracle shared objects to my application perhaps an Oracle7 book due to this module is carried over since Oracle7 (does anybody know any book?). Or the last option is to pay for the Oracle support.

Thanks again,
Vance Received on Thu Feb 12 2004 - 02:33:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US